Commit Graph

383 Commits

Author SHA1 Message Date
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
ryanhamshire a0d2edf346 Bug fixes for anti-spawn-camping feature. 2015-02-21 20:57:51 -08:00
ryanhamshire 2f1e9af8d3 Bug fix for new claims mode. 2015-02-20 20:08:38 -08:00
ryanhamshire c40e8ac75c Survival Requiring Claims Mode
Disallows building/breaking outside of land claims, but doesn't involve
the other creative-mode rules.
2015-02-20 18:56:46 -08:00
ryanhamshire ff00b78189 Return cancelled pearls to players. 2015-02-20 18:49:12 -08:00
ryanhamshire 6fcaf3ac7d Perf boost for boot (file and db modes). 2015-02-16 20:14:47 -08:00
ryanhamshire 25e28c482a Spam filter tolerance adjustment for similar msgs. 2015-02-16 20:03:22 -08:00
ryanhamshire b86fded1db Bug fixes for /claimslist output. 2015-02-16 19:49:33 -08:00
ryanhamshire 63f70e3378 Fixed selling initial claim blocks. 2015-02-16 19:46:53 -08:00
ryanhamshire da4f0fda73 Bug fixes for animal vs splash potion protections. 2015-02-11 19:01:41 -08:00
ryanhamshire a29f18fe7a Bug fixes for recent /transferclaim changes. 2015-02-11 17:24:40 -08:00
ryanhamshire ed3347ab9b Automatic claim block totals corrections.
For settings changes and data fix-ups due to damage done by old bugs.
2015-02-11 16:00:44 -08:00
ryanhamshire 37bb74ec48 Added /ClaimsList <otherPlayer> permission. 2015-02-11 15:43:15 -08:00
ryanhamshire 27089048ea /TransferClaim updates.
1. Requires new transferclaim permission.
2. Does not adjust anyone's bonus blocks.
3. No argument means "make it an admin claim".
2015-02-11 15:39:30 -08:00
ryanhamshire c8d7c3a08a Fixed poisoning of claimed animals. 2015-02-11 15:30:30 -08:00
ryanhamshire c0a99f9e59 Fixed dispenser projectiles vs claimed animals. 2015-02-09 18:53:27 -08:00
ryanhamshire ac0a87124f Fixed self-damage putting a player "in combat".
Fixes especially ender pearls + immediate disconnect = death.
2015-02-06 18:45:00 -08:00
ryanhamshire 94739b58b0 Untrust in top level => untrust in children. 2015-02-05 18:16:17 -08:00
ryanhamshire e7e16e88fd UUID migration bug fix for database mode. 2015-02-04 16:21:26 -08:00
ryanhamshire c5ebc23615 UUID migration fix for very large servers. 2015-02-03 18:54:27 -08:00
ryanhamshire 2866d0cdea Emptying/filling cauldrons requires /ct. 2015-02-03 18:53:20 -08:00
ryanhamshire b04625d861 Fixed animals and monsters trampling crops.
To avoid trampling by griefers spamming chicken eggs or baiting monsters
into fields.
2015-02-03 18:50:54 -08:00
ryanhamshire 31aa352648 Fixed /givepet not working in PvP worlds. 2015-02-03 18:48:01 -08:00
ryanhamshire 3208bcd2cb Fix: Hoppers don't pick up locked drops.
Now lethal traps can't steal the victim's items.
2015-01-31 13:31:13 -08:00
ryanhamshire 1e85ed931d Admin claims + delete claim = resize small.
Now players with both admin claims permission and delete claims
permission may resize another player's claim to smaller than the minimum
size.
2015-01-31 13:08:05 -08:00
ryanhamshire 44fb29561e Faster UUID migration. 2015-01-31 13:05:51 -08:00
ryanhamshire f3d301ddc9 Perf: Nether portal restrictions are now optional.
Defaults to off.  The cost of determining if and where a nether portal
will be generated when a player steps through a portal is very high, and
this "grief" is both very difficult to execute and opportunistic.  Also,
it's arguably a gift rather than an attack.
2015-01-29 19:50:34 -08:00
ryanhamshire 30998c3d75 Made expanding chest claims easier.
For players expanding for the first time - allow them to resize to less
than the max size as long as it's an expansion.
2015-01-28 14:09:04 -08:00
ryanhamshire 66b18a0193 Even more reliability for SQL connections. 2015-01-28 13:55:46 -08:00
ryanhamshire 8f566ce816 Another UUID conversion fix for database mode. 2015-01-28 13:38:16 -08:00
ryanhamshire 7e2c75e10b Improved world guard compat feature.
Now it knows about world guard override permissions.
2015-01-26 18:40:58 -08:00
ryanhamshire c7b9897738 Jump potions on animals require container trust.
Otherwise griefers use it to steal animals over fences with bait.
2015-01-26 16:40:08 -08:00
ryanhamshire bdb423970e Removed option requiring permission to claim.
Now it's always true, and all players have that permission by default.
One more seldom-used config option removed!
2015-01-26 16:32:00 -08:00
ryanhamshire 78f306dc9f Prevent ExtendIntoGroundDistance < 0
Someone tried this despite the default value being a positive number, to
bad effect.
2015-01-26 16:28:23 -08:00
ryanhamshire b88e8da888 Workaround: mcMMO bleed effect.
When GP cancels the damage event, mcMMO still applies "bleed" effect to
entities.  Trying to work around this by reducing priority so that
hopefully GP code will run before mcMMO code.
2015-01-26 16:23:00 -08:00
ryanhamshire 8362a084da Faster claim extension. 2015-01-26 16:07:41 -08:00
ryanhamshire 783c5a9844 Perf: Player interact event. 2015-01-26 16:07:33 -08:00
ryanhamshire 58ea48df06 Fix for data migration.
Overwriting new data with old data because both the file with the
lowercased name and a newer file with correct-cased player name both
exist.
2015-01-19 17:57:52 -08:00
ryanhamshire 14f2486b37 Fixed creative mode claims expiring too fast. 2015-01-19 11:36:52 -08:00
ryanhamshire 9e4c1e58ce Fixed migration to database from flat file.
Broke during perf updates.
2015-01-16 18:16:04 -08:00
ryanhamshire ff491c1443 Fixed "somebody" instead of name for new players. 2015-01-16 18:03:50 -08:00
ryanhamshire 1eb211f0aa Fixed a chat message.
Link wasn't clickable, formatting was broken.
2015-01-16 15:59:56 -08:00
ryanhamshire a25d323897 Fixed UUID migration NPE in corner case.
Happens when world has been deleted AND the owner's UUID failed to look
up, AND running in database mode.
2015-01-16 15:51:17 -08:00
ryanhamshire 2ca6b429e3 Fixed player controlled mounts killing crops.
(Even when creatures trampling crops is allowed.)
2015-01-15 18:56:19 -08:00
ryanhamshire 0a9d8e30dd Preventing chat after login until movement.
Anti-botting feature.  :)
2015-01-15 18:48:00 -08:00