Commit Graph

190 Commits

Author SHA1 Message Date
smc87 f33a732d05 Added .getName() 's ? 2016-07-06 16:57:11 +01:00
David Precious 575df4f8a5 Don't allow someone to attempt to siege themselves. 2016-07-06 16:56:51 +01:00
ryanhamshire de7b14733f Better logging for /acball 2016-07-01 15:58:46 -07:00
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
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 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
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 faccc26572 Perf: Check for creative world mode. 2016-06-03 21:03:53 -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
ryanhamshire 305978810d Add /DeleteAllUSERClaimsInWorld. 2016-05-05 09:02:27 -07:00
RoboMWM 5779a7b223 Make IgnoreMode enum public 2016-04-23 20:59:51 -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 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 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 03a802365c Bug fix. 2016-03-20 13:50:49 -07:00
ryanhamshire 260db50cc3 API - GPFlags Support
Updated the API to support two new GriefPreventionFlags flags.
2016-01-31 09:02:46 -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 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 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 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 2f17383890 Fix for rare NPE on player interact. 2015-12-20 20:44:13 -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 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 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 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 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 e52627f08d Added an option to prevent rabbits eating crops. 2015-10-21 12:58:21 -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 9648c18571 12.7.1 - Admins are not ignorable. 2015-10-03 14:15:02 -07:00
ryanhamshire 3214363aca Fixed siege attackers using /ClaimExplosions. 2015-09-14 20:01:59 -07:00
ryanhamshire 455d422c1f Messaging update for siege mode. 2015-08-29 10:53:38 -07:00
ryanhamshire 8364e39953 Added /ClaimBook command. 2015-08-21 12:57:25 -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 2fbbfcb9e8 Allowing for more narrow land claims. 2015-08-01 19:18:36 -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