Commit Graph

427 Commits

Author SHA1 Message Date
ryanhamshire 5f9d7041f4 Soft blocks now breakable during post-siege unlock.
After a defender loses a siege, during the doors unlocked period, soft
blocks now continue to be breakable.
2015-08-28 17:51:37 -07:00
ryanhamshire 8364e39953 Added /ClaimBook command. 2015-08-21 12:57:25 -07:00
ryanhamshire 9b9303dd6f Protected squids in land claims. 2015-08-21 12:48:08 -07:00
ryanhamshire 7faf3e52be Fixed intermittent exception saving player data. 2015-08-21 12:30:47 -07:00
ryanhamshire 2f2428ecd9 API: GriefPrevention.getOfflinePlayerByName public.
Accesses GP's cache of offline player data to make lookups by name very
fast.
2015-08-02 21:12:33 -07:00
ryanhamshire 5957a3d8fd API: Made player ignore lists public. 2015-08-02 21:11:00 -07:00
ryanhamshire fafb8a66e5 Reduced book delivery delay to 10 seconds. 2015-08-02 21:09:42 -07:00
ryanhamshire ce5e8488da Improved repeat message spam blocker. 2015-08-01 19:19:11 -07:00
ryanhamshire 2fbbfcb9e8 Allowing for more narrow land claims. 2015-08-01 19:18:36 -07:00
ryanhamshire 6dc3272815 Fixed eavesdropping.
Oops.  :)
2015-07-30 18:22:47 -07:00
ryanhamshire b95c34b6f2 Allowing other plugins to disable PvP protections.
Now plugins that want to can selectively disable GP's PvP protections.
2015-07-30 16:56:09 -07:00
ryanhamshire 1b0e88b0c1 Tweaked portal trap fix.
Doubled the delay from 5 to 10 seconds before concluding a player is
trapped in a nether portal and sending him back to his departure point.
2015-07-22 19:04:54 -07:00
ryanhamshire c62aa621b2 Added player land claiming manuals.
Unless disabled in the config, new players will get a book which tells
them which tools the server uses for land claims, lists common commands
for reference, and provides a hyperlink to more help.
2015-07-22 19:03:11 -07:00
ryanhamshire 797f46882b Fixed PvP rules worlds config setting.
Previously applied SOME pvp rules to non-pvp worlds.
2015-07-17 20:19:55 -07:00
ryanhamshire e5fa2e4eab API to determine whether a player is /softmuted. 2015-07-16 21:03:24 -07:00
ryanhamshire 2a7755d2a7 Don't eavesdrop when target can eavesdrop. 2015-07-16 21:00:53 -07:00
ryanhamshire fb33b28d5d Untrust fixes.
Managers can /untrust again.  Managers may not /untrust other managers,
or clear all a claim's permissions.  Also when clearing a claim's
permissions, that now includes managers.
2015-07-16 20:51:31 -07:00
ryanhamshire 21df6290df Chest-based claims for non-survival worlds.
Players may now create their first land claims in creative mode or
survival-requiring-claims mode worlds by placing chests.
2015-07-16 19:26:41 -07:00
ryanhamshire bb7c73b2f7 Reduced punishment for trying to send an IP address.
Now muting these messages without banning right away.
2015-07-16 19:16:00 -07:00
ryanhamshire 09bd3ca139 Support for zero commands requiring access trust.
Now the list of commands requiring access trust to execute in land
claims can be empty without any odd side-effects.
2015-07-16 19:10:37 -07:00
ryanhamshire 9cc4835383 No stick messages in non-claim worlds.
In "disabled" claims mode worlds, right clicking with the stick will not
display any message.
2015-07-16 19:03:37 -07:00
ryanhamshire f36e5f1435 Added notes for bans. 2015-07-14 18:13:33 -07:00
ryanhamshire a35ec99ddf Required build trust for redstone comparators.
Changing their configurations now requires build permission.
2015-07-09 18:39:41 -07:00
ryanhamshire b1b8d537c3 Fixed log errors when accrued per hour = 0. 2015-07-08 13:33:47 -07:00
ryanhamshire c1346c6488 Fixed farming trust in subdivisions.
Fixed /ContainerTrust allowing farming in subdivisions.
2015-06-29 20:59:58 -07:00
ryanhamshire 2b04da4b25 Fixed invincible guard dogs.
In PvP worlds, while in land claims, dogs could attack players but not
be damaged in return.  Now pet dogs are not protected in PvP-world land
claims.  Other types of pets are still protected as long as they're
inside a land claim where the attacker doesn't have sufficient
permission.
2015-06-27 09:34:34 -07:00
ryanhamshire bf9e7ceb85 Fixed "in pvp" status from staying after respawn.
Should be reset at respawn time to protect players from spawn camping.
2015-06-17 19:16:18 -07:00
ryanhamshire a3969c168c Added smarts for PvP rules in undeclared worlds.
For worlds which aren't listed in the config file because they weren't
detected when GP booted, GP will use Bukkit's world.getPvP() method.
2015-06-17 19:11:23 -07:00
ryanhamshire 4aa94fabb4 Fixed easy workaround for CAPS filter. 2015-06-12 19:12:03 -07:00
ryanhamshire 4a5d0ae3fa Claim files for non-existent worlds are deleted.
Previously were not being deleted due to a bug (input stream left open,
file not deletable).
2015-06-09 21:19:37 -07:00
ryanhamshire 1b650a59b2 Fixed: Claim managers can /untrust.
They shouldn't be able to do this.  Only an owner can /untrust, since
/untrust also revokes manager-level permissions.
2015-06-09 21:10:47 -07:00
ryanhamshire d9d2664570 Added /AdminClaimsList 2015-06-09 21:02:15 -07:00
ryanhamshire 573390277e Visualizations play better with signs.
Previously could cause clients to see blank signs until they refreshed
the sign block (on relog or right click).  Now signs won't be replaced
with visualization blocks.
2015-06-09 19:17:33 -07:00
ryanhamshire c5b57af151 Fixed a distance check.
Oops, can't measure distance when locations are in different worlds.
2015-06-09 19:12:08 -07:00
ryanhamshire 32e2a91f14 Access trust slash commands list update.
Now supports slash commands with specific parameters, like "/warp
create".
2015-05-30 13:16:19 -07:00
ryanhamshire 2f1084e35a Perf: Data storage. 2015-05-21 21:12:47 -07:00
ryanhamshire d1e29e7972 If in PvP combat, not protected from PvP by claims.
Also a bug fix for the /ignoreclaims override to bypass pvp immunity in
land claims.
2015-05-21 20:23:25 -07:00
ryanhamshire d425f6736a Fixed database migration breakage.
Having to do with the new *.ignore files.
2015-05-21 19:24:55 -07:00
ryanhamshire 6e821d44ee No claiming during PvP combat. 2015-05-18 16:03:28 -07:00
ryanhamshire b6df5378b3 Special eavesdrop mode specific to signs. 2015-05-18 15:48:45 -07:00
ryanhamshire 0615c17884 More customizable messages.
/Claimslist and /Trustlist
2015-05-18 15:17:07 -07:00
ryanhamshire 94500242f2 Inactive 90 days players are now targetable.
With slash commands like /acb and /deleteallclaims for example.
2015-05-16 19:34:08 -07:00
ryanhamshire 8f489cff16 Stopped trying to fill big holes in creative.
This means admins will have to do repair when players leave gaping holes
in the ground, but also means that having the wrong sea level set in
your config file will no longer create "random" islands in the sky.
Payoffs in better out of the box experience for custom worlds and fewer
instances of helping customers troubleshoot.
2015-05-16 19:32:26 -07:00
ryanhamshire 7f680d82a9 Restore nature tweaks for log blocks. 2015-05-16 19:28:47 -07:00
ryanhamshire b3cac816c6 Better logging for secondary storage problems. 2015-05-16 19:17:11 -07:00
ryanhamshire e23d8a956a Updated bypass rule for pvp in land claims.
Previously used undocumented permission, now determined by whether or
not the attacker is in /ignoreClaims mode.
2015-05-16 19:05:34 -07:00
ryanhamshire 14717bd4c7 Added /ignore and /separate.
Also companion commands like /unseparate, /unignore, and /ignorelist.
2015-05-16 13:00:55 -07:00
ryanhamshire 02dee1f21e Fixed NPE during login.
Not sure how a player could NOT have an IP address at this point?  But
logs from customers show it happens somehow.
2015-05-07 15:22:32 -07:00
ryanhamshire 70303e2ede Fix: Sign entries in server log have player name. 2015-05-03 13:19:49 -07:00
ryanhamshire d861688c04 Better config control over villager protections.
Now disabling creature protections allows players to injure villagers
without permission in land claims, and whether trading with villagers
requires permission is now an option in the config file, with default
on.
2015-05-03 13:17:45 -07:00
ryanhamshire ae9d57e6ed Added per-defender /siege cooldown.
15 minutes to rebuild, log out, relocate, etc.
2015-04-27 18:29:09 -07:00
ryanhamshire e353afb1a7 Perf: Delivering claim blocks.
Calling less often, doing less work each call.  Estimated 75% cost
reduction.
2015-04-26 18:14:01 -07:00
ryanhamshire b53ec39fbb Perf: Equipping the golden shovel. 2015-04-26 17:50:51 -07:00
ryanhamshire 4a3c105294 Recalibrated the IP address sharing limit.
Ignoring players with 'got wood' achievement, but reduced default limit
to 3.
2015-04-26 13:12:33 -07:00
ryanhamshire 3af2fb39bb Added limits to IP sharing. 2015-04-24 20:04:04 -07:00
ryanhamshire 57d17423bf Better sign logging in abbreviated logs. 2015-04-24 18:36:21 -07:00
ryanhamshire 306e02fe25 Removed formatters from abbreviated logs.
For better readability.
2015-04-24 18:22:36 -07:00
ryanhamshire d062f627c2 /acb will now work with player UUIDs.
In addition to player names.
2015-04-24 18:05:20 -07:00
ryanhamshire e833a0c361 (Continuation of previous.) 2015-04-23 21:17:45 -07:00
ryanhamshire bdf720281e Fixed error message /transferclaim offline player. 2015-04-23 21:11:19 -07:00
ryanhamshire baf29ae38f Allow players to sell unused accrued claim blocks.
They don't accrue again after being sold.
2015-04-23 20:57:16 -07:00
ryanhamshire 1da0a6f513 Anti-spam priority fix.
Attempt to beat NCP to the punch.
2015-04-23 20:46:25 -07:00
ryanhamshire af9fb6d56f Fixed bugs with explosion protection options.
All permutations now work as intended.
2015-04-21 21:25:04 -07:00
ryanhamshire c74eff07d7 Added abridged logs.
For server owners to very quickly and conveniently review chat logs by
day, and optionally GP administrative activity.  Also a debug mode for
log entries that would be too noisy for the standard server log.
2015-04-21 21:05:05 -07:00
ryanhamshire b67b2d531c Tweaked /claimslist output. 2015-04-13 20:30:10 -07:00
ryanhamshire 7d81dc4f5e Fixed /rn not working well with sea level very low. 2015-04-13 20:21:58 -07:00
ryanhamshire fa50376e46 Fix: Horse protections can be entirely disabled.
Previously, horses were still protected from damage in land claims even
when the config file said horses should not be protected.
2015-04-12 12:44:24 -07:00
ryanhamshire cad90078de Dragon eggs require build permission to teleport. 2015-04-08 14:35:39 -07:00
ryanhamshire 1c28e62fbd Spawn eggs require build permission. 2015-04-08 14:30:01 -07:00
ryanhamshire 38cbab1c40 Fixed explosions destroying too many blocks.
Due to a breaking Spigot change in 1.8.3.
2015-04-08 14:16:06 -07:00
ryanhamshire 6aad597436 Fixed players selling spent claim blocks. 2015-04-02 18:31:46 -07:00
ryanhamshire a285d73ca0 Fixed claims breakage. 2015-03-28 20:58:24 -07:00
ryanhamshire 39ecf85d39 Perf: Claim search. 2015-03-28 13:49:03 -07:00
ryanhamshire 29264350c4 Perf: Visualizations 2015-03-28 13:46:23 -07:00
ryanhamshire e91924eb94 Updated /ClaimExplosions and global explosions.
Now even when surface explosions are blocked, both /ClaimExplosions and
the global config option to allow all explosion damage inside land
claims will override that block.
2015-03-28 13:30:08 -07:00
ryanhamshire 123fc4c284 Fixed PvP immune players attacking pets. 2015-03-28 12:56:57 -07:00
ryanhamshire d15da5d02c Version to 11.1 2015-03-19 09:43:00 -07:00
ryanhamshire 89a434f200 Option to allow explosion damage in land claims. 2015-03-18 16:13:10 -07:00
ryanhamshire 80c0f55a88 Better logging for blocked spam messages. 2015-03-18 16:02:12 -07:00
ryanhamshire c781eca5c5 Fixed pvp rules applying where they shouldn't. 2015-03-18 15:51:18 -07:00
ryanhamshire 68da411528 Preventing signs with blocked IP addresses. 2015-03-18 15:49:07 -07:00
ryanhamshire 4662f7a3f3 Better sign notifications and logging. 2015-03-18 15:41:56 -07:00
ryanhamshire 0ec966d4fb Greatly reduced tolerance for IP address spam. 2015-03-16 20:23:55 -07:00
ryanhamshire 92d51670e4 Players buy and sell BONUS claim blocks, not accrued.
This means they can only sell what they've purchased, and they can't get
more for free for use in future sales to generate money over time.
2015-03-16 19:40:26 -07:00
ryanhamshire 62d6326503 Fixed abandoning subdivisions penalizing blocks.
AbandonReturnRatio shouldn't apply to abandoning subdivisions, since
they don't cost any blocks to begin with.
2015-03-16 19:35:03 -07:00
ryanhamshire 447a8a1fc4 Ender pearls don't trigger PvP combat mode.
Broke this when I fixed the issue with other plugins cancelling PvP
events.
2015-03-16 18:56:25 -07:00
ryanhamshire d3a2637b92 Added warning for outdated servers.
For those vulnerable to piston grief due to the addition of slime
blocks, which the Spigot team did not address in early versions of 1.8.
2015-03-07 11:10:50 -08:00
ryanhamshire 76d91d361f Fixed kit commands abusing PvP immunity.
Repeating check of inventory, just in case a plugin delivered items to a
PvP-immune player.
2015-03-03 20:50:47 -08:00
ryanhamshire 347085e8e0 Fixed "combat" starting for blocked damage events.
When another plugin prevents an attack, neither player should be put "in
combat" where GP's combat rules are concerned.
2015-03-03 20:35:53 -08:00
ryanhamshire a1db0cbb65 Removed a debug message. 2015-03-03 20:17:21 -08:00
ryanhamshire 8f85092618 Version to 11.0 2015-03-02 20:32:44 -08:00
ryanhamshire 394a6b279d Allowing monsters to hurt claimed villagers. 2015-03-02 20:15:37 -08:00
ryanhamshire e28bb8a8bd Logging for suspicious bucket dumps. 2015-03-02 20:11:11 -08:00
ryanhamshire b9ffd917e8 Perf: Visualizations 2015-03-02 13:58:27 -08:00
ryanhamshire d8804be658 Player names cache to another thread.
Should improve boot speed a lot for large / old servers.
2015-02-26 18:38:58 -08:00
ryanhamshire 97c9347772 Fixed a protection bug with pistons + slime blocks. 2015-02-25 17:31:30 -08:00
ryanhamshire 07ea755b4d Protected cake. 2015-02-25 17:24:21 -08:00
ryanhamshire 642aae4b2a Command to set a player's accrued block total. 2015-02-21 22:19:44 -08:00
ryanhamshire f0625270fd Config option to limit slash commands in claims.
Some can now require access trust.  Default list is only /sethome.
2015-02-21 21:51:39 -08:00
ryanhamshire 5fc17b9a44 Permission to make a player siege immune. 2015-02-21 21:34:20 -08:00