Commit Graph
92 Commits
Author SHA1 Message Date
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
RoboMWM e5d81e76a2 ok I didn't catch them all
yea this needs to be rewritten
2017-01-20 07:13:38 -08:00
RoboMWM 7545d36034 version 16.5.1 2017-01-20 06:16:28 -08:00
RoboMWM 39e1e13dda Always schedule SendPlayerMessageTask 2017-01-20 06:15:52 -08:00
RoboMWM 8b8178b327 version 16.5 2017-01-18 11:17:04 -08:00
RoboMWM 208c8f0c72 Temporarily fix #62
Potentially related: #53
2017-01-18 11:09:17 -08:00
RoboMWM 0d26d6c65b Implement DeniedMessageEvent
Partially addresses #57
2017-01-04 13:17:59 -08:00
RoboMWM 70f3be68d3 Merge branch 'master' of https://github.com/TechFortress/GriefPrevention 2016-12-03 20:00:36 -08:00
RoboMWM a8e9290cd8 Use a switch instead 2016-12-03 20:00:29 -08:00
RoboMWMandGitHub 332a9346aa Update README.md 2016-11-20 19:40:24 -08:00
RoboMWM b36692ffec Version to 16.4 2016-11-20 19:01:46 -08:00
RoboMWM eeadbfa568 API: per-player claim limits
Note: this is not persistent.
2016-11-20 18:56:00 -08:00
RoboMWM 514b0e5949 Add negative value check when accruing claim blocks
to prevent plugins from doing nasties
2016-11-20 17:40:26 -08:00
RoboMWM 11d6d3cf13 v16.3: Fix debug message variable 2016-11-20 17:34:00 -08:00
RoboMWM f173ae9ddc Let's not deliver 6 times the intended claim blocks
Thanks Billy
2016-11-20 17:29:53 -08:00
RoboMWM 409f2f7b33 Remove redundant call
Also remove todo, since it's possible to use the bonus claim blocks to
"extend" the claim block limit via an addon:
https://github.com/TechFortress/GriefPrevention/issues/41#issuecomment-261471314
2016-11-20 17:18:38 -08:00
RoboMWM d7e1b7d812 version to 16.2 2016-11-20 16:23:27 -08:00
RoboMWM 72070c8df3 Protect flower pots 2016-11-20 15:02:35 -08:00
RoboMWM 410dc3c3da v16.1: don't protect villagers from new mobs 2016-11-20 14:31:10 -08:00
RoboMWM 2c5cb67af0 version 16 2016-11-20 13:54:49 -08:00
RoboMWM 2fac38aa7e No need to give benefit of doubt since we now have one global accrual limit
- Might also be related to #41, #36, #28
2016-11-17 23:58:37 -08:00
RoboMWM 12758b5a03 Close #25
- Witches can no longer apply potions to claimed animals (as if they
were an untrusted player)
- Protect claimed villagers as well

- Don't cancel entire event when we're protecting a single animal.
2016-11-17 23:20:08 -08:00
RoboMWM d6caffb2e2 Use 1.11 API, commented on code to possibly remove 2016-11-17 02:14:47 -08:00
RoboMWM 554bb94832 Some documentation on the new event 2016-11-15 13:10:04 -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 17854cf2d5 Removed unimplemented message 2016-11-06 11:45:58 -08:00
RoboMWMandGitHub afa251dc90 The github web editor is junk now for w/e reason 2016-10-28 01:14:39 -07:00
RoboMWMandGitHub a3e51bdb91 add jitpack badge thingy cuz y not 2016-10-28 01:06:42 -07:00
RoboMWM e565b433be use entity type vs. instanceof where possible 2016-10-23 05:44:46 -07:00
RoboMWM 2f186bdf88 Print the server's /version if people don't update CB
https://www.spigotmc.org/threads/how-do-i-do-this.187026/#post-1964612
2016-10-20 22:49:06 -07:00
RoboMWM 807f6f5899 Actually fix #27 2016-10-11 12:21:38 -07:00
RoboMWM 047f4d89d2 Fix #27 2016-10-10 19:58:32 -07:00
RoboMWM 8eb6ac9543 Make creative mode claims actually go to bedrock 2016-10-09 00:18:22 -07:00
RoboMWM 26f3578a03 Extra check on getLastPlayed
In case getOfflinePlayer failed, or getting a proper claim owner failed
somehow.

