Commit Graph
100 Commits
Author SHA1 Message Date
RoboMWMandGitHub 62f8e25e53 add proposed "acceptance" criteria to feature request template 2019-07-29 22:08:53 -07:00
RoboMWM 8f3f944cc4 a wild curly brace has appeared 2019-07-29 21:57:07 -07:00
RoboMWM ffee682126 16.12.alpha.2 2019-07-29 21:49:13 -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
RoboMWMandGitHub 768ad89a15 Update feature-request.md 2019-06-24 19:04:30 -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
RoboMWMandGitHub 7d086f2956 Update FUNDING.yml 2019-05-26 14:34:41 -07:00
RoboMWM dbc7ddf30d Revert "add exploit report template"
This reverts commit 61824b5455.

Non-admins of the repo cannot create security advisories.
2019-05-23 22:10:24 -07:00
RoboMWMandGitHub 61824b5455 add exploit report template
which points to the brand-new security tab
2019-05-23 20:42:04 -07:00
RoboMWMandGitHub 6738ad7f11 Create FUNDING.yml
idk what this is but let's try it out lol
2019-05-23 20:37:14 -07:00
RoboMWM 832ec7ed86 make NoTransferException public and unchecked 2019-03-17 21:13:44 -07:00
RoboMWMandGitHub cda795e43e version 16.11.6 2019-03-04 20:35:41 -08: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
RoboMWMandGitHub 6a84cb2878 Ask for links to be pasted outside of code blocks 2019-01-17 19:36:34 -08:00
RoboMWMandGitHub 0356356edc A pretty wavy graph 2019-01-09 16:25:42 -08:00
RoboMWMandGitHub cd41d06cbb Have appveyor build v20 jars 2019-01-07 20:48:28 -08:00
RoboMWM 0164573eb1 getPlayerDataFromStorage doesn't need to be synchronized here
Fixes #427
2018-11-27 22:18:53 -08:00
RoboMWM 22811a36ce version 16.11.5 2018-11-22 02:40:28 -08:00
RoboMWM 26143ef02f more verbose error message about WorldGuard hook 2018-11-22 01:54:54 -08:00
RoboMWM d22e764cf9 use a specific worldguard snapshot version 2018-11-05 19:41:53 -08:00
RoboMWM eda849e9d8 exclude bstats again from worldguard
bstats changed their maven repo locations again
2018-11-05 19:31:17 -08: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
RoboMWM 07d1112588 Apparently we now need worldedit?
https://github.com/sk89q/WorldGuard/commit/87e577040506b94a65034ff91964405216d27f4e#diff-7af21c35e03c3431643fb79dc35d5da2
2018-10-07 15:21:08 -07:00
RoboMWM cf6466d616 exclude bstats from worldguard dependency 2018-10-07 15:14:08 -07:00
RoboMWM b46fc8011f version 16.11.4 2018-09-28 19:49:56 -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 2bbccce9eb version 16.11.2 2018-09-23 11:19:53 -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 e27bbcabe7 version 16.11.1 2018-09-22 12:32:46 -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 b8c23d7124 version 16.11 2018-09-22 05:49:15 -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 fb6bc79fe9 testing github templates 2018-09-19 16:04:27 -07:00
RoboMWM ad273c1a1b version 16.10 2018-09-19 01:05:10 -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
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 2f190a926a version 16.9 2018-09-04 22:26:33 -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
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
RoboMWM 187df11b20 version to 16.9.alpha 2018-08-13 07:21:10 -07:00
RoboMWMandGitHub 03f2ff5568 Add hyperconomy to softdepend
According to #97 hyperconomy loads after GP. See #97 for discussion and etc. on a proper way to fix/avoid requiring this for any other economy plugins that happen to load before GP does.
2018-06-11 23:25:48 -07:00
RoboMWM 0c95165af0 Goodbye travis, hello shiny new appveyor 2018-04-25 00:18:54 -07:00
RoboMWM 92299d683b make sendMessage public
Allows tighter integration with addons that wish to augment core GP
features/commands.
2018-01-01 15:44:13 -08:00
RoboMWM 05497b7b6a ensure worldguard warning is printed to server console 2017-12-23 08:41:43 -08:00
RoboMWM c6b3c3c4ab version 16.8 2017-12-23 08:29:11 -08:00
RoboMWM 9c5c7523a2 add fallback to old id-based system for chunk snapshots 2017-12-23 08:28:12 -08:00
RoboMWM fd0ddbf405 handle case of server not having ChunkSnapshot#getBlockType
i.e. tell server owner to update and handle conservatively.
2017-12-20 09:57:19 -08:00
RoboMWMandGitHub 2a68fb9795 Update ISSUE_TEMPLATE.md 2017-12-20 09:29:09 -08:00
RoboMWM 9414700d40 ignore vanilla teleports. Fixes #210 2017-12-20 09:26:31 -08:00
RoboMWMandGitHub 7aa9680876 Add option to disable negative claim block amount fixing (#236) 2017-12-19 14:05:27 -08:00
RoboMWM 452a6a1c7e Add a delay before immediately rescuing players trapped in nether portals
In case they actually aren't and lagged out (perhaps due to chunk
loading), they'll have a few seconds to be able to walk out before being
automatically rescued on reconnect.

