Commit Graph

244 Commits

Author SHA1 Message Date
RoboMWM 9414700d40 ignore vanilla teleports. Fixes #210 2017-12-20 09:26:31 -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 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 04bc32336c Implement #114 2017-07-22 00:19:09 -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
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
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
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 daf34703e4 Add configuration option for silencing login and logout notifications (#89) 2017-02-18 19:11:39 -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 72070c8df3 Protect flower pots 2016-11-20 15:02:35 -08:00
RoboMWM d6caffb2e2 Use 1.11 API, commented on code to possibly remove 2016-11-17 02:14:47 -08: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 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 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 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
ryanhamshire a76b834495 More reliable IP address limit. 2016-08-28 13:10:18 -07:00
RoboMWM 1b77f12a4b broaden nether portal trap check 2016-08-26 19:44:18 -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 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
ryanhamshire bed2e11c59 Improved spam detection.
Now blocking poetry spam and padded message spam.
2016-08-08 15:39:08 -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 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 d08a51e53a Fixed: Pulling animals / armor stands with rods. 2016-06-03 20:22:48 -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
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 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 4d9175e9a9 Reworked previous "workaround for craftbukkit bug".
Now with better understanding of root cause.
2016-05-05 08:24:21 -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 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
ryanhamshire faee4efbef Fix-up for "broken" abandoned pets. 2016-04-15 21:08:36 -07:00
ryanhamshire ce16324209 Better point+click in snowy areas. 2016-04-15 20:22:59 -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