Kris
2f5a2eea9c
Allow wither to break blocks in claims that have temporarily allowed explosions
2018-06-17 16:50:57 -07:00
RoboMWM
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
Narimm
b38e4aedb6
Refactor to maven standard layout ( #270 )
2018-06-11 23:11:37 -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
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
RoboMWM
9414700d40
ignore vanilla teleports. Fixes #210
2017-12-20 09:26:31 -08:00
RoboMWM
7aa9680876
Add option to disable negative claim block amount fixing ( #236 )
2017-12-19 14:05:27 -08:00
md-5
8040a17e5d
Remove block ID usage ( #234 )
...
Also updates AutoExtendClaimTask with new API, will need to ensure users are using a recent build of CB
2017-12-18 21:26:31 -08:00
David Precious
5f6b541af8
Configurable siege resecure time ( #203 )
...
* Configurable time until sieged claim is resecured
Fixes #113 .
Makes the five minute period after winning a siege, during which the claim is
not secured, customizable.
2017-08-31 15:49:33 -07:00
Ceees2
a23703707b
Using PreparedStatements instead of normal Statements ( #99 )
2017-08-23 08:37:25 -07:00
David Precious
72504941df
Configurable trapped words ( #186 )
...
* Make trapped words fully configurable.
Before, it contained hardcoded checks; the value of
`Messages.TrappedChatKeyword` was in addition to the hardcoded ones.
Make it more flexible, so you can override them entirely (and provide as many as
you want, comma-separated), and an empty value disables the message totally.
(Default value is 'trapped;stuck' to provide the same behaviour the hardcoded
checks did.)
2017-08-18 02:04:09 -07: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
Simon
7efaa3b0fd
Change worldguard-checking behaviour. ( #160 )
...
Prevent players from creating a claim if _any_ part of their claim includes a worldguard region they cannot build in. (Previous behavior only prevented claiming if the entire claim was within a worldguard region the player could not build inside.)
2017-07-21 18:59:41 -07:00
jacob1
5d474e51f5
add /restrictsubclaim ( #135 )
...
Will update databases - warn server owners to backup when releasing (they should be backing up anyways...)
2017-07-21 18:54:24 -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
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
37198d09b1
Use wood pickup stat instead of achievement
...
1.12 removed achievements
2017-05-14 21:45:48 -07:00
zhro
e2609b8973
Don't warn players about unclaimed land if they do not have the 'griefprevention.createclaims' permission. ( #112 )
...
Add an optional extended description…
2017-04-04 13:26:49 -07:00
BillyGalbreath
8fdb6e07ee
Add PlayerKickBanEvent ( #103 )
2017-03-22 11:26:22 -07:00
David Precious
73fcd9a674
add new permission to show claim dimensions
...
Show the claim size to those with griefprevention.seeclaimsize when right-clicking with the investigation tool
(stick by default) - it's not exactly private information, the claim boundaries
are visualised so it would be easy to just count the blocks or compare the
coords of the corners to find out.
2017-03-17 09:37:58 -07:00
BillyGalbreath
3837794c56
Make sure the visualization event is called when auto reverting visuals ( #104 )
2017-03-12 23:50:02 -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
Rodzynus
678f442cda
Account for 1.11 Horse class changes ( #93 ) ( #94 )
...
* Fixed issue #93 , this time using AbstractHorse entity.
2017-02-24 09:14:43 -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
Erik1988
b81e802b79
Option to globaly allow use of spawner egg ( #91 )
...
If enabled, players are allowed to place mob spawn eggs inn all claims (including admin claims).
2017-02-19 11:32:33 -08:00
BillyGalbreath
b8a5cb79d1
Add idle claim block accruals percentage ( #90 )
...
(defaults to 0 for legacy behavior)
* Math fix :S
2017-02-18 19:23:13 -08:00
BillyGalbreath
daf34703e4
Add configuration option for silencing login and logout notifications ( #89 )
2017-02-18 19:11:39 -08:00
RoboMWM
3043298640
v16.6 Compatibility with custom biomes that don't set a temperature
2017-02-04 13:13:07 -08:00
BillyGalbreath
ac319f4e1c
add configurable threshold for idle detection ( #75 )
...
Also fixes the no-movement idle detection.
2017-01-27 07:43:17 -08:00
BillyGalbreath
70469d1b4c
Fix idle detection when other plugins handle AccrueClaimBlocksEvent ( #71 )
2017-01-21 16:34:44 -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
39e1e13dda
Always schedule SendPlayerMessageTask
2017-01-20 06:15:52 -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
BillyGalbreath
9e4db8fb3e
Add VisualizationEvent ( #48 )
...
* Add VisualizationEvent
Need to know if subdivides are showing or not
* Javadocs for VisualizationEvent
2016-12-04 17:23:35 -08:00
RoboMWM
a8e9290cd8
Use a switch instead
2016-12-03 20:00:29 -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
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
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
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
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
b07b8a678a
/deleteclaim also restores nature, if configured to do so in survival worlds
...
Closes #11
2016-10-02 02:13:32 -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
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
Erik1988
750fd1de5b
Add option to allow /trapped to be used in administrative claims ( #8 )
...
erik1988:
Its now possible to allow players to use /trapped inside adminclaims.
Note that its off by default.
2016-09-22 13:14:03 -07:00
RoboMWM
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
MineTheCube
806f68967d
Make DataStore#getGroupBonusBlocks(UUID) public
...
This improve compatibility with external plugins
2016-09-20 18:30:46 +02: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
RoboMWM
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
ryanhamshire
d4eef6eb37
Merge branch 'master' of https://github.com/BigScary/GriefPrevention
2016-09-08 18:36:09 -07:00
jjm223
d4ea1cfa03
Add admin command to unlock the drops of other players.
2016-09-08 18:57:23 -05:00
ryanhamshire
7efbd63f8d
Fixed /abandonallclaims wrt pets
...
This command was releasing all pets in the abandoned land claims by
mistake.
2016-09-07 15:50:55 -07:00
Big Scary
9e1be73d46
Fix: Send new sign content to admins.
...
Accidentally broken by an earlier commit.
2016-09-07 15:35:40 -07:00
ryanhamshire
828e20cba8
Disable delayed logout messages by default.
...
This feature has value in anti-spam, but too many new GP installers are
confused by it. Disabling by default to save support cost - also I
figure at least some are installing the plugin, seeing this as a "bug"
and uninstalling without bothering to get educated, and that's bad for
their players.
2016-08-30 20:39:45 -07:00
RoboMWM
9afec8dfe8
Fix sign logging/spam detection
2016-08-28 13:30:01 -07:00
ryanhamshire
a76b834495
More reliable IP address limit.
2016-08-28 13:10:18 -07:00
Big Scary
7f95d70d4d
Work around falling block issue in Spigot
...
Don't convert falling blocks which pass through portals to items.
2016-08-28 13:07:50 -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
ryanhamshire
86a18e2f04
Added PreventBlockBreak event.
...
Supports the new SpleefArena flag in GriefPrevention flags. Fired when
a player is prevented from breaking a block. If cancelled by another
plugin, the break will be allowed.
2016-08-17 11:09:05 -07:00
ryanhamshire
b5236aed9a
Permission to teleport around besieged areas.
...
Intended for administrators. Defaults on for server ops.
2016-08-12 20:58:51 -07:00
ryanhamshire
70b8c242e2
Polar bears are not protected inside land claims.
...
Because they can sometimes be aggressive, they could be used to kill
other players in a non-pvp environment.
2016-08-12 20:56:02 -07:00
ryanhamshire
2b8af6a3e0
Tweaked initial softmute experience for admins.
...
When a player is auto-muted for using banned word, online admins will
now see that chat.
2016-08-12 20:54:08 -07:00
ryanhamshire
ebaa6235a0
Placing end crystals requires build permission.
2016-08-12 20:41:36 -07:00
Ryan Hamshire
dad90a795f
Merge pull request #52 from bigpresh/no_siege_yourself
...
No siege yourself
2016-08-08 15:42:38 -07:00
ryanhamshire
bed2e11c59
Improved spam detection.
...
Now blocking poetry spam and padded message spam.
2016-08-08 15:39:08 -07:00
ryanhamshire
ec87939497
Fixed dogs hurting pvp-protected players.
2016-08-08 15:37:32 -07:00
David Precious
f2dd7f6a8b
Bah, now with less muppetry.
...
Silly typo.
2016-07-06 16:57:59 +01:00
smc87
f33a732d05
Added .getName() 's ?
2016-07-06 16:57:11 +01:00
David Precious
575df4f8a5
Don't allow someone to attempt to siege themselves.
2016-07-06 16:56:51 +01:00
ryanhamshire
5cf3110824
Fix: Wither spawns injuring protected entities.
2016-07-05 20:05:41 -07:00
ryanhamshire
7e3d66aa9c
Fix: Duplication in siege mode.
2016-07-05 14:49:04 -07:00
ryanhamshire
de7b14733f
Better logging for /acball
2016-07-01 15:58:46 -07:00
ryanhamshire
95bfa6e472
Silence relog messages.
...
Prevents a player from logging out and then immediately back in from
adding low value messages to chat.
2016-07-01 15:58:46 -07:00
ryanhamshire
a97d5c191a
Improve death message spam blocker.
...
Can't mitigate by logging out and back in. Made blockage less obvious
to spammer. Increased default cooldown to two minutes.
2016-07-01 15:58:46 -07:00
ryanhamshire
c9f8f73b5b
Fix: Fire arrows ignite protected entities.
...
A change to the Bukkit API broke this.
2016-07-01 15:58:46 -07:00
Ryan Hamshire
2e3e9d66fd
Merge pull request #49 from RoboMWM/patch-14
...
Allow /separate and /unseparate to be used via the server console.
2016-06-30 13:18:03 -07:00
ryanhamshire
32f382cd7a
Updated /restorenature for 1.10
...
Added new block types.
2016-06-16 11:13:54 -07:00
ryanhamshire
38d7937e9d
Fixed players with notignorable missing chat.
...
Players who ignored "notignorable" players were chatting invisibly to
those notignorable players.
2016-06-16 11:12:41 -07:00
ryanhamshire
0e6d7bf11f
Fixed /trapped overriding in the nether.
...
Now other plugins can override the destination even in nether worlds.
2016-06-16 11:11:47 -07:00
ryanhamshire
c7327d4982
Permissions for claim block accrual.
...
Added nodes for higher limits on accrued blocks and faster accrual.
2016-06-16 11:09:24 -07:00
ryanhamshire
ee857f3a83
Fix partial nature restorations.
...
Were occurring in select situations.
2016-06-15 08:52:17 -07:00
RoboMWM
1009d5cee4
allow /separate and /unseparate to be used in console
2016-06-09 18:09:31 -07:00
ryanhamshire
ba8b4d8293
Added /AdjustBonusClaimBlocksAll
...
Adjusts bonus claim blocks for all online players.
2016-06-04 14:03:33 -07:00
ryanhamshire
c52f0b4da2
GPFlags: Allow pets be damaged in AllowPvP zones.
2016-06-03 21:27:47 -07:00
ryanhamshire
faccc26572
Perf: Check for creative world mode.
2016-06-03 21:03:53 -07:00
ryanhamshire
cfe61ef945
Piston handling tweaks.
...
1) Performance for pistons outside of land claims when they're allowed
to move blocks. 2) When not allowed to move blocks, now allowing
pistons outside land claims to retract when they can't pulling a block.
3) When allowed to move blocks, auto-break sticky pistons for sake of
perf just like I've been doing for non-sticky pistons for a long time.
2016-06-03 20:56:28 -07:00
ryanhamshire
943dde60a3
Made beetroot farmable with /ContainerTrust.
2016-06-03 20:35:27 -07:00
ryanhamshire
d08a51e53a
Fixed: Pulling animals / armor stands with rods.
2016-06-03 20:22:48 -07:00
Ryan Hamshire
2509693bc5
Merge pull request #43 from RoboMWM/patch-8
...
Make loadBannedWords public
2016-05-11 11:02:20 -07:00
Ryan Hamshire
af37181bbe
Merge pull request #45 from RoboMWM/patch-10
...
Make IgnoreMode enum public
2016-05-11 11:00:21 -07:00
Ryan Hamshire
ab0ae8f793
Merge pull request #47 from RoboMWM/patch-12
...
Change portal trap check to 30 seconds
2016-05-11 11:00:05 -07:00
Ryan Hamshire
4202290cf2
Merge pull request #48 from RoboMWM/patch-13
...
Log auto-muted chat messages
2016-05-11 10:59:42 -07:00
Ryan Hamshire
47fd2d951a
Merge pull request #42 from tim-savage/fences
...
Update Visualization.java with 1.8 fence materials
2016-05-11 10:58:38 -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
ryanhamshire
47470964ec
Update trapped in portal threshold.
...
Wait longer before deciding the player is trapped, since some players
stand still and wait longer while chunks load around them. (10 seconds
-> 60 seconds)
2016-05-05 10:04:04 -07:00
ryanhamshire
d46a2b1f6c
Save players trapped in portals who log out.
...
If they log out while trapped but before the auto-rescue task runs, this
will save them when they log back in as long as the plugin hasn't
rebooted since they left.
2016-05-05 10:02:48 -07:00
ryanhamshire
305978810d
Add /DeleteAllUSERClaimsInWorld.
2016-05-05 09:02:27 -07:00
ryanhamshire
3e245897a6
GP tools only work in the main hand.
...
Makes quick swapping more helpful, especially when you have the
investigation tool in one hand and the modification tool in the other.
2016-05-05 08:55:39 -07:00
ryanhamshire
fe2446b757
Update siege spoils feature.
...
Previously transferred all items from defender to attacker if the
defender was killed. Will now transfer only those which would have been
dropped (other plugins can remove from and otherwise change the drop
list before GP does anything with it).
2016-05-05 08:39:20 -07:00
ryanhamshire
4d9175e9a9
Reworked previous "workaround for craftbukkit bug".
...
Now with better understanding of root cause.
2016-05-05 08:24:21 -07:00
ryanhamshire
1ec0d3944b
Don't expire land claims while owner is online.
2016-05-04 16:46:48 -07:00
ryanhamshire
fa94db82bc
Workaround for CraftBukkit bug.
...
Getting ArrayIndexOutOfBoundsException from one of the API methods.
2016-04-27 20:11:42 -07:00
ryanhamshire
32e003b0ae
Fixed boat spam.
...
Old code didn't cover new boat types.
2016-04-25 20:22:35 -07:00
ryanhamshire
7db69b491d
Fixed: Shulkers protected in land claims.
2016-04-25 19:20:09 -07:00
ryanhamshire
c1e326e623
Drop unused code.
2016-04-25 16:58:58 -07:00
ryanhamshire
b2de66d030
Require build permission to place a boat.
...
Avoids boat spam, especially in public areas where /accesstrust is often
granted to everyone.
2016-04-25 16:57:52 -07:00
ryanhamshire
5258416db4
Dropped access trust requirement for boats.
...
Easily replaced if 'stolen', and might actually belong to a player who
drove the boat into the land claim. Allow well meaning visitors to take
their boats with them when they go rather than leave boat litter behind.
2016-04-25 16:56:15 -07:00
RoboMWM
5779a7b223
Make IgnoreMode enum public
2016-04-23 20:59:51 -07:00
ryanhamshire
f935806b45
Use Minecraft 'last played' for claim expirations.
...
This is a logout timestamp instead of a login timestamp, which is what
GP records.
2016-04-15 21:16:33 -07:00
ryanhamshire
faee4efbef
Fix-up for "broken" abandoned pets.
2016-04-15 21:08:36 -07:00
ryanhamshire
9285e475a7
Chest claims require createclaims permission.
2016-04-15 20:45:30 -07:00
ryanhamshire
ce16324209
Better point+click in snowy areas.
2016-04-15 20:22:59 -07:00
ryanhamshire
374f5c8117
RestoreNature: New block types.
2016-04-15 20:19:30 -07:00
ryanhamshire
26484e71e7
Fire protection is back.
...
Found a way to make it cheaper - we'll see how the new cost looks on
production servers.
2016-04-13 21:05:19 -07:00
ryanhamshire
9e8376a6a6
Fixed claims blocking build/break in worlds where claims are disabled.
...
This may also improve performance for the block place/break events. If
the world claims disable is permanent, server owners can use the new
/DeleteClaimsInWorld command to conveniently delete all of them.
2016-04-13 20:17:16 -07:00
ryanhamshire
62b3c9098c
Players with build permission can trample crops.
...
Previously, no crop trampling - now it's possible if the player has
build permission. Non-players (animals/monsters) still can't trample
because it's possible they may be manipulated by griefers to do that.
2016-04-13 20:14:11 -07:00
ryanhamshire
c92986bf5d
More complete releasing of pets on claim delete.
...
Horses were keeping their owner info and inventories, even though they
were marked as "wild". This somehow prevents them from being tamed by
another player, and also their inventories can't be accessed by anyone.
Will work on retroactively fixing the existing horses in this odd state
in another commit.
2016-04-13 20:12:21 -07:00
ryanhamshire
9ade7c9374
Fixed villagers dying to creepers.
2016-04-11 21:20:56 -07:00
ryanhamshire
6bf463bab1
Lingering potion PvP protections.
...
Protecting fresh respawns and players in pvp safe zones.
2016-04-09 20:39:33 -07:00
ryanhamshire
97f279cd6d
Add /DeleteClaimsInWorld
2016-04-08 11:35:35 -07:00
ryanhamshire
3402efe5c7
Stop using deprecated getItemInHand()
2016-04-07 21:37:50 -07:00
ryanhamshire
ce66ee80a3
Merge branch 'master' of https://github.com/ryanhamshire/GriefPrevention
2016-04-07 20:57:47 -07:00
ryanhamshire
3026b23a59
Fixed FrostWalker grief.
...
Freezing ice with this enchant now requires build trust.
2016-04-07 20:57:20 -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
ryanhamshire
f70e599783
Added debug log entries for claim expiration.
...
If enabled, will log each time it checks a player and if that player is
exempt, will note that as well.
2016-03-30 20:29:43 -07:00
ryanhamshire
a6b7e97b41
Config Option: Auto-Mute Obvious Chat Trolls
...
More convenient disable solution than clearing the banned words list,
which is in a separate file.
2016-03-30 20:24:30 -07:00
ryanhamshire
23bf1eda28
Fixed /claim creating tiny claims.
...
...when chest claim radius = -1.
2016-03-30 20:19:46 -07:00
ryanhamshire
b86b5accf5
Fixed claim limit bypassing.
...
/Claim wasn't respecting the limit specified in config.
2016-03-30 20:13:52 -07:00
ryanhamshire
5ff8558aa2
Fixed nullref exception during claim cleanup.
...
Probably related to the new skeletal horses.
2016-03-30 20:07:38 -07:00
Tim Savage
ed9e8ab068
Update Visualization.java
...
added 1.8 fence materials to isTransparent method
2016-03-25 05:31:38 -05:00
ryanhamshire
d0cd46704c
Added chorus fruit limitations.
...
Requires /accesstrust or higher permission at the teleport destination.
2016-03-21 19:42:11 -07:00
ryanhamshire
b51a4cbf8a
Fixed lingering potion of harm grief.
...
Doesn't damage protected entities (like claimed animals).
2016-03-20 19:51:33 -07:00
ryanhamshire
3e260ac21e
Protected ender crystals.
...
In land claims, damaging one requires build trust.
2016-03-20 13:54:56 -07:00
ryanhamshire
110f4e2009
Fixed ender crystals damaging protected animals.
2016-03-20 13:51:19 -07:00
ryanhamshire
03a802365c
Bug fix.
2016-03-20 13:50:49 -07:00
ryanhamshire
ba327c8906
Fixed golden shovel creating grass paths.
...
New problem in 1.9. Fix: GP's claim modification tool now exclusively
works with GP and doesn't have any other functionality (Vanilla or other
plugins, unless other plugins subscribe to cancelled player interact
events).
2016-03-15 16:24:38 -07:00
ryanhamshire
b83fc4a80c
Fixed right-click annoyance with golden shovel.
...
Root cause - dual wielding is a thing now, since 1.9 release. GP will
ignore your off hand item in all cases.
2016-03-15 16:19:22 -07:00
ryanhamshire
48fd319ff7
Fixed /RestoreNature having no effect in 1.9.
...
The Spigot team broke this.
2016-03-15 16:18:23 -07:00
ryanhamshire
133582b9b6
Fixed some claims not being completely deleted.
2016-03-15 16:17:51 -07:00
ryanhamshire
32cc947fe4
API: Claim expiration event.
...
Cancellable, with GPFlags in mind.
2016-02-02 13:34:54 -08:00
ryanhamshire
260db50cc3
API - GPFlags Support
...
Updated the API to support two new GriefPreventionFlags flags.
2016-01-31 09:02:46 -08:00
ryanhamshire
5867bbd3be
Fix: Dispenser-related log spam.
2016-01-31 09:02:45 -08:00
RoboMWM
cd0a9a9696
Limit hopper minecart placement
2016-01-29 21:54:15 -08:00
Ryan Hamshire
c2f2707a79
Merge pull request #38 from RoboMWM/patch-6
...
Make anti-death-message spam also silence death messages from other plugins
2016-01-29 11:50:10 -08:00
ryanhamshire
ac68b95301
Protected death loot doesn't take damage.
...
Previously, griefers could destroy it with fire or lava for example.
2016-01-28 10:19:36 -08:00
ryanhamshire
096c85ba9e
Perf: Claims Search
...
Big thanks to KaiKikuchi for suggesting this.
2016-01-28 09:28:48 -08:00
ryanhamshire
d8caa7f09c
Admin-initiated soft mutes to GP logs.
...
Were previously not included in "admin activity" category of abridged
logs.
2016-01-28 09:27: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
ryanhamshire
832bd0a2d8
Made messages.java more readable.
2016-01-20 16:25:42 -08:00
ryanhamshire
289b832b9a
Ignored lots of compiler warnings.
...
Mostly these are deprecations from the Spigot team which I believe
shouldn't be deprecated. For example, players refer to each other by
name, not UUID - so there will always be a need for player lookup by
name. Also the block IDs are a well-documented standard that everyone
understands, even if they're not very human-friendly. Plugins use those
IDs and data values to specify block types for example in config files.
As for the rest of the ignores, I either decided the warnings are just
noise based on the situation, or that I'm comfortable with the risks.
Possibly for the first time in 5 years of dev work on this plugin, I
just compiled without any warnings. :)
2016-01-20 16:25:42 -08:00
ryanhamshire
079d3c143a
Limit active block types in creative mode worlds.
...
Some blocks use CPU cycles whenever their chunks are loaded, which is a
griefing opportunity in creative mode worlds. Similar to entity limits,
this limits number of active blocks based on the total area of the land
claim.
2016-01-20 16:25:41 -08:00
ryanhamshire
44f46368b2
Revert "No projectiles in creative mode worlds."
...
This reverts commit 384599164d .
2016-01-20 11:31:31 -08:00
ryanhamshire
7c447f64ca
Revert "Reduced projectile ban to splash potions."
...
This reverts commit 74ab5aa515 .
2016-01-20 11:31:25 -08:00
ryanhamshire
74239ba15f
Revert "Revert "Reduced projectile ban to splash potions.""
...
This reverts commit 5e3aa30e21 .
2016-01-20 11:30:58 -08:00
ryanhamshire
5e3aa30e21
Revert "Reduced projectile ban to splash potions."
...
This reverts commit 74ab5aa515 .
2016-01-20 11:30:43 -08:00
ryanhamshire
74ab5aa515
Reduced projectile ban to splash potions.
...
Referring to previous commit.
2016-01-20 11:16:57 -08:00
ryanhamshire
384599164d
No projectiles in creative mode worlds.
...
Prevents some grief strats which result in crippling server lag or
crashes.
2016-01-20 11:10:55 -08:00
ryanhamshire
d5bc0e45ec
More aggressive silencing join/quit messages.
...
To 5 per minute from 20.
2016-01-15 15:21:16 -08:00