ryanhamshire
ba327c8906
Fixed golden shovel creating grass paths.
...
New problem in 1.9. Fix: GP's claim modification tool now exclusively
works with GP and doesn't have any other functionality (Vanilla or other
plugins, unless other plugins subscribe to cancelled player interact
events).
2016-03-15 16:24:38 -07:00
ryanhamshire
b83fc4a80c
Fixed right-click annoyance with golden shovel.
...
Root cause - dual wielding is a thing now, since 1.9 release. GP will
ignore your off hand item in all cases.
2016-03-15 16:19:22 -07:00
ryanhamshire
48fd319ff7
Fixed /RestoreNature having no effect in 1.9.
...
The Spigot team broke this.
2016-03-15 16:18:23 -07:00
ryanhamshire
133582b9b6
Fixed some claims not being completely deleted.
2016-03-15 16:17:51 -07:00
ryanhamshire
32cc947fe4
API: Claim expiration event.
...
Cancellable, with GPFlags in mind.
2016-02-02 13:34:54 -08:00
ryanhamshire
260db50cc3
API - GPFlags Support
...
Updated the API to support two new GriefPreventionFlags flags.
2016-01-31 09:02:46 -08:00
ryanhamshire
5867bbd3be
Fix: Dispenser-related log spam.
2016-01-31 09:02:45 -08:00
RoboMWM
cd0a9a9696
Limit hopper minecart placement
2016-01-29 21:54:15 -08:00
Ryan Hamshire
c2f2707a79
Merge pull request #38 from RoboMWM/patch-6
...
Make anti-death-message spam also silence death messages from other plugins
2016-01-29 11:50:10 -08:00
ryanhamshire
ac68b95301
Protected death loot doesn't take damage.
...
Previously, griefers could destroy it with fire or lava for example.
2016-01-28 10:19:36 -08:00
ryanhamshire
096c85ba9e
Perf: Claims Search
...
Big thanks to KaiKikuchi for suggesting this.
2016-01-28 09:28:48 -08:00
ryanhamshire
d8caa7f09c
Admin-initiated soft mutes to GP logs.
...
Were previously not included in "admin activity" category of abridged
logs.
2016-01-28 09:27:15 -08:00
RoboMWM
00bfad3b6b
Make anti-death-message spam also silence death messages from other plugins
...
Via changing priority of the onPlayerDeath listener from lowest to highest.
2016-01-21 16:12:47 -08:00
ryanhamshire
832bd0a2d8
Made messages.java more readable.
2016-01-20 16:25:42 -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
44f46368b2
Revert "No projectiles in creative mode worlds."
...
This reverts commit 384599164d .
2016-01-20 11:31:31 -08:00
ryanhamshire
7c447f64ca
Revert "Reduced projectile ban to splash potions."
...
This reverts commit 74ab5aa515 .
2016-01-20 11:31:25 -08:00
ryanhamshire
74239ba15f
Revert "Revert "Reduced projectile ban to splash potions.""
...
This reverts commit 5e3aa30e21 .
2016-01-20 11:30:58 -08:00
ryanhamshire
5e3aa30e21
Revert "Reduced projectile ban to splash potions."
...
This reverts commit 74ab5aa515 .
2016-01-20 11:30:43 -08:00
ryanhamshire
74ab5aa515
Reduced projectile ban to splash potions.
...
Referring to previous commit.
2016-01-20 11:16:57 -08:00
ryanhamshire
384599164d
No projectiles in creative mode worlds.
...
Prevents some grief strats which result in crippling server lag or
crashes.
2016-01-20 11:10:55 -08:00
ryanhamshire
d5bc0e45ec
More aggressive silencing join/quit messages.
...
To 5 per minute from 20.
2016-01-15 15:21:16 -08:00
ryanhamshire
fa68ba9ee8
Reworked inactive claim expiration.
...
Cost to check a claim for inactivity greatly reduced. Increased
frequency of checks to make inactive claims disappear closer to their
expiration times. Enabled claim expiration for all servers (can be
disabled), added configurable exclusions with generous defaults for
players who've been playing on the server a long time and/or have
somehow earned a significant amount of bonus claim blocks.
2016-01-15 10:06:34 -08:00
ryanhamshire
bed934ce09
Fixed automatic help from chat questions.
...
Was changing dollar sign in regex to formatting code point. That
conversion should not apply to regex strings.
2016-01-14 10:25:41 -08:00
ryanhamshire
884106300e
Apply profanity filter to chat slash commands.
...
And whispers. Doesn't soft mute player or explain, just cancels the
command. If player is brazen and goes to standard chat, then he'll get
muted there.
2016-01-14 10:22:27 -08:00
ryanhamshire
69c1a2ffd3
Limit TNT minecart placement.
2016-01-14 10:16:42 -08:00
ryanhamshire
89419ebade
13.5.2 Changes
...
Various, see changelogs on dev.bukkit.org or spigotmc.org.
2016-01-11 20:13:13 -08:00
ryanhamshire
bdfdf8cc0a
/Claim radius parameter requires golden shovel.
2015-12-23 09:25:01 -08:00
ryanhamshire
8a5797f63e
/Claim command updates.
...
Optional radius parameter. Does not require golden shovel unless player
has exactly one land claim and is in survival mode. Even the first use
of /claim now requires the player to have enough available claim blocks
to claim the area.
2015-12-23 08:36:56 -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
e8618c6a40
Improved logging for claim loading issues.
...
Specifically exceptions with NULL messages.
2015-12-23 07:56:14 -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
2f17383890
Fix for rare NPE on player interact.
2015-12-20 20:44:13 -08:00
ryanhamshire
32d65b5f58
Better experience around entity limits.
...
Armor stands weren't handled well - if a player directed an armor stand,
he may come back later to find some other items like paintings for
example missing. Now if at the limit, no placing new armor stands or
interact with (putting items on) existing stands.
2015-12-20 20:30:00 -08:00
ryanhamshire
3ca069e3bd
Added /Claim and /ExtendClaim
2015-12-17 21:09:08 -08:00
ryanhamshire
6db3e11ab1
Ban management plugin interoperability.
...
Added config options to use ban commands instead of directly adding to
the server's ban list.
2015-12-16 15:07:30 -08:00
ryanhamshire
709bb55e98
Release pets on claim delete.
...
Except for owner-initiated deletes (/AbandonClaim).
2015-12-16 14:44:34 -08:00
ryanhamshire
da920488b7
Golden shovel equip visualizes current claim.
...
If standing in a claim you can edit when you get your shovel out, it
will be visualized for you automatically.
2015-12-16 14:33:56 -08:00
ryanhamshire
fbd856cc64
Eavesdrop Immunity Permission
2015-12-16 14:27:06 -08:00
ryanhamshire
320f692c20
/RestoreNature block types for 1.8
2015-12-16 14:17:38 -08:00
ryanhamshire
745c4a2129
Allow players to send whispers to ignored admins.
...
Because those admins aren't ignorable, the mutual ignore principle
shouldn't apply.
2015-12-15 20:21:58 -08:00
ryanhamshire
5d5584241b
Easier claim management on water.
...
If in water, shovel and stick ignore water. Otherwise they treat water
is a solid block. Should make creating claims on water and resizing
claims when the corner to be moved is beneath water much easier.
2015-12-15 20:07:08 -08:00
ryanhamshire
f62a412932
Improved whisper ignore messaging.
...
Explains to whisperer why the whisper failed.
2015-12-15 14:34:50 -08:00
ryanhamshire
543de27307
Whispers from admins can't be ignored.
2015-12-15 14:30:28 -08:00
ryanhamshire
bd75c53cda
Ensure survival players can get their carts back.
...
Can only place if player has permission necessary to remove the cart.
Also fixes "griefing" railways by adding too many carts and forcing the
rail owner to come remove the extras.
2015-12-15 14:26:30 -08:00
ryanhamshire
5478adae71
Reveal player UUID when name lookup fails.
2015-12-15 14:01:46 -08:00
ryanhamshire
78fbe3a389
Config option for claim book delivery timing.
2015-12-15 13:57:08 -08:00
ryanhamshire
38362a3547
Fixed shift-click-stick returning too many claims.
...
Was returning claims from all worlds near player's coords, not just the
world the player is in.
2015-12-15 13:48:21 -08:00
ryanhamshire
285d5c655a
Improved logging for claim load failures.
...
Now includes identifying information to help server owner fix the
problem.
2015-12-15 13:43:38 -08:00
ryanhamshire
41401abfaf
Fixed blank lines in banned words file issues.
...
Blank lines resulted in lots of chat being muted which shouldn't have
been.
2015-12-15 13:38:33 -08:00
ryanhamshire
3611c09e7d
More boot fixes.
2015-12-10 14:41:55 -08:00
ryanhamshire
627049ba8a
Disable claim creation in worlds not in config.
...
Not defined in the config indicates the world wasn't loaded at GP boot,
which will cause a claim loading problem on next boot. Better to block
their creation than to have players get griefed because the claim
experiences a loading problem later.
2015-12-10 14:08:18 -08:00
ryanhamshire
ddcb7b25c9
Removed auto-delete of claims in unknown worlds.
...
Was problematic because some plugins load worlds AFTER GriefPrevention
finishes loading.
2015-12-10 14:02:46 -08:00
ryanhamshire
2f816c1a9b
Fixed subdivision loss during upgrade.
2015-12-10 13:52:45 -08:00
ryanhamshire
4e7da93eac
Manual delivery delayed to 2 minutes.
...
From 10 seconds.
2015-12-04 10:20:40 -08:00
ryanhamshire
280db0e352
Config option to protect pets in PvP.
...
Was previously always not protecting pets in PvP worlds. That is still
the default, but added an option to protect them (except wolves which
can attack players) in those worlds.
2015-12-03 17:48:44 -08:00
ryanhamshire
bf9f18e11c
Added instructions to messages.yml.
2015-12-03 17:23:42 -08:00
ryanhamshire
f9365e6f81
Added formatting code support to messages.yml.
...
Using the dollar sign ($).
2015-12-03 17:18:50 -08:00
ryanhamshire
0208bde89d
Fixed too-aggressive IP address re-use limiter.
2015-12-03 17:02:45 -08:00
ryanhamshire
37851aacbf
Softmute limits chat commands and whispers.
...
No more chat commands for soft-muted players. And they may send
whispers only to other soft-muted players.
2015-11-24 10:54:44 -08:00
RoboMWM
be6b9d80cf
API: CustomLogEntryTypes
...
All 3 AddLogEntry methods are public but 2 of them require this.
2015-11-11 03:11:49 -08:00
ryanhamshire
cf811cee86
Smarter slash command lists.
...
Whisper and chat slash command lists now auto-fill themselves with all
possible aliases. So if you put /tell in your whisper commands list, GP
will be smart enough to also add /minecraft:tell (and similarly for
plugins, including all aliases registered via plugin.yml for those
commands by those plugins).
2015-10-28 20:13:33 -07:00
ryanhamshire
e98a123380
Added help text to config file.
2015-10-26 13:44:28 -07:00
ryanhamshire
e60bcba4f9
Made monitoring soft-muted messages easier.
...
Optionally in the GP logs and always in the server logs.
2015-10-21 13:10:36 -07:00
ryanhamshire
e767551188
Public API to get claims by chunk.
2015-10-21 13:09:14 -07:00
ryanhamshire
e52627f08d
Added an option to prevent rabbits eating crops.
2015-10-21 12:58:21 -07:00
ryanhamshire
6ac2ba17a1
API: Made shovel mode enum public.
2015-10-13 14:08:43 -07:00
ryanhamshire
a56095e280
Added a permission node around player inactivity.
...
Using the stick, any player with this permission can see how long a
claim's owner has been offline.
2015-10-12 16:25:48 -07:00
ryanhamshire
58eedef773
Allowed ignoring offline players.
2015-10-12 16:15:59 -07:00
ryanhamshire
a3a916f7d0
Added PvP rules options for lava and flint/steel.
2015-10-12 16:10:24 -07:00
ryanhamshire
875303faf7
Better new player detection for creative mode.
...
Should help MineChat users in creative mode.
2015-10-12 15:55:03 -07: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
26cef61d7f
Fixed empty banned words list muting all chat.
2015-10-03 20:25:56 -07:00
ryanhamshire
bdbc35dc59
Fixed "ran out of room for claim permissions"...
...
...errors from SQL.
2015-10-03 20:19:24 -07:00
ryanhamshire
f45fdb70d3
Reliability/scale improvements for database mode.
2015-10-03 19:58:30 -07:00
ryanhamshire
9648c18571
12.7.1 - Admins are not ignorable.
2015-10-03 14:15:02 -07:00
ryanhamshire
a77572a017
Now vertically auto-extending claims on creation.
...
Should effectively protect basements and other underground bits of
surface-level structures from the moment of creation, provided the
underground bits connect to the above ground bits via player block types
(those which don't abundantly generate in the world).
2015-09-21 20:23:57 -07:00
ryanhamshire
864e6ad672
Fixed boot issue with database mode.
2015-09-21 20:04:14 -07:00
ryanhamshire
1ba6f7bc9d
Reliability boost for database mode.
2015-09-20 13:36:32 -07:00
ryanhamshire
f5318e3b19
Added profanity/troll filter.
2015-09-17 19:14:36 -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
287fe3e8dc
Automatic water cleanup for deleted claims in...
...
Automatic water cleanup for deleted claims in creative mode worlds. Was
previously lava only.
2015-09-14 20:12:36 -07:00
ryanhamshire
2182216499
Fixed invincible attack dogs.
...
Fix: When vanilla PvP is on, but GP config says it's off in a world,
dogs are invincible even though they can attack players.
2015-09-14 20:06:49 -07:00
ryanhamshire
1d4ce2f9ee
No more placing TNT in besieged land claims.
2015-09-14 20:02:40 -07:00
ryanhamshire
3214363aca
Fixed siege attackers using /ClaimExplosions.
2015-09-14 20:01:59 -07:00
ryanhamshire
9c00a47a29
Unique IDs for claim subdivisions.
...
Also performance updates and switch to YAML file format for flat file
data stores.
2015-09-12 14:17:00 -07:00
ryanhamshire
455d422c1f
Messaging update for siege mode.
2015-08-29 10:53:38 -07:00
ryanhamshire
e688627304
Siege: TNT destroys soft blocks.
...
During a siege, TNT may destroy soft blocks regardless of surface
explosion rules.
2015-08-28 18:01:17 -07:00
ryanhamshire
d6743f9040
Siege: TNT is now placeable and ignitable.
2015-08-28 17:55:04 -07:00
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
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
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
c26e0b3160
Perf: Deliver claim blocks task.
...
Now this task never has to read from file.
2015-01-14 17:39:44 -08:00
ryanhamshire
84731dc28e
Injuring villagers requires build trust.
...
Up from container trust previously.
2015-01-14 17:28:09 -08:00
ryanhamshire
682ededb81
Stronger protections for item frames, armor stands.
...
Now requires build trust to do damage, since they're decorative.
Right-click access is still container trust.
2015-01-14 17:24:57 -08:00
ryanhamshire
a7a132ccf8
Fixed visualizations not showing all subclaims.
2015-01-14 17:20:35 -08:00
ryanhamshire
14a57e28c6
Data migration fix.
2015-01-13 19:29:46 -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
f51d16bfa6
Made /rnf easier to use in grassy areas.
2015-01-12 21:59:35 -08:00
ryanhamshire
ec7346ec43
Daylight detector protections.
...
Now requires build trust to invert (right click).
2015-01-12 21:57:06 -08:00
ryanhamshire
78c346f789
Villager protections.
...
Interacting (right click) now requires containertrust or higher.
2015-01-12 21:55:18 -08:00
ryanhamshire
e90bae70db
Added option to disable WG compat feature.
2015-01-12 13:24:09 -08:00
ryanhamshire
4dd791fa08
Added ClaimDeletedEvent.
...
Fires only for top-level claims (not subclaims), and not for
resizes(horizontal) or extensions (vertical).
2015-01-11 15:33:05 -08:00
ryanhamshire
bea31f340e
Added API to get the complete list of claims.
...
Returned list is read-only.
2015-01-11 15:15:52 -08:00
ryanhamshire
5e0d3f09de
Added API to find a claim by its ID.
2015-01-11 15:08:40 -08:00
ryanhamshire
1d3214cbee
Usability improvement for PvP worlds config.
...
No more typing world names. Also easier to disable for all worlds if
that's what you want to do.
2015-01-11 15:06:03 -08:00
ryanhamshire
488f6e70e3
Performance tweak for previous.
2015-01-11 14:49:43 -08:00
ryanhamshire
338d310fe7
Limited negative splash potion effects.
...
Won't effect players standing in a no-pvp area, or any players when
thrown from a no-pvp area. Positive effect potions are not limited.
The thrower can always negatively effect himself.
2015-01-11 14:48:40 -08:00
ryanhamshire
90df1f3194
More small claim visualization tweaks.
2015-01-11 13:12:09 -08:00
ryanhamshire
d15ac75e67
Data migration tweak.
...
This is for compat with an old version (maybe one of the betas?) which
was saving with a shorter ==== string to separate claims/subclaims.
2015-01-11 12:15:51 -08:00
ryanhamshire
8070da8dda
Fixed disc theft.
2015-01-10 23:44:11 -08:00
ryanhamshire
0cb4572269
Fixed blank lines sent for empty messages.
2015-01-10 23:22:19 -08:00
ryanhamshire
9a81a80fd2
Better visuals for narrow and/or short claims.
2015-01-10 23:20:47 -08:00
ryanhamshire
b24984a398
Fixed cause of "some subclaims cant resize".
...
Also cause of "some subclaims can't be deleted".
2015-01-10 23:16:47 -08:00
ryanhamshire
f901373f14
Fixed unwanted log entries for subdivision resize.
...
And now the confirmation messages are sending as they should.
2015-01-10 23:16:21 -08:00
ryanhamshire
6e6b0d3ee6
Tweaked message for resizing others' claims.
...
Now shows OWNER's claim blocks remaining, or zero for admin claims.
2015-01-08 20:26:47 -08:00
ryanhamshire
6f428fc1df
Added a message to local claim search.
2015-01-08 20:12:58 -08:00
ryanhamshire
24f91ec509
Tweaked admin claims visualization style.
...
Edges to pumpkins from jackolanterns - less strain on the client to
recompute lighting.
2015-01-08 20:02:16 -08:00
ryanhamshire
cb6854abbb
Fixed log spam for portals to nowhere.
2015-01-08 20:00:23 -08:00
ryanhamshire
ecd0664d66
UUID conversion reliability improvement.
...
From bug reports, seems the max batch size might have been changed by
Mojang. Can't find any docs, so the code now starts with 100 per batch
and goes smaller with the first batch until it succeeds.
2015-01-08 19:40:08 -08:00
ryanhamshire
1e0830542d
Allowing environmental damage to minecarts.
...
Still not TNT, creepers, or players (without permission).
2015-01-07 20:08:04 -08:00
ryanhamshire
c5fab8dcd9
Tweaked lava buckets near players rule.
...
Ignoring non-survival players because they can't be injured, and leaving
the nearby player's name out to avoid outing any invisible players.
2015-01-07 15:14:30 -08:00
ryanhamshire
6568e41b60
Narrowed the IP address spam filter.
...
This will be easy to work around, but fewer false positives. GP's mute
style should minimize effort going into workarounds anyway.
2015-01-07 15:09:09 -08:00
ryanhamshire
01486f82dc
Reintroduced world guard compat feature.
2015-01-07 14:53:19 -08:00
ryanhamshire
cef4052cfd
Fixed visualizations artifacting the horizon.
...
Workaround for a client bug triggered by sending block changes for
chunks the client doesn't have loaded.
2015-01-06 20:09:20 -08:00
ryanhamshire
51f6073193
Dropped an unused import.
...
No behavioral changes.
2015-01-05 21:08:47 -08:00
ryanhamshire
2c99b3a9e4
Nether portal fixes and perf optimizations.
...
Not checking when it's safe to not check. Checking maximum one
location. Unfortunately, asking the portal travel agent to find any
possible existing portal seems both expensive, and unavoidable in the
common case.
2015-01-05 21:05:05 -08:00
ryanhamshire
febd8f0525
Made player data saving/loading more reliable.
...
Refactoring and retry loops are both EVIL, but I'm out of better ideas
now regarding the "player data randomly resets" bug.
2015-01-05 18:41:11 -08:00
ryanhamshire
eb23d788bf
Prevent unwelcome portals, don't redirect them.
2015-01-05 14:05:53 -08:00
ryanhamshire
b666507320
Tweaked metadata for PlayerPortalEvent handler.
2015-01-05 13:28:10 -08:00
ryanhamshire
197609d4ba
Temporarily disabled world guard compat feature.
...
Until the WG forums community can find a more efficient way to do this
without taking a hard dependency.
2014-12-31 12:20:18 -08:00
ryanhamshire
3448930f87
Nether portal redirections.
...
When a player doesn't have permission to build in a land claim where a
new portal is to be created, redirect his teleport to outside the land
claim.
2014-12-30 18:21:40 -08:00
ryanhamshire
8c758ce28b
Fixed players getting stuck in nether portals.
...
This is a workaround for the spigot bug where a PlayerTeleportEvent
doesn't fire for portal teleportations.
2014-12-30 16:38:40 -08:00
ryanhamshire
dfc4264aec
Improved world guard compatibility.
2014-12-29 19:37:12 -08:00
ryanhamshire
744d39756c
Fixed /acb [permission.node] for database mode.
2014-12-29 13:41:27 -08:00
ryanhamshire
7efdc80739
Fixed: Ender pearls don't require access trust.
2014-12-29 13:13:34 -08:00
ryanhamshire
cd3e470cbc
Allowed fluid flow parent claim to child claim.
2014-12-23 10:52:17 -08:00
ryanhamshire
7b280d2b22
Prevented cannons from putting blocks in claims.
...
e.g. sand and gravel cannons
2014-12-23 10:43:50 -08:00
ryanhamshire
f0deef80aa
Fixed overzealous CAPS and similar message filters.
2014-12-23 10:11:44 -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
f5de6d5c33
Improved readability of /ClaimsList output.
2014-12-21 14:17:32 -08:00
ryanhamshire
e8f31151d2
Fixed broken claim visualizations.
2014-12-21 14:06:04 -08:00
ryanhamshire
5a3319022a
Added /GPBlockInfo
...
Useful for admins to set up their config files with correct IDs and data
values.
2014-12-21 13:32:09 -08:00
ryanhamshire
4a426f6469
Added /GivePet and tweaked pet protections.
2014-12-17 21:19:47 -08:00
ryanhamshire
14b0129c3e
Allow admins to damage pets with /IgnoreClaims.
...
Also protecting pets from environmental damage which could easily be
caused by griefers.
2014-12-17 16:58:57 -08:00
ryanhamshire
528fda95ff
Added pet protections. Tweaked drop protections.
2014-12-16 21:00:42 -08:00
ryanhamshire
2d94e6fdc7
Fixed overzealous protection of death drops.
...
Hash overlaps are to blame, I think. Limiting protections to the
immediate area where the player died.
2014-12-15 21:00:45 -08:00
ryanhamshire
81db249b2e
Fixed errors related to console command usage.
...
Console commands were working, but sending messages from them was not.
2014-12-15 19:58:47 -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
aa575cbc02
Fixed log entries from chat slash commands.
2014-12-15 19:25:18 -08:00
ryanhamshire
d18aa6cfe9
Fixed armor stand protection again.
...
Thanks for breaking it, Spigot team...
2014-12-15 19:19:44 -08:00
ryanhamshire
298830f076
Added show all nearby claims by holding shift.
...
While holding the stick. Requires a new permission node, to avoid any
lag from spamming this operation.
2014-12-13 20:52:26 -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
af460009bc
Added config options for eavesdropping. (2)
2014-12-13 11:27:50 -08:00
ryanhamshire
c757ecd01d
Added config options for eavesdropping.
2014-12-13 11:26:31 -08:00
ryanhamshire
23ceed62a3
Fixed disappearing subdivisions.
...
Was happening on both resize and on extend downward.
2014-12-11 19:39:22 -08:00
ryanhamshire
3c3506bf55
Added retry logic to UUID migration.
...
Finally got a detailed log from hitting a rate limit - added retry logic
for only the cases where it's definitely a rate limit problem.
2014-12-11 14:48:34 -08:00
ryanhamshire
acbfc5036e
Limited fire protection to claims-enabled worlds.
2014-12-09 15:11:32 -08:00
ryanhamshire
da24015259
Added adverts for /ac and /acb.
...
So people who don't read the manual will stop asking me already. :)
2014-12-09 15:03:02 -08:00
ryanhamshire
0b131e35a6
Fixed spam related to minecart damage.
...
For real this time, I hope. :)
2014-12-08 18:59:57 -08:00
ryanhamshire
f57fe68d7d
Added death drop locks, removed /deathblow.
2014-12-08 18:58:19 -08:00
ryanhamshire
77a7893673
Fixed NPE in vehicle damage handler.
...
Ugh, more stupid shit - if it's a vehicle damage event, how can there be
no vehicle associated?
2014-12-04 20:01:21 -08:00
ryanhamshire
7a0fa0d05a
Fixed /deletealladminclaims NPE (really).
2014-12-04 19:14:38 -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
f66ebe5dce
Armor stands are now buildable in creative worlds.
2014-12-04 16:23:06 -08:00
ryanhamshire
8eb7ced9c0
Fixed /deletealladminclaims NPE.
...
I think this has been broken since the beginning of the UUID migration
work, and nobody noticed.
2014-12-04 16:18:14 -08:00
ryanhamshire
fbd3c11f89
Removed debug message.
2014-12-04 16:16:24 -08:00
ryanhamshire
5a9732981f
Workaround for 2x player interact event bug.
...
Spigot bug:
http://www.spigotmc.org/threads/one-right-click-player-interaction-fires-two-player-interact-events.37600/#post-431325
2014-12-03 17:26:08 -08:00
ryanhamshire
5cc05bcc74
Fixed birch doors always being locked.
2014-12-03 16:57:37 -08:00
ryanhamshire
9361d5f219
Prevented armor stand building without permission.
2014-12-02 19:55:54 -08:00
ryanhamshire
b7cb5dba51
Perf: Faster player name lookup by UUID.
2014-12-02 19:22:23 -08:00
ryanhamshire
0bd36427c7
API tweak for back compat, adjusted blocks delivery.
...
(Block delivery wouldn't turn off with a /gpreload, only a full
/reload).
2014-12-02 15:08:15 -08:00
ryanhamshire
808b0757bb
Fixed log spam on modded servers.
...
Related to entities taking damage where no damage source is available -
sounds sketchy to me, but this workaround should fix the spam.
2014-12-02 14:58:04 -08:00
ryanhamshire
71412a12c2
Protected armor stands.
2014-12-02 14:37:36 -08:00
ryanhamshire
4d59f90543
Protected new types of doors and gates.
2014-12-02 14:28:59 -08:00
ryanhamshire
bfd93c2e7c
Adjusted for breaking changes in 1.8.
2014-12-02 13:32:29 -08:00
ryanhamshire
be0974bb25
Fixes: Non-Vanilla items and offline players.
...
Proactive defense against non-Vanilla items changing claimed parts of
the world without permission. Fixed offline player caching not caching
all the players it should.
2014-11-21 21:35:04 -08:00
ryanhamshire
9ceb5b1167
Player not found message update.
2014-11-21 13:35:59 -08:00
ryanhamshire
d69ab8fae6
More aggressive name/ID caching.
...
To 30 days from 10.
2014-11-20 19:26:17 -08:00
ryanhamshire
b58e74aac3
Smarter player name to ID caching.
2014-11-20 18:41:20 -08:00
ryanhamshire
485805c63a
Tiny message tweaks.
2014-11-20 10:52:26 -08:00
ryanhamshire
cd086ae3b7
Fix: Commands don't work with small claims.
...
Actually it depends on where you're standing (two edges have a problem).
Smaller claims mean you're more likely to be standing on a bad edge, so
smaller claims were more impacted.
2014-11-19 18:58:50 -08:00
ryanhamshire
f901ce2793
Perf: Offline player lookup by name.
...
By searching only players who've been online recently, the search is
made MUCH faster without trading a great deal of RAM to get it.
2014-11-19 18:43:44 -08:00
ryanhamshire
f2c1ea112e
Fix: Put max blocks back in the config file.
2014-11-18 19:39:24 -08:00
ryanhamshire
bb0f0bcf92
Fix: Creeper explosions don't hurt claimed animals.
2014-11-18 19:36:39 -08:00
ryanhamshire
ae1901ea25
Fix: /gpreload now actually works.
...
Look at that typo! It accidentally matched an inherited method! Ha.
:)
2014-11-17 19:50:15 -08:00
ryanhamshire
75ea8ff989
Added claim abandon block return ratio option.
...
The portion of claim blocks a player gets back when he abandons a land
claim. These come out of his accrued blocks, not his bonus blocks.
Does not apply to administratively removed claims. Defaults to 100%.
2014-11-17 19:47:21 -08:00
ryanhamshire
978f7a5ad1
Fix: Milking cows requires only /ct, not /trust.
...
Oddly, BOTH the block bucket event and the animal interact event fire,
and cancelling the block event also cancels the animal event. Added a
workaround.
2014-11-17 19:28:45 -08:00
ryanhamshire
23bd87f8e2
Fixes: Fishing Rods and Snowballs
...
Fixed animal theft with fishing rods, player harassment in pvp safe
zones with snowballs.
2014-11-16 15:38:30 -08:00
ryanhamshire
5df24c1302
Perf: Player Quit
2014-11-16 15:13:25 -08:00
ryanhamshire
9cf7117ea0
Perf: Claim Cleanup
2014-11-16 14:48:03 -08:00
ryanhamshire
1e7d499cbf
Perf: Claim Block Delivery
2014-11-16 14:33:17 -08:00
ryanhamshire
1a1bddef36
Perf: Claim Lookup
2014-11-16 14:17:40 -08:00
ryanhamshire
db0081e92e
Better logging for failures to read claim data.
2014-11-13 19:45:40 -08:00
ryanhamshire
13a44d774d
Added option to toggle PvP in admin subdivisions.
2014-11-13 19:45:16 -08:00
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