Commit Graph

1051 Commits

Author SHA1 Message Date
RoboMWM 187df11b20 version to 16.9.alpha 2018-08-13 07:21:10 -07:00
Narimm 643ad8a7f7 Add ClaimCreatedEvent and ClaimModifiedEvent (#344)
1. Claim creation event... this is fired once all the claim creation checks have been passed.  It can be cancelled. It contains the claim and the creating player
2. Claim modification event - this is fired as the claim is modified - it cannot be cancelled. It contains the claim and the modifier...which can be null.

Use Case:
This could be used so other plugins can hook gp and perform an action if a claim is created or changed. Something as simple as logging claim creations/modifications and deletions.
2018-08-13 07:09:05 -07:00
Miroslav Marchev 31c1581ca2 Update WorldGuard dependency to 7.0.0-SNAPSHOT (#343) 2018-08-13 07:02:50 -07:00
Javacraft e7495011aa Minor Maven Project Housekeeping (#334)
* Ignore Eclipse build/project artifacts.

* Fix Maven convention: rename src/tests/* to src/test/*

* Update Maven test dir. Remove directory specs for src, test, & rsrc.

${project.basedir} is the default directory. Only add directory
spec if different from convention.
2018-08-13 06:59:06 -07:00
zedwick 19c0f3220f The 1.13 PR (#320)
- Removes all code and config pertaining to the "mods" config section

- RestoreNature has issues in oceans
2018-08-13 06:53:14 -07:00
jacob1 ad07915664 Fix /rsc in admin claims (#300)
* Fix restrictsubclaim in admin claims

* Allow players with /ignoreclaims on to toggle restrictsubclaim flag
2018-07-24 17:38:46 -07:00
jer3m01 f84ff64c24 Fixed typo for Messages.BuySellNotConfigured (#305)
`anhd`--> `and`
2018-06-22 17:42:06 -07:00
Kris 2f5a2eea9c Allow wither to break blocks in claims that have temporarily allowed explosions 2018-06-17 16:50:57 -07:00
RoboMWM 03f2ff5568
Add hyperconomy to softdepend
According to #97 hyperconomy loads after GP. See #97 for discussion and etc. on a proper way to fix/avoid requiring this for any other economy plugins that happen to load before GP does.
2018-06-11 23:25:48 -07:00
Narimm b38e4aedb6 Refactor to maven standard layout (#270) 2018-06-11 23:11:37 -07:00
RoboMWM 0c95165af0 Goodbye travis, hello shiny new appveyor 2018-04-25 00:18:54 -07:00
RoboMWM 92299d683b make sendMessage public
Allows tighter integration with addons that wish to augment core GP
features/commands.
2018-01-01 15:44:13 -08:00
RoboMWM 05497b7b6a ensure worldguard warning is printed to server console 2017-12-23 08:41:43 -08:00
RoboMWM c6b3c3c4ab version 16.8 2017-12-23 08:29:11 -08:00
RoboMWM 9c5c7523a2 add fallback to old id-based system for chunk snapshots 2017-12-23 08:28:12 -08:00
RoboMWM fd0ddbf405 handle case of server not having ChunkSnapshot#getBlockType
i.e. tell server owner to update and handle conservatively.
2017-12-20 09:57:19 -08:00
RoboMWM 2a68fb9795
Update ISSUE_TEMPLATE.md 2017-12-20 09:29:09 -08:00
RoboMWM 9414700d40 ignore vanilla teleports. Fixes #210 2017-12-20 09:26:31 -08:00
RoboMWM 7aa9680876
Add option to disable negative claim block amount fixing (#236) 2017-12-19 14:05:27 -08:00
md-5 8040a17e5d Remove block ID usage (#234)
Also updates AutoExtendClaimTask with new API, will need to ensure users are using a recent build of CB
2017-12-18 21:26:31 -08:00
David Precious 5f6b541af8 Configurable siege resecure time (#203)
* Configurable time until sieged claim is resecured

Fixes #113.

Makes the five minute period after winning a siege, during which the claim is
not secured, customizable.
2017-08-31 15:49:33 -07:00
Ceees2 a23703707b Using PreparedStatements instead of normal Statements (#99) 2017-08-23 08:37:25 -07:00
David Precious 72504941df Configurable trapped words (#186)
* Make trapped words fully configurable.

Before, it contained hardcoded checks; the value of
`Messages.TrappedChatKeyword` was in addition to the hardcoded ones.

Make it more flexible, so you can override them entirely (and provide as many as
you want, comma-separated), and an empty value disables the message totally.

(Default value is 'trapped;stuck' to provide the same behaviour the hardcoded
checks did.)
2017-08-18 02:04:09 -07:00
RoboMWM 452a6a1c7e Add a delay before immediately rescuing players trapped in nether portals
In case they actually aren't and lagged out (perhaps due to chunk
loading), they'll have a few seconds to be able to walk out before being
automatically rescued on reconnect.

Also logs when a player has been rescued
2017-07-23 14:48:16 -07:00
RoboMWM 92a0adcfc0 Avoid hidden files as well when migrating to MySQL
Related to #158
2017-07-22 00:25:56 -07:00
RoboMWM 04bc32336c Implement #114 2017-07-22 00:19:09 -07:00
RoboMWM d079fcf379 Warn server owners about use of out-of-date Worldguard
closes #162
2017-07-21 23:24:52 -07:00
RoboMWM 4cb2abefeb Add a code comment explaining why we do this
Fixes #85
2017-07-21 23:15:48 -07:00
RoboMWM 9a642205d7 Revert "Always schedule SendPlayerMessageTask"
This reverts commit 39e1e13dda.
2017-07-21 23:12:35 -07:00
David Precious 217945ae69 README updates (#159) 2017-07-21 19:01:07 -07:00
Simon 7efaa3b0fd Change worldguard-checking behaviour. (#160)
Prevent players from creating a claim if _any_ part of their claim includes a worldguard region they cannot build in. (Previous behavior only prevented claiming if the entire claim was within a worldguard region the player could not build inside.)
2017-07-21 18:59:41 -07:00
jacob1 5d474e51f5 add /restrictsubclaim (#135)
Will update databases - warn server owners to backup when releasing (they should be backing up anyways...)
2017-07-21 18:54:24 -07:00
RoboMWM 8d0e5e8e5f Remove alias /dc for /deleteclaim
Could be typo'd accidentally.

> was trying to type /sc for staff chat and typed /dc by mistake
2017-07-17 20:36:09 -07:00
RoboMWM e5dc0f2861 travis, we use java 8 2017-07-09 09:28:21 -07:00
RoboMWM 39a4758c04 compile with java 8
A PR will be using it, and MC now uses Java 8.
2017-07-09 09:24:33 -07:00
RoboMWM f918ee18bc Disable DeniedMessageEvent
I don't know if this is the problem regarding another similar issue, but
I'd rather not risk it + it's likely not being used
2017-06-15 22:44:02 -07:00
RoboMWM 8e484ad4f7 Update README.md 2017-05-15 01:06:53 -07:00
RoboMWM ae0b0520dc version 16.7.1 2017-05-14 22:18:30 -07:00
RoboMWM f439ea62c0 Use banlist
because offlineplayer methods for setting ban have been long deprecated
and are now removed.
2017-05-14 22:17:58 -07:00
RoboMWM cefa66767c remove unused import 2017-05-14 21:53:29 -07:00
RoboMWM e6dc0d5104 version 16.7 2017-05-14 21:52:42 -07:00
RoboMWM 37198d09b1 Use wood pickup stat instead of achievement
1.12 removed achievements
2017-05-14 21:45:48 -07:00
zhro e2609b8973 Don't warn players about unclaimed land if they do not have the 'griefprevention.createclaims' permission. (#112)
Add an optional extended description…
2017-04-04 13:26:49 -07:00
BillyGalbreath 8fdb6e07ee Add PlayerKickBanEvent (#103) 2017-03-22 11:26:22 -07:00
David Precious 73fcd9a674 add new permission to show claim dimensions
Show the claim size to those with griefprevention.seeclaimsize when right-clicking with the investigation tool
(stick by default) - it's not exactly private information, the claim boundaries
are visualised so it would be easy to just count the blocks or compare the
coords of the corners to find out.
2017-03-17 09:37:58 -07:00
BillyGalbreath 3837794c56 Make sure the visualization event is called when auto reverting visuals (#104) 2017-03-12 23:50:02 -07:00
RoboMWM 8392069960 Merge branch 'master' of https://github.com/TechFortress/GriefPrevention 2017-02-24 14:24:10 -08:00
RoboMWM ec08a8b52b a tad more debug messages
Basically to help diagnose #95 and any future related issues.
2017-02-24 14:24:03 -08:00
RoboMWM 261620747e more debug logging 2017-02-24 12:48:59 -08:00
Rodzynus 678f442cda Account for 1.11 Horse class changes (#93) (#94)
* Fixed issue #93, this time using AbstractHorse entity.
2017-02-24 09:14:43 -08:00