Commit Graph

222 Commits

Author SHA1 Message Date
jacob1 5d474e51f5 add /restrictsubclaim (#135)
Will update databases - warn server owners to backup when releasing (they should be backing up anyways...)
2017-07-21 18:54:24 -07:00
RoboMWM cefa66767c remove unused import 2017-05-14 21:53:29 -07:00
RoboMWM 37198d09b1 Use wood pickup stat instead of achievement
1.12 removed achievements
2017-05-14 21:45:48 -07:00
Erik1988 b81e802b79 Option to globaly allow use of spawner egg (#91)
If enabled, players are allowed to place mob spawn eggs inn all claims (including admin claims).
2017-02-19 11:32:33 -08:00
BillyGalbreath b8a5cb79d1 Add idle claim block accruals percentage (#90)
(defaults to 0 for legacy behavior)

* Math fix :S
2017-02-18 19:23:13 -08:00
BillyGalbreath daf34703e4 Add configuration option for silencing login and logout notifications (#89) 2017-02-18 19:11:39 -08:00
RoboMWM 3043298640 v16.6 Compatibility with custom biomes that don't set a temperature 2017-02-04 13:13:07 -08:00
BillyGalbreath ac319f4e1c add configurable threshold for idle detection (#75)
Also fixes the no-movement idle detection.
2017-01-27 07:43:17 -08:00
RoboMWM 39e1e13dda Always schedule SendPlayerMessageTask 2017-01-20 06:15:52 -08:00
RoboMWM 201ba58c3e Remove custom accrual limits and rates
Related to #18

Will likely make an API/custom event for accrual limit(?)
2016-11-15 13:04:29 -08:00
RoboMWM 3a3d3632a9 Implement AccrueClaimBlocksEvent. Closes #18 2016-11-15 12:36:59 -08:00
RoboMWM e565b433be use entity type vs. instanceof where possible 2016-10-23 05:44:46 -07:00
RoboMWM 047f4d89d2 Fix #27 2016-10-10 19:58:32 -07:00
RoboMWM 5d4ccdca20 Completely remove PlayerData#LastLogin
Not tested, but other than maintaining SQL storage "compatibility" I've
removed all usages of it. It doesn't seem to be used at all anyways
other than to be stored since commit
f935806b45 removed its purpose.

Addresses a request in #22
2016-10-07 19:29:42 -07:00
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