Shane Schulte
5ebbc999dd
Add missing getHandlerList() in ClaimModifiedEvent ( #387 )
2018-10-07 15:25:52 -07:00
RoboMWM
b3a54e16dc
Only call ClaimExpirationEvent if a player's claims are actually going to be expired
...
Fixes #380
2018-09-26 19:55:47 -07:00
RoboMWM
bce2eaf6c4
remove DeniedMessageEvent
...
Was already not being called a while ago
2018-09-26 11:35:27 -07:00
RoboMWM
80876c9708
version 16.11.3
2018-09-24 04:07:28 -07:00
RoboMWM
c04666b43d
Fix NPE that occurs when repairing nextClaimID value
...
Very likely I was going to refactor this class, but then stopped since
it's abstract and thus can't have any constructor... but apparently I
forgot to revert that line.
Closes #377
2018-09-24 01:51:47 -07:00
RoboMWM
abd97b1f5a
remove the null entry (admin claims). Fixes #376
2018-09-23 11:22:46 -07:00
RoboMWM
77a011dd43
reverse ownerID comparison to account for administrative claims
...
Administrative claims leave the ownerID field null.
2018-09-23 11:19:30 -07:00
RoboMWM
bda1c180ec
add missing getHandlerList() in ClaimCreatedEvent
2018-09-22 23:32:49 -07:00
RoboMWM
4a9d62c78f
also check for metadata in anonymous task in plaayerjoinevent
2018-09-22 13:26:22 -07:00
RoboMWM
82f17b89b6
Have CheckForPortalTrapTask check metadata existence first
...
If a player logs out then logs back in, and the task in the
PlayerJoinEvent rescues him first and the player has sat in the rescue
location for over 10 ticks (which should be within another portal), then
this task will also attempt to rescue the player. Because it was using
metadata in the log message though, it failed but also printed a
stacktrace since the player's metadata was already removed.
2018-09-22 12:30:49 -07:00
RoboMWM
5fc85097a7
typo
2018-09-22 06:30:28 -07:00
RoboMWM
cf217e27c4
config for OfflinePlayer cache, closes #238
...
The OfflinePlayer cache holds players who have logged in within the last
X number of days (default 90).
2018-09-22 05:37:35 -07:00
RoboMWM
f6b35d71bf
Claim expiration: improvements+config option. Closes #24
...
- Claim expiration collects all players (uuids) that own claims, and
iterates this set instead of iterating through every single claim.
- Individual claims had a "last modified" timestamp, so this method was
valid before, but makes no sense now since expiration is based on player
inactivity instead of claim inactivity.
New config option under the advanced node allows controlling the
frequency each player in the aforementioned set is checked for
inactivity.
2018-09-22 05:21:00 -07:00
RoboMWM
93a36dd9e1
Remove old try-catch block, add metrics
2018-09-22 04:47:40 -07:00
RoboMWM
5bb3c70b77
Prevent drivers in unauthorized claims from destroying lilypads. Fixes #250
2018-09-19 01:02:37 -07:00
RoboMWM
cb6a42cbc6
Don't "reload" the database when migrating to SQL
...
FYI, I do not recommend migrating to SQL for GP.
Fixes #369
2018-09-19 00:57:14 -07:00
RoboMWM
5e2f128a8d
sieged claims are never pvp-safe zones. Fixes #199
2018-09-19 00:36:21 -07:00
RoboMWM
59196f4742
Also protect pets from cacti, drowning in non-PvP worlds.
...
Closes #213 , #79
2018-09-19 00:28:29 -07:00
RoboMWM
e21a781536
Cancel item merging with protected drops. Closes #255
2018-09-19 00:02:40 -07:00
RoboMWM
ad1f32ec8e
don't send message when canceling trampling of turtle eggs, closes #373
2018-09-18 23:51:04 -07:00
RoboMWM
d31c62e233
catch more instances of people using outdated worldguard versions
2018-09-18 23:49:05 -07:00
ArchdukeLiamus
393aa27329
fire/lava near players config can be changed in non-PvP worlds ( #371 )
...
Also allows this feature to be disabled in worlds where PvP rules aren't applied.
2018-09-15 15:12:41 -07:00
RoboMWM
a764eea215
add syncronized keyword to hopefully fix plugins that insist on calling this method asynchronously
...
May close #279
2018-09-07 16:59:47 -07:00
RoboMWM
35a80407be
Breaking turtle eggs only seem to fire a PlayerInteractEvent. Closes #364
2018-09-04 13:18:33 -07:00
RoboMWM
ebd7e1b0d0
Check if claim owner is abandoning claim before adjusting accrued claim blocks. Closes #322
2018-09-04 13:11:26 -07:00
jacob1
42cf84f6b0
Include new 1.13 damaged anvil types ( #361 )
...
Add an optional extended description…
2018-08-30 10:24:55 -07:00
RoboMWM
bea2fa3d7f
Disallow interaction with Fish in claims, closes #353
2018-08-19 11:36:19 -07:00
RoboMWM
59d0cfc56c
Avoid unnecessary call to setAccruedClaimBlocks when AbandonReturRatio is set to 1.0
2018-08-17 17:25:46 -07:00
RoboMWM
d1adf26573
prepend explanation for failed claim and playerdata loads
2018-08-17 10:17:56 -07:00
RoboMWM
e17403feb2
Perform sanity check on nextClaimID, closes #207
2018-08-17 10:15:35 -07:00
RoboMWM
d8e0a094e4
fix wrong parameter used in /gpblockinfo, closes #313
2018-08-17 09:45:44 -07:00
RoboMWM
0581f7314a
Don't destroy tridents, mitigates #330
2018-08-17 09:20:41 -07:00
RoboMWM
e2883ce7b1
Prevent TNT ignition in areas with no build access. Closes #356
2018-08-17 09:08:34 -07:00
Narimm
643ad8a7f7
Add ClaimCreatedEvent and ClaimModifiedEvent ( #344 )
...
1. Claim creation event... this is fired once all the claim creation checks have been passed. It can be cancelled. It contains the claim and the creating player
2. Claim modification event - this is fired as the claim is modified - it cannot be cancelled. It contains the claim and the modifier...which can be null.
Use Case:
This could be used so other plugins can hook gp and perform an action if a claim is created or changed. Something as simple as logging claim creations/modifications and deletions.
2018-08-13 07:09:05 -07:00
Miroslav Marchev
31c1581ca2
Update WorldGuard dependency to 7.0.0-SNAPSHOT ( #343 )
2018-08-13 07:02:50 -07:00
zedwick
19c0f3220f
The 1.13 PR ( #320 )
...
- Removes all code and config pertaining to the "mods" config section
- RestoreNature has issues in oceans
2018-08-13 06:53:14 -07:00
jacob1
ad07915664
Fix /rsc in admin claims ( #300 )
...
* Fix restrictsubclaim in admin claims
* Allow players with /ignoreclaims on to toggle restrictsubclaim flag
2018-07-24 17:38:46 -07:00
jer3m01
f84ff64c24
Fixed typo for Messages.BuySellNotConfigured ( #305 )
...
`anhd`--> `and`
2018-06-22 17:42:06 -07:00
Kris
2f5a2eea9c
Allow wither to break blocks in claims that have temporarily allowed explosions
2018-06-17 16:50:57 -07:00
Narimm
b38e4aedb6
Refactor to maven standard layout ( #270 )
2018-06-11 23:11:37 -07:00