Commit Graph

1285 Commits

Author SHA1 Message Date
Florian CUNY
353c87cf6d Fixed EnterExitListener to support non-set Island's name
When an Island's name was reset (set to `null`) it was breaking EnterExitListener.
2018-08-13 16:08:05 +02:00
Florian CUNY
a29a2ccd8c
Merge pull request #234 from BentoBoxWorld/command_ranks
Command ranks
2018-08-13 13:55:42 +02:00
Florian CUNY
82ee5d8928 Brought back FC-0.92
I need to merge this pull request in order to continue working on BentoBox (some changes might cause conflicts). Therefore, I just put the version back to FC-0.92.
2018-08-13 13:53:58 +02:00
tastybento
ec3e956d76 Enforced onlyConsole setting.
Removed extraneous test code method
2018-08-12 20:09:04 -07:00
tastybento
4681a0bd7d Added BentoBox reload command
Only reloads locales for now.
2018-08-12 19:52:13 -07:00
tastybento
94c5ac8e79 Fixed bug with loading add-on with no locales.
Fixed bug with no permission error in click listeners.
2018-08-12 18:53:56 -07:00
tastybento
6eeff3f383 Added test classes for coop, uncoop, trust and untrust commands. 2018-08-12 17:15:11 -07:00
tastybento
c1a6a233a9 Added team coop, uncoop, trust and untrust commands. 2018-08-12 16:43:47 -07:00
tastybento
82c35f9aa9 Fixed test breaks. 2018-08-12 14:28:25 -07:00
tastybento
67dc4eedb3 Merge remote-tracking branch 'origin/develop' into command_ranks 2018-08-12 13:46:01 -07:00
Florian CUNY
7ec497a93b Fixed general.errors.no-permission being sent twice 2018-08-12 18:50:12 +02:00
Florian CUNY
3212b7180d Changed a few locale references for consistency
Removed `general.errors.you-need` to put the [permission] variable in the `general.errors.no-permission`.
Renamed all confirmation-related references to `commands.confirmation.xxx`.
Renamed `protection.panel.flag-item.xxx_rank` to use a dash instead of an underscore.
2018-08-12 18:47:31 +02:00
tastybento
ca4db42e8d Fixed bug with locale files being saved from BentoBox into addon locales 2018-08-12 08:02:54 -07:00
tastybento
686b4398bc Merge remote-tracking branch 'origin/develop' into command_ranks 2018-08-12 07:59:13 -07:00
Florian CUNY
2fee163818 Fixed default description and parametersHelp (again)
Commit efb8cb27a9 broke it
2018-08-12 11:38:09 +02:00
Florian CUNY
5b7502d83f Fixed minor code smells 2018-08-12 11:28:36 +02:00
Florian CUNY
20116ff287 Changed the main package declaration restriction to be 'world.bentobox.bentobox'
It will allow us to create our addons using a "conventional" package naming, such as "world.bentobox.bskyblock", etc...
2018-08-12 11:01:40 +02:00
tastybento
d44889e7b0 Added command rank settings and extra ranks. 2018-08-11 21:08:04 -07:00
tastybento
203998d000 Made toLowerCase / toUpperCase use an explicit Locale
This avoids issues on some OS's.

Put in Commodore (but commented out). Just checking it out.
2018-08-12 05:12:14 +09:00
tastybento
bcb44c4cce Fixed PlayerManager tests. 2018-08-12 04:14:07 +09:00
tastybento
7e7001e99b Fixes UUID lookup
https://github.com/BentoBoxWorld/bentobox/issues/232
2018-08-12 02:47:38 +09:00
tastybento
efb8cb27a9 Merge branch 'develop' of https://github.com/BentoBoxWorld/bentobox.git
into develop

Conflicts:
	src/main/java/world/bentobox/bentobox/api/commands/CompositeCommand.java

	Fixed.
