Commit Graph

171 Commits

Author SHA1 Message Date
ryanhamshire 23bf1eda28 Fixed /claim creating tiny claims.
...when chest claim radius = -1.
2016-03-30 20:19:46 -07:00
ryanhamshire b86b5accf5 Fixed claim limit bypassing.
/Claim wasn't respecting the limit specified in config.
2016-03-30 20:13:52 -07:00
ryanhamshire 03a802365c Bug fix. 2016-03-20 13:50:49 -07:00
ryanhamshire 260db50cc3 API - GPFlags Support
Updated the API to support two new GriefPreventionFlags flags.
2016-01-31 09:02:46 -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
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 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 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 2f17383890 Fix for rare NPE on player interact. 2015-12-20 20:44:13 -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 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 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 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 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 e52627f08d Added an option to prevent rabbits eating crops. 2015-10-21 12:58:21 -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 9648c18571 12.7.1 - Admins are not ignorable. 2015-10-03 14:15:02 -07:00
ryanhamshire 3214363aca Fixed siege attackers using /ClaimExplosions. 2015-09-14 20:01:59 -07:00
ryanhamshire 455d422c1f Messaging update for siege mode. 2015-08-29 10:53:38 -07:00
ryanhamshire 8364e39953 Added /ClaimBook command. 2015-08-21 12:57:25 -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 2fbbfcb9e8 Allowing for more narrow land claims. 2015-08-01 19:18:36 -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 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 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 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 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 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 d425f6736a Fixed database migration breakage.
Having to do with the new *.ignore files.
2015-05-21 19:24:55 -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 14717bd4c7 Added /ignore and /separate.
Also companion commands like /unseparate, /unignore, and /ignorelist.
2015-05-16 13:00:55 -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 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 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 d062f627c2 /acb will now work with player UUIDs.
In addition to player names.
2015-04-24 18:05:20 -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