Commit Graph

427 Commits

Author SHA1 Message Date
ryanhamshire 647f874cc0 Workaround: Client-side fire bug.
When creative mode player tries to put out a fire without permission, it
APPEARS to succeed to that player, until he logs out and back in.  This
works around that by explicitly sending that player a block update for
the fire block, which really hasn't changed.
2014-11-13 19:27:50 -08:00
ryanhamshire aa9f847fb6 Perf: Bed protections. 2014-11-12 19:53:07 -08:00
ryanhamshire 47388f3f7c Option to disable horse protections.
Allows other plugins with different horse protections to work.
2014-11-12 18:41:51 -08:00
ryanhamshire 5994c913f6 Perf: Block Spread 2014-11-11 21:53:13 -08:00
ryanhamshire 20e7ae00e5 Perf: Entity spawn event. 2014-11-11 21:47:16 -08:00
ryanhamshire 8acbee346e Perf: Player Interactions and Block Breaks
More perf boosts.  No more anti-tree-topping, and fires are no longer
protected by default (new config option).
2014-11-11 21:09:00 -08:00
ryanhamshire 02fba83551 Perf: Interactions, Fluid Flow, Block Deliveries
Improved performance for player interact handler, fluid flow handler,
and scheduled claim block deliveries.
2014-11-11 15:52:09 -08:00
ryanhamshire b80e1cc2cd Removed wilderness bucket ban for survival worlds.
It generates a lot of complaints.  /RestoreNature can be used manually
to quickly clean up any above-sea-level water or lava.
2014-11-10 19:08:11 -08:00
ryanhamshire 2c75e4258f Fixed NULL offline player names breaking UUID migration. 2014-11-10 15:56:25 -08:00
ryanhamshire 1350cf6ea3 Bug Fix: Database boot.
Fixed: Having an orphaned subdivision (a rare situation) leads to most
or all claims being lost.
2014-11-07 21:08:19 -08:00
ryanhamshire a1dd7a7792 Added /gpreload.
Reloads configuration settings, but doesn't totally restart the plugin.
If the server owner has updated the JAR, then either /reload or server
reboot is still necessary.
2014-11-05 16:44:44 -08:00
ryanhamshire 4c6b215407 Fixed claims with subdivisions living on as ghosts.
Claims like this, when deleted, would still protect the area for any
players who have that claim cached.  This change seems to have fixed the
issue.
2014-11-05 16:27:06 -08:00
Matt D 96721a5053 Added support for optional horse protection to allow other plugins to manage these entities 2014-11-04 04:14:45 -05:00
ryanhamshire b7eb74cd2e Updated default commands to watch.
For eavesdrop and spam monitoring.
2014-11-03 19:40:33 -08:00
ryanhamshire f7945c0e41 Updated soft mute eavesdrop format and color. 2014-11-03 16:05:38 -08:00
ryanhamshire 6591933ad8 Fix for null player name.
WTF?  I guess in Cauldron, an offline player can have a null name.
2014-11-03 16:01:12 -08:00
ryanhamshire 5ebd570fdf Tweak for team bot spam.
Should be fewer false positives for uninteresting but innocent chat
patterns.
2014-11-03 15:56:43 -08:00
ryanhamshire 944916f979 Fixed /ContainerTrust not allowing nether wart. 2014-11-01 19:19:05 -07:00
ryanhamshire 9c1094b95b Added /SoftMute 2014-11-01 19:18:27 -07:00
ryanhamshire 5865dc354b More event handler performance improvements.
Interact, teleport.  Also a fix for two bugs in 8.6.3 - one in interact
handler, the other during logout when the player hasn't loaded any data
from file yet.
2014-10-30 22:07:03 -07:00
ryanhamshire ce6bddcd49 Perf: Limited unused claim scan to creative mode.
Previously applied to survival as well, but limiting it to creative
worlds greatly reduces the cost of running it.
2014-10-30 19:33:39 -07:00
ryanhamshire cb808ecacd Reduced CPU time for player login and logout.
By about 85%.
2014-10-30 19:24:07 -07:00
ryanhamshire 5cd161a296 Improved underwater claim management.
Better visualizations while the player is underwater, and both the stick
and shovel now point "through" water.
2014-10-29 15:27:13 -07:00
ryanhamshire 00fbb0f257 Sheep can't be dyed or sheared without permission.
Note: The client will still update the sheep color even when the event
is cancelled.  Reconnecting to the server or shearing the sheep (with
/ignoreclaims) will prove the sheep was not actually dyed.
2014-10-29 15:10:04 -07:00
ryanhamshire aa332257ff Database mode player data saving tweak. 2014-10-28 20:39:21 -07:00
ryanhamshire 51810a905a Bug fix: Initialization in database data store. 2014-10-28 19:28:29 -07:00
ryanhamshire 0ec63d6e1c Added "Farmtrust".
/ContainerTrust now grants permission to farm - use bonemeal on crops,
harvest crops, replant crops.  Does NOT allow for planting trees or
grass, or preparing new soil.
2014-10-23 19:57:25 -07:00
ryanhamshire f85cc0a3f5 Removed TrappedCooldownHours from config file. 2014-10-23 14:59:31 -07:00
ryanhamshire 7650477bdb Removed IdleLimitDays from config file. 2014-10-23 14:58:14 -07:00
ryanhamshire d31990d257 Bug Fixes: Mod Access Trust and Subdivision Stick
Mod Access Trust config setting now also protects from left clicks.
Right-clicking in a subdivision with a stick does not produce an error.
2014-10-22 19:23:07 -07:00
ryanhamshire 13a9cbf75a Removed cooldown on /trapped.
Players could work around this by logging out and back in anyway.  Seems
to be no real harm in allowing players to use this often if they need
it.
2014-10-21 10:36:25 -07:00
ryanhamshire 6311bf86ee Performance improvement for player interact events.
Now ignoring all "left click on air" events.
2014-10-20 14:40:02 -07:00
ryanhamshire 682ec35503 Added /IgnoreClaims advertisement to animals.
For both attacking and right-click interaction.
2014-10-19 13:26:57 -07:00
ryanhamshire ca6024e151 Redesigned per-world claim mode configuration.
Much easier to understand and customize, especially for server owners
who are new to GP and have both survival and creative worlds.  Also, a
performance improvement - when claim creation is disabled in a world, GP
will not protect any existing claims in that world.
2014-10-19 13:19:53 -07:00
ryanhamshire c0520880ff Fixed visualization blocks being hidden under snow. 2014-10-18 15:16:23 -07:00
ryanhamshire 3bda86b746 Fixed standard claims visualizing in red. 2014-10-17 20:07:42 -07:00
ryanhamshire 092130674b More accurate offline player search by name.
Will now prefer a perfect (case sensitive) match and only return a
case-insensitive match when there's no perfect match.
2014-10-16 20:50:14 -07:00
ryanhamshire b51006a949 Automatic visualization reversion.
Set to 60 seconds after visualization appearance.
2014-10-16 20:33:48 -07:00
ryanhamshire f2634fa464 "Too far away" with stick reverts visualizations.
Used to leave current visualization in place.  This is clearer, and
gives players a handy strategy for erasing visualizations when standing
inside a large claim - just point up at the sky and right click.
2014-10-16 19:57:56 -07:00
ryanhamshire aa2f9121f3 Increased effective range for claim tools.
To 100 blocks from 50.
2014-10-16 19:55:46 -07:00
ryanhamshire b7cd2bd943 New orange visualization for admin claims.
Administrative land claims now visualize using jack o lanterns - orange,
and more glow than a standard claim.
2014-10-16 19:54:51 -07:00
ryanhamshire a3d4a39e86 Ensure player data is completely saved on shutdown.
Changed shutdown data save to synchronous (from multithreaded).  Takes
longer but guarantees all data gets saved.
2014-10-16 19:17:44 -07:00
ryanhamshire 370f94a531 Version to 8.3 2014-10-15 19:32:40 -07:00
ryanhamshire 7fcba46c40 Tweaks: Build outside claims warning (2).
Less messaging for players who already have land claims.
2014-10-13 19:21:48 -07:00
ryanhamshire ea0efad12c Tweaks: Build outside claims warning. 2014-10-13 19:16:51 -07:00
ryanhamshire c4f7236e5f BugFix: Stack overflow in database boot.
Oops.
2014-10-13 19:08:43 -07:00
ryanhamshire b86b5809c3 More helpful new player messages.
Shortened new player messages to emphasize the tutorial link.  Questions
asked on the test server over the years indicate many players try to
muddle through using only the text rather than watching the video, or
don't read the entire text and see the video link.
2014-10-13 14:42:50 -07:00
ryanhamshire 01c77f85ab Eavesdrop by default.
On by default, and now including /w and /t by default.
2014-10-13 14:30:41 -07:00
ryanhamshire 5e01b64af4 Reduced noise from build warning.
Building outside of land claims now triggers many fewer warnings, and
those warnings are now always on.  They're also more helpful - a link to
the claims tutorial video is included for players with less than 2
claims.
2014-10-13 14:15:39 -07:00
ryanhamshire b016ad14e7 Removed donation chests option.
This isn't an anti-grief feature, so it belongs in an extension plugin.
2014-10-13 13:53:18 -07:00
ryanhamshire ac657d8a5f Removed option to disable auto cleanup in creative mode.
Disabling this results in a big time opportunity for griefers, who can
just move their land claims around to build without limits.  Now it is
always on, so any builds left behind will vanish.
2014-10-13 13:50:48 -07:00
ryanhamshire f7e24cd660 Removed option "no building outside claims".
Not sure any design for this would actually work well for anyone.
Shouldn't have added it in the first place.
2014-10-13 13:46:32 -07:00
ryanhamshire fc56e461d7 Login cooldown to seconds.
Default to 60 seconds instead of 2 minutes.  Now configurable in
seconds.
2014-10-13 13:35:53 -07:00
ryanhamshire c71ce6ff92 Faster database mode boot.
Reduced # of DB queries.
2014-10-13 13:22:55 -07:00
ryanhamshire 74e70dd21a Perf boost for banned logout.
Banned players no longer have their data saved on logout.
2014-10-13 11:33:26 -07:00
ryanhamshire 50d670a93c Perf boost for first-time logins. 2014-10-10 21:27:12 -07:00
ryanhamshire 25a3e8101e Fixed log errors related to visualizations.
Can't measure distance when A and B are in different worlds.
2014-10-10 16:12:58 -07:00
ryanhamshire 31d1eea8f1 BugFix: Now really converting $/_ players in flat file mode.
Missed one of two filters the first time.
2014-10-10 16:06:53 -07:00
ryanhamshire 9035f94df2 UUID Migration Perf Tweak
Another minor tweak to save time.
2014-10-09 16:06:59 -07:00
ryanhamshire 67978608d8 Performance: Faster player name lookup.
Especially beneficial to /trustlist and error messages (like trying to
do something in a land claim without permission).
2014-10-09 15:39:16 -07:00
ryanhamshire e7b649810e Memory Footprint: UUID Conversion
Saving RAM by clearing data after it's no longer needed by UUID
conversion code.
2014-10-09 15:13:19 -07:00
ryanhamshire 3ffb02e51e Memory footprint: Claims Lookup
Eliminated unwanted chunk loads from claim lookups and boot process.
Also a slight perf improvement for claim lookup.
2014-10-09 15:07:11 -07:00
ryanhamshire 549ae3441f Now UUID-migrating players with $ and _ names.
Players with names starting with these special characters will now be
migrated.
2014-10-09 15:05:50 -07:00
ryanhamshire 7c1b4ca32a Faster "trust" family commands.
Accomplished by NOT searching offline players except for /untrust.
2014-10-09 14:54:43 -07:00
ryanhamshire 29a2b8e17b UUID Migration Rework, Bug Fixes
Using multi-faceted strategy to better resolve UUIDs, and do it faster.
Fixed dispensers putting fluids in a neighboring claim.
Automatically deleting claims for worlds which no longer exist.
Streamlined visualization code, hopefully will reduce or eliminate weird
visualizations for VERY big land claims.
Removed option to disallow un-claiming land in creative mode.
Better default for last login date for new players or players who've had
their data deleted or lost.
2014-10-08 19:32:43 -07:00
ryanhamshire 28272032e0 Fixed players charged blocks twice for same claim.
Side effect: likely faster plugin boot due to reduced number of reads
and writes.
2014-10-07 19:28:56 -07:00
ryanhamshire 293317b369 Performance: Claim Lookup 2
Another big performance boost for claim lookup, and a reduction to the
number of player interact events processed by the plugin.
2014-10-06 20:42:53 -07:00
ryanhamshire 04d628b01e Performance: Claim Lookup
Major perf improvement for claim search.
2014-10-04 19:48:03 -07:00
ryanhamshire 94fa70c9d9 Performance - Streamlined event handlers.
Lots of changes, all around reducing processing time, especially for
very common or very expensive-per-instance events.
2014-10-02 19:27:15 -07:00
ryanhamshire 99986cc7b2 Performance - Eliminated unnecessary net traffic. 2014-10-02 14:15:23 -07:00
ryanhamshire 4f825cc8a4 Performance improvements for piston rules.
Introduced new default mode which doesn't allow pistons to move blocks
outside of land claims.  This is a huge performance savings.  The
original mode (still available on an opt-in basis) is also optimized for
better performance.
2014-10-01 19:14:11 -07:00
ryanhamshire ae56fdcbcc Banned players no longer show leave messages.
Admins still see the confirmation for the ban, and notifications for any
auto-bans (with reasons).  Players just aren't bothered with the leave
message.  Important for spam using lots of different accounts.
2014-09-30 20:57:54 -07:00
ryanhamshire 259e285847 Improved performance for fluid spread handling.
This very spammy event has always been costly.  It still is, but this
change makes each instance a lot cheaper, with slightly reduced
functionality.
2014-09-30 18:54:09 -07:00
ryanhamshire b72d0e100f Stopped extending claims just for breaks.
Claims still extend on build.  This saves writes to secondary storage
for better performance.
2014-09-30 18:34:34 -07:00
ryanhamshire 9510bc7415 Made limiting tree growth opt-in.
It can be expensive for some servers and trees growing aren't a /major/
griefing issue, so this feature defaults to off.
2014-09-30 18:28:18 -07:00
ryanhamshire 250c082d60 Letting Java decide when to collect garbage. 2014-09-29 19:16:57 -07:00
ryanhamshire 23e1803a81 Better boot logging and performance.
Improved boot logs to get more specific performance numbers, and
eliminated some non-essential boot steps to improve performance.
2014-09-29 16:12:32 -07:00
ryanhamshire 57cd709981 Stopped limiting tree growth.
This is a performance enhancement - the cost of limiting tree growth is
way too high considering the VERY low risk of "tree grief".  Also a
positive side effect - no more weird-looking "sliced" trees.
2014-09-29 15:37:39 -07:00
ryanhamshire cd85562e40 Fix for human-controlled bot spam.
Mutes/bans bots used by a human player to send lots of identical
messages using different accounts while varying the message and limiting
message speed to work around anti-spam measures.
2014-09-29 15:36:51 -07:00
ryanhamshire 59f394ab11 8.1.4 Changes
Version update, fixed /trust public, streamlined player lookup by name,
made SQL connection logs more detailed.
2014-09-27 20:13:50 -07:00
ryanhamshire 564a00fa5d DB UUID Migration: Fixed too many admin claims. 2014-09-25 11:19:47 -07:00
ryanhamshire 94c93fbcb4 Debug message removal. 2014-09-24 17:19:01 -07:00
ryanhamshire 82ca509878 Workaround for getTargetBlock deprecation. 2014-09-24 17:18:12 -07:00
ryanhamshire 41715aaad5 Migration update for offline mode servers.
Added best-guess logic for trying to get the right UUID for players who
play on offline-mode servers.
2014-09-24 15:28:05 -07:00
ryanhamshire ad57d1f7f7 Updated SQL code to account for database config differences. 2014-09-23 19:48:26 -07:00
ryanhamshire b017aa0f47 Updated help links.
Shortened help links and ensured the point to the most up to date help.
Also redesigned the help so that the links are easier to update later.
2014-09-22 18:40:52 -07:00
ryanhamshire 6da42a9077 Added UUID support.
Rewrote and retested parts of the plugin to use UUIDs instead of player
names to uniquely identify players.  Added data migration code to
convert old data to the new (UUID) format.
2014-09-22 13:46:13 -07:00
ryanhamshire fe473ebcb8 Finished back compat with buggy beta versions.
Now claim and player data that were written by beta versions will be
automatically carried forward and used by newer stable versions.
2014-09-15 20:13:17 -07:00
Joshua Reetz 23f8272a70 Added in compatibility with newest beta build's data format by skipping
any lines with UUIDs in them.
2014-09-11 19:53:39 -06:00
ryanhamshire 06eeab3b72 Prevent leashing claimed creatures.
Using a leash on a creature in a land claim now requires the claim
owner's container trust.
2014-09-08 15:08:37 -07:00
ryanhamshire e841afb5c6 Prevent theft from hopper minecarts.
Hopper minecarts in claims now require container trust to access their
inventories.
2014-09-07 20:18:47 -07:00
ryanhamshire c34d947860 Prevent item frame theft and breakage.
Item frames and the items in them are now protected.  The item frame
requires build trust, the item inside the frame requires container
trust.
2014-09-07 13:28:57 -07:00
ryanhamshire 8344102ed5 Prevent theft using hoppers.
Disallowing placing a hopper or rail beneath a land claim unless the
placer has container trust.
2014-09-06 21:42:11 -07:00
ryanhamshire 50bb2d3298 Bug Fix: Protected animal message.
Fixed "That belongs to {0}." message to include the claim owner's name
when interacting with or attacking protected animals.
2014-09-06 20:13:41 -07:00
ryanhamshire 84e4c77375 7.6.2 2013-02-16 14:07:42 -08:00
ryanhamshire 37ca831612 7.6.1 2013-02-06 21:26:00 -08:00
ryanhamshire 2734ba1ae9 7.2.2 2013-01-24 19:45:39 -08:00
ryanhamshire 6fa1b7340c 7.2 2013-01-05 08:19:42 -08:00
ryanhamshire 239f069d2b 7.1.2 2012-12-17 17:18:04 -08:00
Ryan Hamshire a74a663f4b 7.1.1 2012-11-28 17:50:30 -08:00
Ryan Hamshire c7c9fe9f07 7.0.1 2012-11-18 12:24:47 -08:00
Ryan Hamshire 7f600e7098 7.0 2012-11-14 17:33:22 -08:00
Ryan Hamshire e09a6732ba 6.9 2012-11-07 17:36:25 -08:00
Ryan Hamshire 6632af96df 6.7 2012-10-06 10:52:17 -07:00
Ryan Hamshire 1f6223526b 6.4 2012-09-10 16:38:48 -07:00
Ryan Hamshire 008f313d09 6.3 2012-08-29 19:24:33 -07:00
Ryan Hamshire bd215673c0 6.1 2012-08-20 18:09:18 -07:00
Ryan Hamshire e746aa20c0 6.0 2012-08-11 15:38:26 -07:00
Ryan Hamshire 452fd7f11a 5.9 2012-08-07 21:46:31 -07:00
Ryan Hamshire 50f572fc2b 5.5 2012-07-23 08:17:55 -07:00
Ryan Hamshire 9b277f5801 5.4 2012-07-18 17:18:04 -07:00
Ryan Hamshire 098a8c557f 5.3 2012-07-17 19:06:17 -07:00
Ryan Hamshire 341e200c42 5.2 2012-07-16 20:17:12 -07:00
Ryan Hamshire 311db20522 5.1 2012-07-12 19:44:22 -07:00
Ryan Hamshire 6cb8df52c7 5.0 2012-07-05 17:22:50 -07:00
Ryan Hamshire beec9c4e50 4.9 2012-07-01 14:44:07 -07:00
Ryan Hamshire 2e39b36f1b 4.7 2012-06-20 17:10:07 -07:00
Ryan Hamshire 0b27cb36d5 4.6 2012-06-17 10:33:20 -07:00
Ryan Hamshire 03c920f568 4.5 2012-06-11 17:16:13 -07:00
Ryan Hamshire 7e6c06289b 4.3 2012-06-02 14:29:01 -07:00
Ryan Hamshire afe868de2f 4.2 2012-05-30 19:16:46 -07:00
Ryan Hamshire 540746ad4b 3.8 2012-05-22 20:31:42 -07:00
Ryan Hamshire 136bf91c8a 3.6 2012-05-09 17:29:51 -07:00
Ryan Hamshire f7fe4e921e 3.6 2012-05-09 17:29:21 -07:00
Ryan Hamshire 0bed62739c 3.4.1 2012-04-30 20:11:39 -07:00
Ryan Hamshire 5037847814 3.3.2 2012-04-16 19:00:21 -07:00
Ryan Hamshire e68fd63194 3.2 2012-03-29 17:27:12 -07:00