Also logs when a player has been rescued
2017-07-23 14:48:16 -07:00
RoboMWM 92a0adcfc0 Avoid hidden files as well when migrating to MySQL
Related to #158
2017-07-22 00:25:56 -07:00
RoboMWM 04bc32336c Implement #114 2017-07-22 00:19:09 -07:00
RoboMWM d079fcf379 Warn server owners about use of out-of-date Worldguard
closes #162
2017-07-21 23:24:52 -07:00
RoboMWM 4cb2abefeb Add a code comment explaining why we do this
Fixes #85
2017-07-21 23:15:48 -07:00
RoboMWM 9a642205d7 Revert "Always schedule SendPlayerMessageTask"
This reverts commit 39e1e13dda.
2017-07-21 23:12:35 -07:00
RoboMWMandGitHub 8d0e5e8e5f Remove alias /dc for /deleteclaim
Could be typo'd accidentally.

> was trying to type /sc for staff chat and typed /dc by mistake
2017-07-17 20:36:09 -07:00
RoboMWM e5dc0f2861 travis, we use java 8 2017-07-09 09:28:21 -07:00
RoboMWM 39a4758c04 compile with java 8
A PR will be using it, and MC now uses Java 8.
2017-07-09 09:24:33 -07:00
RoboMWM f918ee18bc Disable DeniedMessageEvent
I don't know if this is the problem regarding another similar issue, but
I'd rather not risk it + it's likely not being used
2017-06-15 22:44:02 -07:00
RoboMWMandGitHub 8e484ad4f7 Update README.md 2017-05-15 01:06:53 -07:00
RoboMWM ae0b0520dc version 16.7.1 2017-05-14 22:18:30 -07:00
RoboMWM f439ea62c0 Use banlist
because offlineplayer methods for setting ban have been long deprecated
and are now removed.
2017-05-14 22:17:58 -07:00
RoboMWM cefa66767c remove unused import 2017-05-14 21:53:29 -07:00
RoboMWM e6dc0d5104 version 16.7 2017-05-14 21:52:42 -07:00
RoboMWM 37198d09b1 Use wood pickup stat instead of achievement
1.12 removed achievements
2017-05-14 21:45:48 -07:00
RoboMWM 8392069960 Merge branch 'master' of https://github.com/TechFortress/GriefPrevention 2017-02-24 14:24:10 -08:00
RoboMWM ec08a8b52b a tad more debug messages
Basically to help diagnose #95 and any future related issues.
2017-02-24 14:24:03 -08:00
RoboMWM 261620747e more debug logging 2017-02-24 12:48:59 -08:00
RoboMWM 82e7f9fc3f Don't let TNT be dropped in end portals
Necessarily this shouldn't be an issue anyways since the platform is
obsidian.

Also, if you have claims enable in the end, you should theoretically be
already protected.
2017-02-23 10:23:38 -08:00
RoboMWM 3043298640 v16.6 Compatibility with custom biomes that don't set a temperature 2017-02-04 13:13:07 -08:00