Commit Graph
100 Commits
Author SHA1 Message Date
ryanhamshire 4406b83bc1 Version to 13.9 2016-01-31 09:06:44 -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
Ryan Hamshire 9581103c1b Merge pull request #40 from RoboMWM/patch-7
Limit hopper minecart placement
2016-01-30 10:05:37 -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 d2150030a5 Version to 13.8 2016-01-28 10:19:51 -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
ryanhamshire f7232b1a7f Version to 13.7 2016-01-20 16:25:43 -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
Ryan Hamshire 7b4cf311ad Merge pull request #35 from RoboMWM/patch-4
Add alias for claim explosions
2016-01-20 11:44:37 -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 2ed62512b6 Version to 13.6 2016-01-15 16:42:20 -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 b61de60e63 Version to 13.5.1 2015-12-23 09:26:33 -08:00
ryanhamshire bdfdf8cc0a /Claim radius parameter requires golden shovel. 2015-12-23 09:25:01 -08:00
ryanhamshire 0e58a30998 Version to 13.5 2015-12-23 08:37:49 -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 5e39bec04f Version to 13.4 2015-12-17 21:24:16 -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 089efc2036 Version to 13.3 2015-12-15 20:49:39 -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 4229a408cf Version to 13.2.1 2015-12-10 14:15:01 -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 bc1ae5ad55 Version to 13.2 2015-12-03 17:49:14 -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 5236e85db1 Added permission nodes for three commands.
Siege, UnlockDrops, Trapped
2015-12-03 17:07:06 -08:00
ryanhamshire 0208bde89d Fixed too-aggressive IP address re-use limiter. 2015-12-03 17:02:45 -08:00
ryanhamshire fafea081a3 Version to 13.1 2015-11-24 10:55:51 -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
Ryan Hamshire 718c3ab407 Merge pull request #33 from RoboMWM/patch-2
API: CustomLogEntryTypes
2015-11-24 08:13:32 -08:00
Ryan Hamshire f0ae301d23 Merge pull request #32 from RoboMWM/patch-1
Fix an old typo
2015-11-24 08:12:24 -08:00
ryanhamshire 7067db624d Version to 13.0 2015-10-28 20:17:19 -07: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 d9fe0e1406 Version to 12.9 2015-10-21 13:39:30 -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 70b1022749 Version to 12.8 2015-10-13 14:12:04 -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 cac0266216 Cleaned up help experience for some slash commands.
Specifically those related to land claims.
2015-10-12 16:18:39 -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 eb9dcc14f2 Version to 12.7.2 2015-10-03 20:26:31 -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 4e7af3cb02 Version to 12.6.1 2015-09-20 13:36:59 -07:00
ryanhamshire 1ba6f7bc9d Reliability boost for database mode. 2015-09-20 13:36:32 -07:00
ryanhamshire 442d05a4e0 Version to 12.6 2015-09-18 20:11:32 -07:00
ryanhamshire f5318e3b19 Added profanity/troll filter. 2015-09-17 19:14:36 -07:00
ryanhamshire 2a66ad3d01 Version to 12.5 2015-09-16 14:41:47 -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 c33b754e8c Version to 12.4.1 2015-09-14 20:13:38 -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