2018-08-12 02:44:39 +09:00
tastybento
0a65d7a8cc Added constructor to enable addon object passing. 2018-08-12 02:42:11 +09:00
Florian CUNY
8895cbf1a8 Updated locale references in BentoBoxVersionCommand 2018-08-11 16:05:02 +02:00
Florian CUNY
406441fc1e Version FC-0.92 2018-08-11 15:12:42 +02:00
Florian CUNY
9c240fbf54 Fixed tests in DefaultHelpCommandTest 2018-08-11 14:39:12 +02:00
Florian CUNY
d58570330a Fixed default parameters and description in CompositeCommand
Also accordingly updated the related javadoc.
2018-08-11 14:29:42 +02:00
Florian CUNY
8749566279 Minor variable-renaming in User 2018-08-11 14:07:46 +02:00
Florian CUNY
d73539f755 Fixed default help not sending description reference if no translation was found 2018-08-11 14:07:26 +02:00
Florian CUNY
1c2e553e9f Updated BentoBoxCommand 2018-08-11 14:06:49 +02:00
Florian CUNY
3d441928d0 Renamed AboutCommand to BentoBoxAboutCommand 2018-08-11 14:05:33 +02:00
Florian CUNY
699b439096 Renamed VersionCommand to BentoBoxVersionCommand 2018-08-11 14:05:12 +02:00
Florian CUNY
2f01671f72 Actually removed Constants class 2018-08-11 14:04:53 +02:00
Florian CUNY
f89bda6b5d Replaced #setParameters(String) by #setParametersHelp(String) in commands 2018-08-11 13:33:42 +02:00
tastybento
6ee5538930 Fixed help.
Usage is not translatable - it's a chained list of commands.
2018-08-10 14:59:13 +09:00
tastybento
46ae5883a1 Revert "Commented out the default description and parameter help for now."
This reverts commit f3442a32ab.
2018-08-10 14:57:18 +09:00
tastybento
f3442a32ab Commented out the default description and parameter help for now.
Let's discuss how to approach this better.
2018-08-10 13:59:38 +09:00
tastybento
67ab937b97 Revert "Removed useless #setDescription() and #setParameters() in commands"
This reverts commit 0e8e9dde67.
2018-08-10 13:47:58 +09:00
Florian CUNY
48b169537a Prepared automated showHelp if #execute() was returning false
I added the code, however I commented it out: there are a few problems with this for now, because some commands are using "return false;" to fail silently.

Also did javadoc'd #onlyPlayer(boolean)
2018-08-09 17:09:38 +02:00
Florian CUNY
ceb88d9c7b Improved Javadoc in BentoBoxCommand interface 2018-08-09 17:07:53 +02:00
Florian CUNY
1155549e4c Typo in comments in IslandEvent 2018-08-09 16:40:35 +02:00
Florian CUNY
5ae88349b4 Removed purge-related events (unused) 2018-08-09 16:40:21 +02:00
Florian CUNY
716495258c Replaced #setParameters(String) to #setParametersHelp(String) in CustomIslandMultiHomeHelp 2018-08-09 11:56:38 +02:00
Florian CUNY
0e8e9dde67 Removed useless #setDescription() and #setParameters() in commands 2018-08-09 11:56:05 +02:00
Florian CUNY
a9a932fdc3 Deprecated #setParameters(String) in favor of #setParametersHelp(String)
Also did Javadoc for #setParameters(String), #setParametersHelp(String),
#setDescription(String) (I had to override this one).
2018-08-09 11:54:48 +02:00
Florian CUNY
6d5518e97c Javadoc in PremadeEvent 2018-08-09 11:53:05 +02:00
tastybento
ea0f64a770 WIP added AdminDeleteCommand 2018-08-09 05:13:54 +09:00
Florian CUNY
aaaf88ffe3
Updated version for maven dependency in README 2018-08-08 13:18:17 +02:00
Florian CUNY
3cd8812ada Version FC-0.9 2018-08-08 13:14:48 +02:00
tastybento
d630c0d739 WIP - needs test class and testing 2018-08-08 13:05:12 +09:00