Commit Graph

208 Commits

Author SHA1 Message Date
RoboMWM 7a35825386 Disable the plugin correctly
I stared at this for a moment, and then thought to myself - this is
probably the correct way to disable a plugin.
2016-10-05 00:06:17 -07:00
RoboMWM 10ae47ec14 return; 2016-10-04 19:57:48 -07:00
RoboMWM 7af3d37675 Warn Java 7 users of their impending doom 2016-10-04 19:56:46 -07:00
RoboMWM a70cde344f Don't use minecraft logger
Part of 1 of a zillion bad practices to fix
2016-10-02 12:21:38 -07:00
RoboMWM b07b8a678a /deleteclaim also restores nature, if configured to do so in survival worlds
Closes #11
2016-10-02 02:13:32 -07:00
RoboMWM b7162823e8 Allow portal rescue feature to work regardless if claims are enabled in the world
Seems like this check was intended for the
"portalCreationRequiresPermission," so when he threw in the portal trap
check, he didn't account for this check possibly breaking in worlds
where claims aren't enabled.
2016-10-02 01:59:30 -07:00
RoboMWM c4fcc327fa Cleanup executed tasks in hashmap 2016-10-02 01:22:40 -07:00
RoboMWM 2bfe8632a0 Remove /undorescue 2016-10-02 01:12:13 -07:00
RoboMWM e1955fb337 shorten portal "rescue" time to 20 seconds 2016-10-02 01:03:01 -07:00
RoboMWM 35a67de339 Use fancy new player#setPortalCooldown
As discussed in #13
- Also now using Paper repo (spigot repo was too slow to get CB with the
new portalCooldown API)
2016-10-02 01:00:54 -07:00
RoboMWM a2c9242adc Finished implementing new portal trap improvements #13
Probably will need some testing though
2016-09-30 12:56:23 -07:00
RoboMWM 8e7af23a13 Portal trap check changes (unfinished)
- Cancel existing rescue tasks on successful teleport
- Send the player a message when they are rescued (unfinished)

Someday, I will make this OOP-compliant
2016-09-30 10:48:19 -07:00
RoboMWM b78d1e6413 refactor portal trap check method 2016-09-29 23:56:36 -07:00
Erik1988 750fd1de5b Add option to allow /trapped to be used in administrative claims (#8)
erik1988:
Its now possible to allow players to use /trapped inside adminclaims.
Note that its off by default.
2016-09-22 13:14:03 -07:00
jjm223 d4ea1cfa03 Add admin command to unlock the drops of other players. 2016-09-08 18:57:23 -05:00
ryanhamshire 828e20cba8 Disable delayed logout messages by default.
This feature has value in anti-spam, but too many new GP installers are
confused by it.  Disabling by default to save support cost - also I
figure at least some are installing the plugin, seeing this as a "bug"
and uninstalling without bothering to get educated, and that's bad for
their players.
2016-08-30 20:39:45 -07:00
ryanhamshire 86a18e2f04 Added PreventBlockBreak event.
Supports the new SpleefArena flag in GriefPrevention flags.  Fired when
a player is prevented from breaking a block.  If cancelled by another
plugin, the break will be allowed.
2016-08-17 11:09:05 -07:00
David Precious f2dd7f6a8b Bah, now with less muppetry.
Silly typo.
2016-07-06 16:57:59 +01:00
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