Commit Graph
100 Commits
Author SHA1 Message Date
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
ryanhamshire 1541bc2015 Version to 14.6 2016-05-30 13:21:43 -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
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 124f20753f Version to 14.5.4 2016-05-04 16:46:58 -07:00
ryanhamshire 1ec0d3944b Don't expire land claims while owner is online. 2016-05-04 16:46:48 -07:00
ryanhamshire a509e33a03 Version to 14.5.3 2016-04-27 20:12:18 -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 b0db444315 Version to 14.5.2 2016-04-25 20:23:13 -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
ryanhamshire 53b2a8aa8b Add aliases for /deleteclaimsinworld. 2016-04-25 16:55:01 -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 611576e226 Version to 14.5.1 2016-04-13 21:06:17 -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 9c53b8e4b9 Support for worlds loaded by Denizen during boot. 2016-04-12 15:29:21 -07:00
ryanhamshire 9ade7c9374 Fixed villagers dying to creepers. 2016-04-11 21:20:56 -07:00
ryanhamshire d032612cba Version to 14.5 2016-04-09 20:40:17 -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 c6ed67af5f Allow DeleteClaimsInWorld from console. 2016-04-09 20:38:43 -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 f9cc07608d Version to 14.4 2016-04-07 20:57:56 -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
Ryan Hamshire 57817070d4 Merge pull request #44 from RoboMWM/patch-9
Don't give chorus fruit if teleport was cancelled.
2016-04-07 20:56:09 -07:00
ryanhamshire ab66b92ccc Version to 14.3 2016-03-30 20:34:17 -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
ryanhamshire 2e91b15c89 Version to 14.2 2016-03-21 19:43:16 -07: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 5eb90a1261 Version to 14.1 2016-03-21 18:19:43 -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 ab8b18ec35 Version to 14.0.1 2016-03-20 13:50:58 -07:00
ryanhamshire 03a802365c Bug fix. 2016-03-20 13:50:49 -07:00
ryanhamshire ed4f0bbc9a Version to 14.0 2016-03-15 16:28:24 -07:00
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
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