Commit Graph

733 Commits

Author SHA1 Message Date
ryanhamshire 95bfa6e472 Silence relog messages.
Prevents a player from logging out and then immediately back in from
adding low value messages to chat.
2016-07-01 15:58:46 -07:00
ryanhamshire a97d5c191a Improve death message spam blocker.
Can't mitigate by logging out and back in.  Made blockage less obvious
to spammer.  Increased default cooldown to two minutes.
2016-07-01 15:58:46 -07:00
ryanhamshire c9f8f73b5b Fix: Fire arrows ignite protected entities.
A change to the Bukkit API broke this.
2016-07-01 15:58:46 -07:00
Ryan Hamshire 2e3e9d66fd Merge pull request #49 from RoboMWM/patch-14
Allow /separate and /unseparate to be used via the server console.
2016-06-30 13:18:03 -07:00
ryanhamshire 32f382cd7a Updated /restorenature for 1.10
Added new block types.
2016-06-16 11:13:54 -07:00
ryanhamshire 38d7937e9d Fixed players with notignorable missing chat.
Players who ignored "notignorable" players were chatting invisibly to
those notignorable players.
2016-06-16 11:12:41 -07:00
ryanhamshire 0e6d7bf11f Fixed /trapped overriding in the nether.
Now other plugins can override the destination even in nether worlds.
2016-06-16 11:11:47 -07:00
ryanhamshire c7327d4982 Permissions for claim block accrual.
Added nodes for higher limits on accrued blocks and faster accrual.
2016-06-16 11:09:24 -07:00
ryanhamshire ee857f3a83 Fix partial nature restorations.
Were occurring in select situations.
2016-06-15 08:52:17 -07:00
RoboMWM 1009d5cee4 allow /separate and /unseparate to be used in console 2016-06-09 18:09:31 -07:00
ryanhamshire ba8b4d8293 Added /AdjustBonusClaimBlocksAll
Adjusts bonus claim blocks for all online players.
2016-06-04 14:03:33 -07:00
ryanhamshire c52f0b4da2 GPFlags: Allow pets be damaged in AllowPvP zones. 2016-06-03 21:27:47 -07:00
ryanhamshire faccc26572 Perf: Check for creative world mode. 2016-06-03 21:03:53 -07:00
ryanhamshire cfe61ef945 Piston handling tweaks.
1) Performance for pistons outside of land claims when they're allowed
to move blocks.  2) When not allowed to move blocks, now allowing
pistons outside land claims to retract when they can't pulling a block.
3) When allowed to move blocks, auto-break sticky pistons for sake of
perf just like I've been doing for non-sticky pistons for a long time.
2016-06-03 20:56:28 -07:00
ryanhamshire 943dde60a3 Made beetroot farmable with /ContainerTrust. 2016-06-03 20:35:27 -07:00
ryanhamshire d08a51e53a Fixed: Pulling animals / armor stands with rods. 2016-06-03 20:22:48 -07:00
Ryan Hamshire 2509693bc5 Merge pull request #43 from RoboMWM/patch-8
Make loadBannedWords public
2016-05-11 11:02:20 -07:00
Ryan Hamshire af37181bbe Merge pull request #45 from RoboMWM/patch-10
Make IgnoreMode enum public
2016-05-11 11:00:21 -07:00
Ryan Hamshire ab0ae8f793 Merge pull request #47 from RoboMWM/patch-12
Change portal trap check to 30 seconds
2016-05-11 11:00:05 -07:00
Ryan Hamshire 4202290cf2 Merge pull request #48 from RoboMWM/patch-13
Log auto-muted chat messages
2016-05-11 10:59:42 -07:00
Ryan Hamshire 47fd2d951a Merge pull request #42 from tim-savage/fences
Update Visualization.java with 1.8 fence materials
2016-05-11 10:58:38 -07:00
RoboMWM 126cb366f1 Clarify message that auto-muted the player 2016-05-09 11:10:03 -07:00
RoboMWM 42c8119953 Log auto-muted chat messages 2016-05-09 10:57:58 -07:00
RoboMWM 40dec36cd5 Change portal trap check to 30 seconds
Player's connections would time out if they still haven't loaded everything in 30 seconds.
2016-05-06 12:08:00 -07:00
ryanhamshire 47470964ec Update trapped in portal threshold.
Wait longer before deciding the player is trapped, since some players
stand still and wait longer while chunks load around them. (10 seconds
-> 60 seconds)
2016-05-05 10:04:04 -07:00
ryanhamshire d46a2b1f6c Save players trapped in portals who log out.
If they log out while trapped but before the auto-rescue task runs, this
will save them when they log back in as long as the plugin hasn't
rebooted since they left.
2016-05-05 10:02:48 -07:00
ryanhamshire 305978810d Add /DeleteAllUSERClaimsInWorld. 2016-05-05 09:02:27 -07:00
ryanhamshire 3e245897a6 GP tools only work in the main hand.
Makes quick swapping more helpful, especially when you have the
investigation tool in one hand and the modification tool in the other.
2016-05-05 08:55:39 -07:00
ryanhamshire fe2446b757 Update siege spoils feature.
Previously transferred all items from defender to attacker if the
defender was killed.  Will now transfer only those which would have been
dropped (other plugins can remove from and otherwise change the drop
list before GP does anything with it).
2016-05-05 08:39:20 -07:00
ryanhamshire 4d9175e9a9 Reworked previous "workaround for craftbukkit bug".
Now with better understanding of root cause.
2016-05-05 08:24:21 -07:00
ryanhamshire 1ec0d3944b Don't expire land claims while owner is online. 2016-05-04 16:46:48 -07:00
ryanhamshire fa94db82bc Workaround for CraftBukkit bug.
Getting ArrayIndexOutOfBoundsException from one of the API methods.
2016-04-27 20:11:42 -07:00
ryanhamshire 32e003b0ae Fixed boat spam.
Old code didn't cover new boat types.
2016-04-25 20:22:35 -07:00
ryanhamshire 7db69b491d Fixed: Shulkers protected in land claims. 2016-04-25 19:20:09 -07:00
ryanhamshire c1e326e623 Drop unused code. 2016-04-25 16:58:58 -07:00
ryanhamshire b2de66d030 Require build permission to place a boat.
Avoids boat spam, especially in public areas where /accesstrust is often
granted to everyone.
2016-04-25 16:57:52 -07:00
ryanhamshire 5258416db4 Dropped access trust requirement for boats.
Easily replaced if 'stolen', and might actually belong to a player who
drove the boat into the land claim.  Allow well meaning visitors to take
their boats with them when they go rather than leave boat litter behind.
2016-04-25 16:56:15 -07:00
RoboMWM 5779a7b223 Make IgnoreMode enum public 2016-04-23 20:59:51 -07:00
ryanhamshire f935806b45 Use Minecraft 'last played' for claim expirations.
This is a logout timestamp instead of a login timestamp, which is what
GP records.
2016-04-15 21:16:33 -07:00
ryanhamshire faee4efbef Fix-up for "broken" abandoned pets. 2016-04-15 21:08:36 -07:00
ryanhamshire 9285e475a7 Chest claims require createclaims permission. 2016-04-15 20:45:30 -07:00
ryanhamshire ce16324209 Better point+click in snowy areas. 2016-04-15 20:22:59 -07:00
ryanhamshire 374f5c8117 RestoreNature: New block types. 2016-04-15 20:19:30 -07:00
ryanhamshire 26484e71e7 Fire protection is back.
Found a way to make it cheaper - we'll see how the new cost looks on
production servers.
2016-04-13 21:05:19 -07:00
ryanhamshire 9e8376a6a6 Fixed claims blocking build/break in worlds where claims are disabled.
This may also improve performance for the block place/break events.  If
the world claims disable is permanent, server owners can use the new
/DeleteClaimsInWorld command to conveniently delete all of them.
2016-04-13 20:17:16 -07:00
ryanhamshire 62b3c9098c Players with build permission can trample crops.
Previously, no crop trampling - now it's possible if the player has
build permission.  Non-players (animals/monsters) still can't trample
because it's possible they may be manipulated by griefers to do that.
2016-04-13 20:14:11 -07:00
ryanhamshire c92986bf5d More complete releasing of pets on claim delete.
Horses were keeping their owner info and inventories, even though they
were marked as "wild".  This somehow prevents them from being tamed by
another player, and also their inventories can't be accessed by anyone.
Will work on retroactively fixing the existing horses in this odd state
in another commit.
2016-04-13 20:12:21 -07:00
ryanhamshire 9ade7c9374 Fixed villagers dying to creepers. 2016-04-11 21:20:56 -07:00
ryanhamshire 6bf463bab1 Lingering potion PvP protections.
Protecting fresh respawns and players in pvp safe zones.
2016-04-09 20:39:33 -07:00
ryanhamshire 97f279cd6d Add /DeleteClaimsInWorld 2016-04-08 11:35:35 -07:00
ryanhamshire 3402efe5c7 Stop using deprecated getItemInHand() 2016-04-07 21:37:50 -07:00
ryanhamshire ce66ee80a3 Merge branch 'master' of https://github.com/ryanhamshire/GriefPrevention 2016-04-07 20:57:47 -07:00
ryanhamshire 3026b23a59 Fixed FrostWalker grief.
Freezing ice with this enchant now requires build trust.
2016-04-07 20:57:20 -07:00
RoboMWM e12a2e0179 Don't give chorus fruit if teleport was canceled
https://www.spigotmc.org/threads/griefprevention.35615/page-115#post-1452430
2016-04-03 10:41:42 -07:00
RoboMWM 86bd02b348 Make loadBannedWords public 2016-04-03 10:19:32 -07:00
ryanhamshire f70e599783 Added debug log entries for claim expiration.
If enabled, will log each time it checks a player and if that player is
exempt, will note that as well.
2016-03-30 20:29:43 -07:00
ryanhamshire a6b7e97b41 Config Option: Auto-Mute Obvious Chat Trolls
More convenient disable solution than clearing the banned words list,
which is in a separate file.
2016-03-30 20:24:30 -07:00
ryanhamshire 23bf1eda28 Fixed /claim creating tiny claims.
...when chest claim radius = -1.
2016-03-30 20:19:46 -07:00
ryanhamshire b86b5accf5 Fixed claim limit bypassing.
/Claim wasn't respecting the limit specified in config.
2016-03-30 20:13:52 -07:00
ryanhamshire 5ff8558aa2 Fixed nullref exception during claim cleanup.
Probably related to the new skeletal horses.
2016-03-30 20:07:38 -07:00
Tim Savage ed9e8ab068 Update Visualization.java
added 1.8 fence materials to isTransparent method
2016-03-25 05:31:38 -05:00
ryanhamshire d0cd46704c Added chorus fruit limitations.
Requires /accesstrust or higher permission at the teleport destination.
2016-03-21 19:42:11 -07:00
ryanhamshire b51a4cbf8a Fixed lingering potion of harm grief.
Doesn't damage protected entities (like claimed animals).
2016-03-20 19:51:33 -07:00
ryanhamshire 3e260ac21e Protected ender crystals.
In land claims, damaging one requires build trust.
2016-03-20 13:54:56 -07:00
ryanhamshire 110f4e2009 Fixed ender crystals damaging protected animals. 2016-03-20 13:51:19 -07:00
ryanhamshire 03a802365c Bug fix. 2016-03-20 13:50:49 -07:00
ryanhamshire ba327c8906 Fixed golden shovel creating grass paths.
New problem in 1.9.  Fix: GP's claim modification tool now exclusively
works with GP and doesn't have any other functionality (Vanilla or other
plugins, unless other plugins subscribe to cancelled player interact
events).
2016-03-15 16:24:38 -07:00
ryanhamshire b83fc4a80c Fixed right-click annoyance with golden shovel.
Root cause - dual wielding is a thing now, since 1.9 release.  GP will
ignore your off hand item in all cases.
2016-03-15 16:19:22 -07:00
ryanhamshire 48fd319ff7 Fixed /RestoreNature having no effect in 1.9.
The Spigot team broke this.
2016-03-15 16:18:23 -07:00
ryanhamshire 133582b9b6 Fixed some claims not being completely deleted. 2016-03-15 16:17:51 -07:00
ryanhamshire 32cc947fe4 API: Claim expiration event.
Cancellable, with GPFlags in mind.
2016-02-02 13:34:54 -08:00
ryanhamshire 260db50cc3 API - GPFlags Support
Updated the API to support two new GriefPreventionFlags flags.
2016-01-31 09:02:46 -08:00
ryanhamshire 5867bbd3be Fix: Dispenser-related log spam. 2016-01-31 09:02:45 -08:00
RoboMWM cd0a9a9696 Limit hopper minecart placement 2016-01-29 21:54:15 -08:00
Ryan Hamshire c2f2707a79 Merge pull request #38 from RoboMWM/patch-6
Make anti-death-message spam also silence death messages from other plugins
2016-01-29 11:50:10 -08:00
ryanhamshire ac68b95301 Protected death loot doesn't take damage.
Previously, griefers could destroy it with fire or lava for example.
2016-01-28 10:19:36 -08:00
ryanhamshire 096c85ba9e Perf: Claims Search
Big thanks to KaiKikuchi for suggesting this.
2016-01-28 09:28:48 -08:00
ryanhamshire d8caa7f09c Admin-initiated soft mutes to GP logs.
Were previously not included in "admin activity" category of abridged
logs.
2016-01-28 09:27:15 -08:00
RoboMWM 00bfad3b6b Make anti-death-message spam also silence death messages from other plugins
Via changing priority of the onPlayerDeath listener from lowest to highest.
2016-01-21 16:12:47 -08:00
ryanhamshire 832bd0a2d8 Made messages.java more readable. 2016-01-20 16:25:42 -08:00
ryanhamshire 289b832b9a Ignored lots of compiler warnings.
Mostly these are deprecations from the Spigot team which I believe
shouldn't be deprecated.  For example, players refer to each other by
name, not UUID - so there will always be a need for player lookup by
name.  Also the block IDs are a well-documented standard that everyone
understands, even if they're not very human-friendly.  Plugins use those
IDs and data values to specify block types for example in config files.
As for the rest of the ignores, I either decided the warnings are just
noise based on the situation, or that I'm comfortable with the risks.
Possibly for the first time in 5 years of dev work on this plugin, I
just compiled without any warnings.  :)
2016-01-20 16:25:42 -08:00
ryanhamshire 079d3c143a Limit active block types in creative mode worlds.
Some blocks use CPU cycles whenever their chunks are loaded, which is a
griefing opportunity in creative mode worlds.  Similar to entity limits,
this limits number of active blocks based on the total area of the land
claim.
2016-01-20 16:25:41 -08:00
ryanhamshire 44f46368b2 Revert "No projectiles in creative mode worlds."
This reverts commit 384599164d.
2016-01-20 11:31:31 -08:00
ryanhamshire 7c447f64ca Revert "Reduced projectile ban to splash potions."
This reverts commit 74ab5aa515.
2016-01-20 11:31:25 -08:00
ryanhamshire 74239ba15f Revert "Revert "Reduced projectile ban to splash potions.""
This reverts commit 5e3aa30e21.
2016-01-20 11:30:58 -08:00
ryanhamshire 5e3aa30e21 Revert "Reduced projectile ban to splash potions."
This reverts commit 74ab5aa515.
2016-01-20 11:30:43 -08:00
ryanhamshire 74ab5aa515 Reduced projectile ban to splash potions.
Referring to previous commit.
2016-01-20 11:16:57 -08:00
ryanhamshire 384599164d No projectiles in creative mode worlds.
Prevents some grief strats which result in crippling server lag or
crashes.
2016-01-20 11:10:55 -08:00
ryanhamshire d5bc0e45ec More aggressive silencing join/quit messages.
To 5 per minute from 20.
2016-01-15 15:21:16 -08:00
ryanhamshire fa68ba9ee8 Reworked inactive claim expiration.
Cost to check a claim for inactivity greatly reduced.  Increased
frequency of checks to make inactive claims disappear closer to their
expiration times.  Enabled claim expiration for all servers (can be
disabled), added configurable exclusions with generous defaults for
players who've been playing on the server a long time and/or have
somehow earned a significant amount of bonus claim blocks.
2016-01-15 10:06:34 -08:00
ryanhamshire bed934ce09 Fixed automatic help from chat questions.
Was changing dollar sign in regex to formatting code point.  That
conversion should not apply to regex strings.
2016-01-14 10:25:41 -08:00
ryanhamshire 884106300e Apply profanity filter to chat slash commands.
And whispers.  Doesn't soft mute player or explain, just cancels the
command.  If player is brazen and goes to standard chat, then he'll get
muted there.
2016-01-14 10:22:27 -08:00
ryanhamshire 69c1a2ffd3 Limit TNT minecart placement. 2016-01-14 10:16:42 -08:00
ryanhamshire 89419ebade 13.5.2 Changes
Various, see changelogs on dev.bukkit.org or spigotmc.org.
2016-01-11 20:13:13 -08:00
ryanhamshire bdfdf8cc0a /Claim radius parameter requires golden shovel. 2015-12-23 09:25:01 -08:00
ryanhamshire 8a5797f63e /Claim command updates.
Optional radius parameter.  Does not require golden shovel unless player
has exactly one land claim and is in survival mode.  Even the first use
of /claim now requires the player to have enough available claim blocks
to claim the area.
2015-12-23 08:36:56 -08:00
ryanhamshire a683a7225d Fixed automatic chest claim sizes.
A bug here resulted in claims which were bigger than the player had
blocks available, and also errors in the server log.
2015-12-23 08:19:06 -08:00
ryanhamshire e8618c6a40 Improved logging for claim loading issues.
Specifically exceptions with NULL messages.
2015-12-23 07:56:14 -08:00
ryanhamshire e29d66735a Fixed prevent fire near players in PvP worlds.
Config option to do this wasn't working.
2015-12-20 20:53:05 -08:00
ryanhamshire 2f17383890 Fix for rare NPE on player interact. 2015-12-20 20:44:13 -08:00
ryanhamshire 32d65b5f58 Better experience around entity limits.
Armor stands weren't handled well - if a player directed an armor stand,
he may come back later to find some other items like paintings for
example missing.  Now if at the limit, no placing new armor stands or
interact with (putting items on) existing stands.
2015-12-20 20:30:00 -08:00
ryanhamshire 3ca069e3bd Added /Claim and /ExtendClaim 2015-12-17 21:09:08 -08:00
ryanhamshire 6db3e11ab1 Ban management plugin interoperability.
Added config options to use ban commands instead of directly adding to
the server's ban list.
2015-12-16 15:07:30 -08:00
ryanhamshire 709bb55e98 Release pets on claim delete.
Except for owner-initiated deletes (/AbandonClaim).
2015-12-16 14:44:34 -08:00
ryanhamshire da920488b7 Golden shovel equip visualizes current claim.
If standing in a claim you can edit when  you get your shovel out, it
will be visualized for you automatically.
2015-12-16 14:33:56 -08:00
ryanhamshire fbd856cc64 Eavesdrop Immunity Permission 2015-12-16 14:27:06 -08:00
ryanhamshire 320f692c20 /RestoreNature block types for 1.8 2015-12-16 14:17:38 -08:00
ryanhamshire 745c4a2129 Allow players to send whispers to ignored admins.
Because those admins aren't ignorable, the mutual ignore principle
shouldn't apply.
2015-12-15 20:21:58 -08:00
ryanhamshire 5d5584241b Easier claim management on water.
If in water, shovel and stick ignore water.  Otherwise they treat water
is a solid block.  Should make creating claims on water and resizing
claims when the corner to be moved is beneath water much easier.
2015-12-15 20:07:08 -08:00
ryanhamshire f62a412932 Improved whisper ignore messaging.
Explains to whisperer why the whisper failed.
2015-12-15 14:34:50 -08:00
ryanhamshire 543de27307 Whispers from admins can't be ignored. 2015-12-15 14:30:28 -08:00
ryanhamshire bd75c53cda Ensure survival players can get their carts back.
Can only place if player has permission necessary to remove the cart.
Also fixes "griefing" railways by adding too many carts and forcing the
rail owner to come remove the extras.
2015-12-15 14:26:30 -08:00
ryanhamshire 5478adae71 Reveal player UUID when name lookup fails. 2015-12-15 14:01:46 -08:00
ryanhamshire 78fbe3a389 Config option for claim book delivery timing. 2015-12-15 13:57:08 -08:00
ryanhamshire 38362a3547 Fixed shift-click-stick returning too many claims.
Was returning claims from all worlds near player's coords, not just the
world the player is in.
2015-12-15 13:48:21 -08:00
ryanhamshire 285d5c655a Improved logging for claim load failures.
Now includes identifying information to help server owner fix the
problem.
2015-12-15 13:43:38 -08:00
ryanhamshire 41401abfaf Fixed blank lines in banned words file issues.
Blank lines resulted in lots of chat being muted which shouldn't have
been.
2015-12-15 13:38:33 -08:00
ryanhamshire 3611c09e7d More boot fixes. 2015-12-10 14:41:55 -08:00
ryanhamshire 627049ba8a Disable claim creation in worlds not in config.
Not defined in the config indicates the world wasn't loaded at GP boot,
which will cause a claim loading problem on next boot.  Better to block
their creation than to have players get griefed because the claim
experiences a loading problem later.
2015-12-10 14:08:18 -08:00
ryanhamshire ddcb7b25c9 Removed auto-delete of claims in unknown worlds.
Was problematic because some plugins load worlds AFTER GriefPrevention
finishes loading.
2015-12-10 14:02:46 -08:00
ryanhamshire 2f816c1a9b Fixed subdivision loss during upgrade. 2015-12-10 13:52:45 -08:00
ryanhamshire 4e7da93eac Manual delivery delayed to 2 minutes.
From 10 seconds.
2015-12-04 10:20:40 -08:00
ryanhamshire 280db0e352 Config option to protect pets in PvP.
Was previously always not protecting pets in PvP worlds.  That is still
the default, but added an option to protect them (except wolves which
can attack players) in those worlds.
2015-12-03 17:48:44 -08:00
ryanhamshire bf9f18e11c Added instructions to messages.yml. 2015-12-03 17:23:42 -08:00
ryanhamshire f9365e6f81 Added formatting code support to messages.yml.
Using the dollar sign ($).
2015-12-03 17:18:50 -08:00
ryanhamshire 0208bde89d Fixed too-aggressive IP address re-use limiter. 2015-12-03 17:02:45 -08:00
ryanhamshire 37851aacbf Softmute limits chat commands and whispers.
No more chat commands for soft-muted players.  And they may send
whispers only to other soft-muted players.
2015-11-24 10:54:44 -08:00
RoboMWM be6b9d80cf API: CustomLogEntryTypes
All 3 AddLogEntry methods are public but 2 of them require this.
2015-11-11 03:11:49 -08:00
ryanhamshire cf811cee86 Smarter slash command lists.
Whisper and chat slash command lists now auto-fill themselves with all
possible aliases.  So if you put /tell in your whisper commands list, GP
will be smart enough to also add /minecraft:tell (and similarly for
plugins, including all aliases registered via plugin.yml for those
commands by those plugins).
2015-10-28 20:13:33 -07:00
ryanhamshire e98a123380 Added help text to config file. 2015-10-26 13:44:28 -07:00
ryanhamshire e60bcba4f9 Made monitoring soft-muted messages easier.
Optionally in the GP logs and always in the server logs.
2015-10-21 13:10:36 -07:00
ryanhamshire e767551188 Public API to get claims by chunk. 2015-10-21 13:09:14 -07:00
ryanhamshire e52627f08d Added an option to prevent rabbits eating crops. 2015-10-21 12:58:21 -07:00
ryanhamshire 6ac2ba17a1 API: Made shovel mode enum public. 2015-10-13 14:08:43 -07:00
ryanhamshire a56095e280 Added a permission node around player inactivity.
Using the stick, any player with this permission can see how long a
claim's owner has been offline.
2015-10-12 16:25:48 -07:00
ryanhamshire 58eedef773 Allowed ignoring offline players. 2015-10-12 16:15:59 -07:00
ryanhamshire a3a916f7d0 Added PvP rules options for lava and flint/steel. 2015-10-12 16:10:24 -07:00
ryanhamshire 875303faf7 Better new player detection for creative mode.
Should help MineChat users in creative mode.
2015-10-12 15:55:03 -07:00
ryanhamshire 77a4a30432 Fix: Free claim blocks exploit on economy int...
...integrated servers which allow players to sell claim blocks and also
have automatic new player claims enabled.
2015-10-12 15:18:33 -07:00
ryanhamshire 26cef61d7f Fixed empty banned words list muting all chat. 2015-10-03 20:25:56 -07:00
ryanhamshire bdbc35dc59 Fixed "ran out of room for claim permissions"...
...errors from SQL.
2015-10-03 20:19:24 -07:00
ryanhamshire f45fdb70d3 Reliability/scale improvements for database mode. 2015-10-03 19:58:30 -07:00
ryanhamshire 9648c18571 12.7.1 - Admins are not ignorable. 2015-10-03 14:15:02 -07:00
ryanhamshire a77572a017 Now vertically auto-extending claims on creation.
Should effectively protect basements and other underground bits of
surface-level structures from the moment of creation, provided the
underground bits connect to the above ground bits via player block types
(those which don't abundantly generate in the world).
2015-09-21 20:23:57 -07:00
ryanhamshire 864e6ad672 Fixed boot issue with database mode. 2015-09-21 20:04:14 -07:00
ryanhamshire 1ba6f7bc9d Reliability boost for database mode. 2015-09-20 13:36:32 -07:00
ryanhamshire f5318e3b19 Added profanity/troll filter. 2015-09-17 19:14:36 -07:00
ryanhamshire e98a0532b6 More wilderness protections for creative mode.
Blocks don't form outside of claims, fluids don't flow outside of
claims.
2015-09-16 14:41:05 -07:00
ryanhamshire 287fe3e8dc Automatic water cleanup for deleted claims in...
Automatic water cleanup for deleted claims in creative mode worlds.  Was
previously lava only.
2015-09-14 20:12:36 -07:00
ryanhamshire 2182216499 Fixed invincible attack dogs.
Fix:  When vanilla PvP is on, but GP config says it's off in a world,
dogs are invincible even though they can attack players.
2015-09-14 20:06:49 -07:00
ryanhamshire 1d4ce2f9ee No more placing TNT in besieged land claims. 2015-09-14 20:02:40 -07:00
ryanhamshire 3214363aca Fixed siege attackers using /ClaimExplosions. 2015-09-14 20:01:59 -07:00
ryanhamshire 9c00a47a29 Unique IDs for claim subdivisions.
Also performance updates and switch to YAML file format for flat file
data stores.
2015-09-12 14:17:00 -07:00
ryanhamshire 455d422c1f Messaging update for siege mode. 2015-08-29 10:53:38 -07:00
ryanhamshire e688627304 Siege: TNT destroys soft blocks.
During a siege, TNT may destroy soft blocks regardless of surface
explosion rules.
2015-08-28 18:01:17 -07:00
ryanhamshire d6743f9040 Siege: TNT is now placeable and ignitable. 2015-08-28 17:55:04 -07:00
ryanhamshire 5f9d7041f4 Soft blocks now breakable during post-siege unlock.
After a defender loses a siege, during the doors unlocked period, soft
blocks now continue to be breakable.
2015-08-28 17:51:37 -07:00
ryanhamshire 8364e39953 Added /ClaimBook command. 2015-08-21 12:57:25 -07:00
ryanhamshire 9b9303dd6f Protected squids in land claims. 2015-08-21 12:48:08 -07:00
ryanhamshire 7faf3e52be Fixed intermittent exception saving player data. 2015-08-21 12:30:47 -07:00
ryanhamshire 2f2428ecd9 API: GriefPrevention.getOfflinePlayerByName public.
Accesses GP's cache of offline player data to make lookups by name very
fast.
2015-08-02 21:12:33 -07:00
ryanhamshire 5957a3d8fd API: Made player ignore lists public. 2015-08-02 21:11:00 -07:00
ryanhamshire fafb8a66e5 Reduced book delivery delay to 10 seconds. 2015-08-02 21:09:42 -07:00
ryanhamshire ce5e8488da Improved repeat message spam blocker. 2015-08-01 19:19:11 -07:00
ryanhamshire 2fbbfcb9e8 Allowing for more narrow land claims. 2015-08-01 19:18:36 -07:00
ryanhamshire 6dc3272815 Fixed eavesdropping.
Oops.  :)
2015-07-30 18:22:47 -07:00
ryanhamshire b95c34b6f2 Allowing other plugins to disable PvP protections.
Now plugins that want to can selectively disable GP's PvP protections.
2015-07-30 16:56:09 -07:00
ryanhamshire 1b0e88b0c1 Tweaked portal trap fix.
Doubled the delay from 5 to 10 seconds before concluding a player is
trapped in a nether portal and sending him back to his departure point.
2015-07-22 19:04:54 -07:00
ryanhamshire c62aa621b2 Added player land claiming manuals.
Unless disabled in the config, new players will get a book which tells
them which tools the server uses for land claims, lists common commands
for reference, and provides a hyperlink to more help.
2015-07-22 19:03:11 -07:00
ryanhamshire 797f46882b Fixed PvP rules worlds config setting.
Previously applied SOME pvp rules to non-pvp worlds.
2015-07-17 20:19:55 -07:00
ryanhamshire e5fa2e4eab API to determine whether a player is /softmuted. 2015-07-16 21:03:24 -07:00
ryanhamshire 2a7755d2a7 Don't eavesdrop when target can eavesdrop. 2015-07-16 21:00:53 -07:00
ryanhamshire fb33b28d5d Untrust fixes.
Managers can /untrust again.  Managers may not /untrust other managers,
or clear all a claim's permissions.  Also when clearing a claim's
permissions, that now includes managers.
2015-07-16 20:51:31 -07:00
ryanhamshire 21df6290df Chest-based claims for non-survival worlds.
Players may now create their first land claims in creative mode or
survival-requiring-claims mode worlds by placing chests.
2015-07-16 19:26:41 -07:00
ryanhamshire bb7c73b2f7 Reduced punishment for trying to send an IP address.
Now muting these messages without banning right away.
2015-07-16 19:16:00 -07:00
ryanhamshire 09bd3ca139 Support for zero commands requiring access trust.
Now the list of commands requiring access trust to execute in land
claims can be empty without any odd side-effects.
2015-07-16 19:10:37 -07:00
ryanhamshire 9cc4835383 No stick messages in non-claim worlds.
In "disabled" claims mode worlds, right clicking with the stick will not
display any message.
2015-07-16 19:03:37 -07:00
ryanhamshire f36e5f1435 Added notes for bans. 2015-07-14 18:13:33 -07:00
ryanhamshire a35ec99ddf Required build trust for redstone comparators.
Changing their configurations now requires build permission.
2015-07-09 18:39:41 -07:00
ryanhamshire b1b8d537c3 Fixed log errors when accrued per hour = 0. 2015-07-08 13:33:47 -07:00
ryanhamshire c1346c6488 Fixed farming trust in subdivisions.
Fixed /ContainerTrust allowing farming in subdivisions.
2015-06-29 20:59:58 -07:00
ryanhamshire 2b04da4b25 Fixed invincible guard dogs.
In PvP worlds, while in land claims, dogs could attack players but not
be damaged in return.  Now pet dogs are not protected in PvP-world land
claims.  Other types of pets are still protected as long as they're
inside a land claim where the attacker doesn't have sufficient
permission.
2015-06-27 09:34:34 -07:00
ryanhamshire bf9e7ceb85 Fixed "in pvp" status from staying after respawn.
Should be reset at respawn time to protect players from spawn camping.
2015-06-17 19:16:18 -07:00
ryanhamshire a3969c168c Added smarts for PvP rules in undeclared worlds.
For worlds which aren't listed in the config file because they weren't
detected when GP booted, GP will use Bukkit's world.getPvP() method.
2015-06-17 19:11:23 -07:00
ryanhamshire 4aa94fabb4 Fixed easy workaround for CAPS filter. 2015-06-12 19:12:03 -07:00
ryanhamshire 4a5d0ae3fa Claim files for non-existent worlds are deleted.
Previously were not being deleted due to a bug (input stream left open,
file not deletable).
2015-06-09 21:19:37 -07:00
ryanhamshire 1b650a59b2 Fixed: Claim managers can /untrust.
They shouldn't be able to do this.  Only an owner can /untrust, since
/untrust also revokes manager-level permissions.
2015-06-09 21:10:47 -07:00
ryanhamshire d9d2664570 Added /AdminClaimsList 2015-06-09 21:02:15 -07:00
ryanhamshire 573390277e Visualizations play better with signs.
Previously could cause clients to see blank signs until they refreshed
the sign block (on relog or right click).  Now signs won't be replaced
with visualization blocks.
2015-06-09 19:17:33 -07:00
ryanhamshire c5b57af151 Fixed a distance check.
Oops, can't measure distance when locations are in different worlds.
2015-06-09 19:12:08 -07:00
ryanhamshire 32e2a91f14 Access trust slash commands list update.
Now supports slash commands with specific parameters, like "/warp
create".
2015-05-30 13:16:19 -07:00
ryanhamshire 2f1084e35a Perf: Data storage. 2015-05-21 21:12:47 -07:00
ryanhamshire d1e29e7972 If in PvP combat, not protected from PvP by claims.
Also a bug fix for the /ignoreclaims override to bypass pvp immunity in
land claims.
2015-05-21 20:23:25 -07:00
ryanhamshire d425f6736a Fixed database migration breakage.
Having to do with the new *.ignore files.
2015-05-21 19:24:55 -07:00
ryanhamshire 6e821d44ee No claiming during PvP combat. 2015-05-18 16:03:28 -07:00
ryanhamshire b6df5378b3 Special eavesdrop mode specific to signs. 2015-05-18 15:48:45 -07:00
ryanhamshire 0615c17884 More customizable messages.
/Claimslist and /Trustlist
2015-05-18 15:17:07 -07:00
ryanhamshire 94500242f2 Inactive 90 days players are now targetable.
With slash commands like /acb and /deleteallclaims for example.
2015-05-16 19:34:08 -07:00
ryanhamshire 8f489cff16 Stopped trying to fill big holes in creative.
This means admins will have to do repair when players leave gaping holes
in the ground, but also means that having the wrong sea level set in
your config file will no longer create "random" islands in the sky.
Payoffs in better out of the box experience for custom worlds and fewer
instances of helping customers troubleshoot.
2015-05-16 19:32:26 -07:00
ryanhamshire 7f680d82a9 Restore nature tweaks for log blocks. 2015-05-16 19:28:47 -07:00
ryanhamshire b3cac816c6 Better logging for secondary storage problems. 2015-05-16 19:17:11 -07:00
ryanhamshire e23d8a956a Updated bypass rule for pvp in land claims.
Previously used undocumented permission, now determined by whether or
not the attacker is in /ignoreClaims mode.
2015-05-16 19:05:34 -07:00
ryanhamshire 14717bd4c7 Added /ignore and /separate.
Also companion commands like /unseparate, /unignore, and /ignorelist.
2015-05-16 13:00:55 -07:00
ryanhamshire 02dee1f21e Fixed NPE during login.
Not sure how a player could NOT have an IP address at this point?  But
logs from customers show it happens somehow.
2015-05-07 15:22:32 -07:00
ryanhamshire 70303e2ede Fix: Sign entries in server log have player name. 2015-05-03 13:19:49 -07:00
ryanhamshire d861688c04 Better config control over villager protections.
Now disabling creature protections allows players to injure villagers
without permission in land claims, and whether trading with villagers
requires permission is now an option in the config file, with default
on.
2015-05-03 13:17:45 -07:00
ryanhamshire ae9d57e6ed Added per-defender /siege cooldown.
15 minutes to rebuild, log out, relocate, etc.
2015-04-27 18:29:09 -07:00
ryanhamshire e353afb1a7 Perf: Delivering claim blocks.
Calling less often, doing less work each call.  Estimated 75% cost
reduction.
2015-04-26 18:14:01 -07:00
ryanhamshire b53ec39fbb Perf: Equipping the golden shovel. 2015-04-26 17:50:51 -07:00
ryanhamshire 4a3c105294 Recalibrated the IP address sharing limit.
Ignoring players with 'got wood' achievement, but reduced default limit
to 3.
2015-04-26 13:12:33 -07:00
ryanhamshire 3af2fb39bb Added limits to IP sharing. 2015-04-24 20:04:04 -07:00
ryanhamshire 57d17423bf Better sign logging in abbreviated logs. 2015-04-24 18:36:21 -07:00
ryanhamshire 306e02fe25 Removed formatters from abbreviated logs.
For better readability.
2015-04-24 18:22:36 -07:00
ryanhamshire d062f627c2 /acb will now work with player UUIDs.
In addition to player names.
2015-04-24 18:05:20 -07:00
ryanhamshire e833a0c361 (Continuation of previous.) 2015-04-23 21:17:45 -07:00
ryanhamshire bdf720281e Fixed error message /transferclaim offline player. 2015-04-23 21:11:19 -07:00
ryanhamshire baf29ae38f Allow players to sell unused accrued claim blocks.
They don't accrue again after being sold.
2015-04-23 20:57:16 -07:00
ryanhamshire 1da0a6f513 Anti-spam priority fix.
Attempt to beat NCP to the punch.
2015-04-23 20:46:25 -07:00
ryanhamshire af9fb6d56f Fixed bugs with explosion protection options.
All permutations now work as intended.
2015-04-21 21:25:04 -07:00
ryanhamshire c74eff07d7 Added abridged logs.
For server owners to very quickly and conveniently review chat logs by
day, and optionally GP administrative activity.  Also a debug mode for
log entries that would be too noisy for the standard server log.
2015-04-21 21:05:05 -07:00
ryanhamshire b67b2d531c Tweaked /claimslist output. 2015-04-13 20:30:10 -07:00
ryanhamshire 7d81dc4f5e Fixed /rn not working well with sea level very low. 2015-04-13 20:21:58 -07:00
ryanhamshire fa50376e46 Fix: Horse protections can be entirely disabled.
Previously, horses were still protected from damage in land claims even
when the config file said horses should not be protected.
2015-04-12 12:44:24 -07:00
ryanhamshire cad90078de Dragon eggs require build permission to teleport. 2015-04-08 14:35:39 -07:00
ryanhamshire 1c28e62fbd Spawn eggs require build permission. 2015-04-08 14:30:01 -07:00
ryanhamshire 38cbab1c40 Fixed explosions destroying too many blocks.
Due to a breaking Spigot change in 1.8.3.
2015-04-08 14:16:06 -07:00
ryanhamshire 6aad597436 Fixed players selling spent claim blocks. 2015-04-02 18:31:46 -07:00
ryanhamshire a285d73ca0 Fixed claims breakage. 2015-03-28 20:58:24 -07:00
ryanhamshire 39ecf85d39 Perf: Claim search. 2015-03-28 13:49:03 -07:00
ryanhamshire 29264350c4 Perf: Visualizations 2015-03-28 13:46:23 -07:00
ryanhamshire e91924eb94 Updated /ClaimExplosions and global explosions.
Now even when surface explosions are blocked, both /ClaimExplosions and
the global config option to allow all explosion damage inside land
claims will override that block.
2015-03-28 13:30:08 -07:00
ryanhamshire 123fc4c284 Fixed PvP immune players attacking pets. 2015-03-28 12:56:57 -07:00
ryanhamshire d15da5d02c Version to 11.1 2015-03-19 09:43:00 -07:00
ryanhamshire 89a434f200 Option to allow explosion damage in land claims. 2015-03-18 16:13:10 -07:00
ryanhamshire 80c0f55a88 Better logging for blocked spam messages. 2015-03-18 16:02:12 -07:00
ryanhamshire c781eca5c5 Fixed pvp rules applying where they shouldn't. 2015-03-18 15:51:18 -07:00
ryanhamshire 68da411528 Preventing signs with blocked IP addresses. 2015-03-18 15:49:07 -07:00
ryanhamshire 4662f7a3f3 Better sign notifications and logging. 2015-03-18 15:41:56 -07:00
ryanhamshire 0ec966d4fb Greatly reduced tolerance for IP address spam. 2015-03-16 20:23:55 -07:00
ryanhamshire 92d51670e4 Players buy and sell BONUS claim blocks, not accrued.
This means they can only sell what they've purchased, and they can't get
more for free for use in future sales to generate money over time.
2015-03-16 19:40:26 -07:00
ryanhamshire 62d6326503 Fixed abandoning subdivisions penalizing blocks.
AbandonReturnRatio shouldn't apply to abandoning subdivisions, since
they don't cost any blocks to begin with.
2015-03-16 19:35:03 -07:00
ryanhamshire 447a8a1fc4 Ender pearls don't trigger PvP combat mode.
Broke this when I fixed the issue with other plugins cancelling PvP
events.
2015-03-16 18:56:25 -07:00
ryanhamshire d3a2637b92 Added warning for outdated servers.
For those vulnerable to piston grief due to the addition of slime
blocks, which the Spigot team did not address in early versions of 1.8.
2015-03-07 11:10:50 -08:00
ryanhamshire 76d91d361f Fixed kit commands abusing PvP immunity.
Repeating check of inventory, just in case a plugin delivered items to a
PvP-immune player.
2015-03-03 20:50:47 -08:00
ryanhamshire 347085e8e0 Fixed "combat" starting for blocked damage events.
When another plugin prevents an attack, neither player should be put "in
combat" where GP's combat rules are concerned.
2015-03-03 20:35:53 -08:00
ryanhamshire a1db0cbb65 Removed a debug message. 2015-03-03 20:17:21 -08:00
ryanhamshire 8f85092618 Version to 11.0 2015-03-02 20:32:44 -08:00
ryanhamshire 394a6b279d Allowing monsters to hurt claimed villagers. 2015-03-02 20:15:37 -08:00
ryanhamshire e28bb8a8bd Logging for suspicious bucket dumps. 2015-03-02 20:11:11 -08:00
ryanhamshire b9ffd917e8 Perf: Visualizations 2015-03-02 13:58:27 -08:00