Commit Graph

717 Commits

Author SHA1 Message Date
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
RoboMWM 9e6359b15a add commit hash to dev builds 2019-08-11 15:25:11 -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 2ead578666 Make the version explicitely a string. Not sure if CB or yaml is at fault here
[20:58:37] RoboMWM: hmmm it's a bit annoying how CB cuts off the
trailing 0 in my versions
[20:58:49] RoboMWM: e.g. 16.10 displays as 16.1
[20:59:02] +Choco: That seems... stupid? lol
[20:59:12] RoboMWM: very
[20:59:27] RoboMWM: plugin.yml inside jar reveals it to be correct
[20:59:43] RoboMWM: and afaik this is supposed to be a string so idk why
it's doing that
[21:00:49] RoboMWM: apparently wrapping it with single quotes does the
job
[21:01:33] +Choco: Maybe it assumes it's a double then converts it to a
String
[21:02:04] RoboMWM: I guess >_> since I stuck a test.16.10 without
quotes and it's all there
[21:02:09] RoboMWM: thank you yaml
[21:02:22] +Choco: What if you were to do 1.1.10?
[21:02:30] +Choco: Because that's not a valid number, maybe it would
assume String
[21:02:33] RoboMWM: the second dot probably makes it a string
[21:02:51] RoboMWM: maybe I should do 16.1O
[21:02:57] +Choco: lol that's cheating
2018-09-19 21:05:42 -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