Commit Graph

853 Commits

Author SHA1 Message Date
ryanhamshire 2e0d2f626c Compat with MultiWorld.
GP will now boot after MultiWorld does, if the latter is installed.
Important because MultiWorld may load worlds GP cares about.
2016-03-15 16:26:17 -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 1b89229080 Version to 13.9.1 2016-02-04 14:00:33 -08:00
ryanhamshire 32cc947fe4 API: Claim expiration event.
Cancellable, with GPFlags in mind.
2016-02-02 13:34:54 -08:00
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
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 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
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 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