Yup, that's where I was going to add it.
Closes #22
2016-10-08 15:49:17 -07:00
RoboMWM 5638f02bf0 Reading update notes is hard
Also, stop using static (One foot in front of the other)
2016-10-08 11:57:34 -07:00
RoboMWM 007a161bfb Skip the first line when reading PlayerData files
Thanks @Jikoo
Related to #22
2016-10-08 10:48: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
RoboMWMandGitHub f7319e2431 Update ISSUE_TEMPLATE.md 2016-10-07 11:32:34 -07:00
RoboMWMandGitHub b83ee956b4 Update ISSUE_TEMPLATE.md 2016-10-07 11:32:17 -07:00
RoboMWMandGitHub 415ceaa34d Create ISSUE_TEMPLATE.md 2016-10-07 11:31:25 -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 ebfef4d688 Ok worldedit maven repo people, I know 6.1.5 exists... 2016-10-02 02:28:19 -07:00
RoboMWM 964d934daa version to 15.3 2016-10-02 02:14:28 -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
RoboMWMandGitHub d7355b8182 fix worldedit dependency 2016-10-02 02:08:45 -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 035469052a fix plugin.yml indentation, register /undorescue and perm 2016-09-30 13:19:52 -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
RoboMWMandGitHub 068fb172bb Add permission griefprevention.unlockothersdrops to plugin.yml
Part of 15.2.4 release
2016-09-29 12:39:20 -07:00
RoboMWMandGitHub 9f1aa90117 version to 15.2.4 2016-09-29 12:29:24 -07:00
RoboMWMandGitHub a28da96490 Add travis 2016-09-22 13:30:10 -07:00
RoboMWMandGitHub 7c5fe862cc Merge pull request #7 from CweepahCraft/unlockothersdrops
Add admin command to unlock the drops of other players.
2016-09-22 08:58:44 -07:00
RoboMWMandGitHub 41a649dae2 Update README.md 2016-09-21 12:45:37 -07:00
RoboMWMandGitHub 81953eac50 Create README.md 2016-09-21 12:43:33 -07:00
RoboMWMandGitHub 5186739d3a Merge pull request #4 from MineTheCube/patch-2
Make DataStore#getGroupBonusBlocks(UUID) public
2016-09-20 09:33:07 -07:00
RoboMWM 29538c69fe Ignore snowballs, etc. from triggering PvP timer
If _really_ desired, I could add an option for this. But more often than
not, unintended deaths could occur from players disconnecting from a
snowball fight.
2016-09-16 00:12:03 -07:00
RoboMWMandGitHub 4c4c8ea1fe version to 15.2.3 2016-09-15 23:32:00 -07:00
RoboMWMandGitHub 8b19d8e360 Use pom.xml's version 2016-09-15 23:31:03 -07:00
RoboMWMandGitHub 70ece72332 Remove unnecessary check for logging signs
Since we're also checking if location is the same, this really doesn't make much sense to store in the first place, unless of course we do some more string manipulation to store just the message and not the location.
2016-09-15 17:10:18 -07:00
RoboMWMandGitHub 9afec8dfe8 Fix sign logging/spam detection 2016-08-28 13:30:01 -07:00
RoboMWMandGitHub 8fb4ec3a21 "mavenize" 2016-08-26 20:13:48 -07:00
RoboMWM 359f5f50d1 Ignore falling blocks that pass through portals.
This is due to CB erroneously firing EntityChangeBlockEvent twice when a
falling block falls through an end portal
2016-08-26 19:59:03 -07:00
RoboMWM 1b77f12a4b broaden nether portal trap check 2016-08-26 19:44:18 -07:00
RoboMWMandGitHub 1009d5cee4 allow /separate and /unseparate to be used in console 2016-06-09 18:09:31 -07:00
RoboMWM 126cb366f1 Clarify message that auto-muted the player 2016-05-09 11:10:03 -07:00
RoboMWM 42c8119953 Log auto-muted chat messages 2016-05-09 10:57:58 -07:00
RoboMWM 40dec36cd5 Change portal trap check to 30 seconds
Player's connections would time out if they still haven't loaded everything in 30 seconds.
2016-05-06 12:08:00 -07:00
RoboMWM 5779a7b223 Make IgnoreMode enum public 2016-04-23 20:59:51 -07:00
RoboMWM e12a2e0179 Don't give chorus fruit if teleport was canceled
https://www.spigotmc.org/threads/griefprevention.35615/page-115#post-1452430
2016-04-03 10:41:42 -07:00
RoboMWM 86bd02b348 Make loadBannedWords public 2016-04-03 10:19:32 -07:00
RoboMWM cd0a9a9696 Limit hopper minecart placement 2016-01-29 21:54:15 -08:00
RoboMWM 00bfad3b6b Make anti-death-message spam also silence death messages from other plugins
Via changing priority of the onPlayerDeath listener from lowest to highest.
2016-01-21 16:12:47 -08:00
RoboMWM 077cf6ece7 Add alias for claim explosions
/claimexplosion -> /claimexplosions
2015-12-08 21:28:24 -08:00
RoboMWM be6b9d80cf API: CustomLogEntryTypes
All 3 AddLogEntry methods are public but 2 of them require this.
2015-11-11 03:11:49 -08:00
RoboMWM 28c968a3e4 Fix an old typo
Not sure why this hasn't been fixed yet :/
2015-10-29 16:14:16 -07:00