Eli, wyldt-
03778e6f31
Check world before performing distance call ( #916 )
2020-07-29 21:39:23 -07:00
Eli, wyldt-
b6434298fc
support raid trigger prevention ( #913 )
2020-07-28 21:27:20 -07:00
Adam
ac93505e2f
Fix conflicting piston settings ( #907 )
2020-07-25 11:50:18 -07:00
Adam
085f335559
Use tags instead of manually-maintained material lists ( #905 )
2020-07-25 11:47:08 -07:00
Adam
230b2bb5cc
Update to WorldGuard's 1.16 API ( #904 )
...
* Update to WorldGuard's 1.16 API
* Swap to Gson for JSON, WG was providing old lib
* Also JUnit
2020-07-25 11:42:14 -07:00
RoboMWM
7999da4e81
exclude suspicious bucket placements from being logged in console
2020-07-04 09:58:29 -07:00
Alen Budimir
909b81aea5
Add redstonewire to accesstrust ( #868 )
2020-07-03 11:03:40 -07:00
Isabel Lomas
a6a7c237cf
1.16 materials update ( #866 )
...
- fixes #865
- add new spawn egg names
2020-07-02 20:24:18 -07:00
RoboMWM
ac5a666b8d
remove all suppressions of deprecation warnings
2020-06-20 12:28:25 -07:00
RoboMWM
732fa2e015
these changes are sometimes not getting exported or something
2020-06-08 23:15:52 -07:00
RoboMWM
40f554d386
reformat code
...
- Lots of tabs to spaces going on
- That's a lot of changes!
#63
2020-06-08 21:57:55 -07:00
RoboMWM
110b068ac1
Set blockdata when removing chorus fruit
...
Closes #799
2020-05-28 21:25:34 -07:00
Adam
64e101c3bf
Use BlockData Dispenser ( #818 )
2020-05-15 21:11:43 -07:00
Izmoqwy
093cbb0e93
Add config to limit bonus claim blocks (on purchase) ( #786 )
2020-05-03 17:59:27 -07:00
Adam
28b928f4b2
Add API allowing addons to check trust levels for offline players ( #801 )
...
* Expose explicit ClaimPermission levels
* Add getPermission to allow addons to check other trust
2020-05-03 17:52:24 -07:00
RoboMWM
f3186d1d84
remove entity cleanup debug logging from console
2020-04-12 22:28:28 -07:00
RoboMWM
c19e3b7ea4
add more debug messages for claim expiration checks.
2020-03-16 21:23:05 -07:00
Adam
e0a0be7bef
Move null check to the correct location ( #746 )
...
Closes #744 , bug introduced in #736
2020-03-12 17:53:29 -07:00
RoboMWM
0cf0171391
remove duplicate owner entries in the unused claim check list
...
Restores the original behavior that was inadvertantly changed in #736
2020-03-08 10:23:22 -07:00
Adam
49d51a34a3
Randomize unused claim check ( #736 )
2020-03-02 17:04:15 -08:00
Adam
61c1ccda3f
Fix DeleteUserClaimsInWorld command ( #720 )
...
Closes #718
2020-02-15 02:26:39 -08:00
RoboMWM
8760ad69bc
change priority of some denial events to LOWEST
...
Thanks to OliPulse in IRC, we discovered some events at the wrong
priority in GP.
2020-02-02 13:30:56 -08:00
RoboMWM
7e0f936502
skip plugins that aren't JavaPlugins
...
Fixes #707
2020-02-01 22:11:45 -08:00
RoboMWM
956bdbc688
Do not attempt fuzzy matching players
...
Fixes #541
2020-02-01 20:39:41 -08:00
RoboMWM
d7dd5a8e97
add more new 1.14, 1.15 blocks to containertrust
...
Closes #642
Closes #698
2020-01-25 20:59:24 -08:00
Bobcat00
85205e9b6f
Add config option to ignore piston movements ( #671 )
2019-12-15 15:15:50 -08:00
coralpapa
9048811454
Fix unignorable players from being ignored ( #643 )
2019-10-15 16:18:06 -07:00
Edson Passos
dda2a50c70
trust change event ( #623 )
2019-09-17 19:19:30 -07:00
Shane Bee
cc03fdcba8
Fix lectern permissions for spigot servers
...
- Fixes an issue with players with correct trust level not able to put a book in a lectern when the server is running Spigot
- This "fix" isn't needed for Paper...
Closes #613
2019-09-08 11:50:28 -07:00
RoboMWM
6f35aabf2e
add ignoreCancelled = true
2019-08-31 21:07:48 -07:00
RoboMWM
d4d7ac4e6b
version 16.12.0
2019-08-31 17:17:52 -07:00
RoboMWM
c02337ada9
Roundabout fix for #594
...
https://www.spigotmc.org/threads/spigotapi-missing.381491/#post-3460194
Closes #594
2019-08-31 16:53:41 -07:00
RoboMWM
e246807d8f
fix typo which caused rightclicking the air with dyes to print an NPE
...
Fixes #574
Was introduced in
a9a7fe41a0 (diff-b15ac36752c3cec705105f3a5f802139R1881)
2019-08-31 11:48:45 -07:00
Adam
d326f106d6
Ensure subclaim boundaries are inside parent ( #590 )
...
Fixes GHSA-7mmh-4c9r-pf6v
2019-08-23 12:32:59 -07:00
coralpapa
935e7f8797
Correct item merge handler ( #588 )
...
Fixes #585
2019-08-18 10:49:29 -07:00
coralpapa
08f8d81ca4
Classify damage from fired fireworks as PvP damage
...
Closes #538
2019-08-15 21:38:21 -07:00
RoboMWM
73325a3f8f
add some debugging for #574
2019-08-11 15:29:53 -07:00
coralpapa
6274cb7536
Allow hoppers to collect unlocked drops ( #583 )
...
Closes #576
2019-08-11 11:49:15 -07:00
Shane Bee
7c7e98e5e6
Modify lectern permissions ( #579 )
...
- /accesstrust for viewing (with a config to disable permission requirement)
- /containertrust for modifying
Closes #537
Co-authored-by: Zedadias Wick <zedwick@gmail.com>
2019-08-10 08:44:42 -07:00
RoboMWM
8f3f944cc4
a wild curly brace has appeared
2019-07-29 21:57:07 -07:00
RoboMWM
cdeac80635
config to prevent ravagers from breaking blocks in claims
...
Defaults to true to remain consistent with behavior of preventing
enderman from taking blocks and entities from trampling crops
Closes #530
Also intellij is insistent on replacing tabs
2019-07-29 21:48:33 -07:00
RoboMWM
99a676a6d1
Ignore hanging entities that break due to lack of supporting blocks
...
Closes #573
2019-07-29 21:19:52 -07:00
RoboMWM
6ddcaec112
protect berry bushes in claims from being harvested without container trust
...
Closes #548
2019-07-29 21:14:20 -07:00
RoboMWM
6403caafca
16.12.alpha
2019-06-14 01:07:12 -07:00
RoboMWM
c4a0012959
Block lightning from starting fires in claims
...
Should close #532
2019-06-14 00:49:26 -07:00
RoboMWM
a0440733ed
debug message for #495
2019-06-11 20:00:00 -07:00
RoboMWM
a9a7fe41a0
disallow use of dyes in claims
...
Dyes can be used to change sign colors according to cities7
- Also use 1.14 signs
2019-06-09 13:54:54 -07:00
RoboMWM
59d9e6f556
Remove travel agent and related config option
...
- Removed Claims.PortalGenerationRequiresPermission
Closes #534
2019-06-09 10:33:38 -07:00
Shane Bee
522d225548
Protect wolves under certain conditions ( #507 )
...
- Protects wolves unless the attacker is being targeted by the wolf.
2019-04-09 21:20:36 -07:00
RoboMWM
832ec7ed86
make NoTransferException public and unchecked
2019-03-17 21:13:44 -07:00
Sigurdur
50d0376525
Assign claim ID to new claims before calling ClaimCreatedEvent ( #465 )
2019-03-02 22:42:04 -05:00
Sigurdur
59c9157edc
Update chunk claim map on resize ( #464 )
2019-03-02 15:15:18 -05:00
RoboMWM
9b52a0d133
Prevent unauthorized users from taking water from waterlogged blocks
...
Thanks @jikoo for the snippet
Closes #473 , closes #477
2019-03-02 12:12:18 -08:00
112madgamer
435613d720
Update WorldGuard integration ( #457 )
2019-01-30 21:51:52 -08:00
Sigurdur
904c304666
Mutate existing claim instead of creating new claim on resize ( #461 )
2019-01-26 10:54:35 -08:00
Apecengo
9ff369fd62
Exempt creative/spectator gamemode from environmental PvP checks ( #446 )
...
Also performs visibility check.
2019-01-10 08:11:45 -08:00
Shane Bee
f96d62aa05
Config to allow fire spread and damage within claims ( #445 )
2019-01-09 15:50:21 -08:00
RoboMWM
0164573eb1
getPlayerDataFromStorage doesn't need to be synchronized here
...
Fixes #427
2018-11-27 22:18:53 -08:00
112madgamer
b0d4fa7b5b
Update WorldGuard hook again ( #422 )
...
Until it's broken by yet another API change without warning.
2018-11-22 02:31:13 -08:00
RoboMWM
26143ef02f
more verbose error message about WorldGuard hook
2018-11-22 01:54:54 -08:00
112madgamer
fc7e940cbe
Mitigate restorenature hanging ( #411 )
...
Certain parts are disabled.
2018-11-22 01:12:11 -08:00
112madgamer
3a9b253401
Block fire, damage from lightning caused by trident channeling enchant ( #417 )
2018-11-22 01:06:51 -08:00
112madgamer
1a7a6eca42
Siege cooldown ( #418 ) closes #415
2018-11-19 00:03:24 -08:00
112madgamer
f4e09e5ed3
Fix material names for /containertrust ( #407 )
2018-11-05 20:12:52 -08:00
112madgamer
3e1e058001
Allow Donkey and llama protection to be disabled ( #406 )
2018-11-03 01:38:45 -07:00
112madgamer
e2aae1d0f3
Update for new POTTED materials ( #403 )
...
Fixes #386
2018-11-02 08:42:35 -07:00
RoboMWM
a065e63c65
worldguard's screwing around with bstats yet again
...
And bstats apparently moved their maven repo which is why worldguard's
screwing around...
2018-10-13 09:58:40 -07:00
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