Commit Graph

82 Commits

Author SHA1 Message Date
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
RoboMWM 9afec8dfe8 Fix sign logging/spam detection 2016-08-28 13:30:01 -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 bed2e11c59 Improved spam detection.
Now blocking poetry spam and padded message spam.
2016-08-08 15:39:08 -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 9285e475a7 Chest claims require createclaims permission. 2016-04-15 20:45:30 -07:00
ryanhamshire 5867bbd3be Fix: Dispenser-related log spam. 2016-01-31 09:02:45 -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 a683a7225d Fixed automatic chest claim sizes.
A bug here resulted in claims which were bigger than the player had
blocks available, and also errors in the server log.
2015-12-23 08:19:06 -08:00
ryanhamshire e29d66735a Fixed prevent fire near players in PvP worlds.
Config option to do this wasn't working.
2015-12-20 20:53:05 -08:00
ryanhamshire 77a4a30432 Fix: Free claim blocks exploit on economy int...
...integrated servers which allow players to sell claim blocks and also
have automatic new player claims enabled.
2015-10-12 15:18:33 -07:00
ryanhamshire e98a0532b6 More wilderness protections for creative mode.
Blocks don't form outside of claims, fluids don't flow outside of
claims.
2015-09-16 14:41:05 -07:00
ryanhamshire 455d422c1f Messaging update for siege mode. 2015-08-29 10:53:38 -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 b6df5378b3 Special eavesdrop mode specific to signs. 2015-05-18 15:48:45 -07:00
ryanhamshire 70303e2ede Fix: Sign entries in server log have player name. 2015-05-03 13:19:49 -07:00
ryanhamshire 57d17423bf Better sign logging in abbreviated logs. 2015-04-24 18:36:21 -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 d15da5d02c Version to 11.1 2015-03-19 09:43:00 -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 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 97c9347772 Fixed a protection bug with pistons + slime blocks. 2015-02-25 17:31:30 -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 8362a084da Faster claim extension. 2015-01-26 16:07:41 -08:00
ryanhamshire ff491c1443 Fixed "somebody" instead of name for new players. 2015-01-16 18:03:50 -08:00
ryanhamshire 696df595bd Reduced frequency of "building outside claims".
Added a 10 minute cooldown period and administrators (those who can
create admin claims) won't see it at all.
2015-01-14 19:46:15 -08:00
ryanhamshire 62c3c997e2 Sign notification adjustment.
No notifications when sign contains only spaces.  Indentation of sign
content.
2015-01-13 18:25:33 -08:00
ryanhamshire dfc4264aec Improved world guard compatibility. 2014-12-29 19:37:12 -08:00
ryanhamshire cd3e470cbc Allowed fluid flow parent claim to child claim. 2014-12-23 10:52:17 -08:00
ryanhamshire 9ecbb7b931 Added better first time help and claim count limit.
Help messages should be harder to miss and easier to understand.  Added
config option to limit total land claims per player, defaulted off.
2014-12-22 16:31:22 -08:00
ryanhamshire ff18aeaa4a Blocked water flow across subdivision boundaries.
No more flowing into subdivision from top level claim or vice-versa.
2014-12-15 19:35:03 -08:00
ryanhamshire 58c6a818ba Allowing /ClaimExplosions to override sea level protections.
Except for creepers, explosions may now destroy blocks above sea level
in survival worlds when they originate in a claim with /ClaimExplosions
enabled.  They will not destroy blocks outside of that originating
claim.
2014-12-13 11:56:37 -08:00
ryanhamshire 3f33679424 Removed some limitations on hoppers and mine carts.
No longer needed - building at the bottom of a claim now extends the
claim downward, so no important blocks (like chests) will be thievable
by hoppers or hopper mine carts except in extremely rare,
not-manufacturable situations.
2014-12-13 11:39:53 -08:00
ryanhamshire cabcebe807 Code cleanup.
No functional changes.
2014-12-13 11:37:10 -08:00
ryanhamshire c757ecd01d Added config options for eavesdropping. 2014-12-13 11:26:31 -08:00
ryanhamshire acbfc5036e Limited fire protection to claims-enabled worlds. 2014-12-09 15:11:32 -08:00
ryanhamshire f80d1fa4d1 Better in-game sign notifications.
Multi-line, and including the sign's location.
2014-12-04 16:33:59 -08:00
ryanhamshire bfd93c2e7c Adjusted for breaking changes in 1.8. 2014-12-02 13:32:29 -08:00
ryanhamshire 5994c913f6 Perf: Block Spread 2014-11-11 21:53:13 -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 cb808ecacd Reduced CPU time for player login and logout.
By about 85%.
2014-10-30 19:24:07 -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 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 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