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
tastybento
d9236014de
Merge branch 'develop' of https://github.com/BentoBoxWorld/bentobox.git into develop
2018-08-07 18:51:33 -07:00
tastybento
8b2ed9c7af
Added convenience methods to TeamMakeLeaderEvent
...
Gives old owner and new owner UUIDs.
https://github.com/BentoBoxWorld/bentobox/issues/227
2018-08-07 18:51:23 -07:00
tastybento
2ca6b79e7c
Merge pull request #229 from BentoBoxWorld/revert-226-patch-1
...
Revert "Update .travis.yml"
2018-08-07 18:39:13 -07:00
tastybento
7bbccd6deb
Revert "Update .travis.yml"
2018-08-08 10:33:22 +09:00
Florian CUNY
bb9c2cbc00
Merge pull request #226 from sgdc3/patch-1
...
Update .travis.yml
2018-08-07 17:04:34 +02:00
Florian CUNY
aab7d4a649
Made mod bypass permissions flags-specific & differenciated between everywhere and only on island
...
This is a 2 in 1 : #70 and #139 .
Those were long-awaited features. Now it's time for testing !
2018-08-07 16:42:47 +02:00
Florian CUNY
1455d6e7f5
Locales : added meta.banner, meta.auhors and meta.version
2018-08-07 16:26:37 +02:00
Florian CUNY
cd7f8ddf24
Commented the failing test out, so Travis builds again
2018-08-07 16:02:54 +02:00
Florian CUNY
90a868bc40
Updated ItemParser to use the new banner materials
2018-08-07 16:02:29 +02:00
Florian CUNY
e232452f65
Fixed 2 out of 3 tests
2018-08-07 10:44:13 +02:00
Florian CUNY
7d04d8acc2
Renamed /bbox info to /bbox version
2018-08-07 10:43:38 +02:00
Florian CUNY
2e75c8b4b4
Removed IslandSpawnCommand (unused)
2018-08-06 18:01:00 +02:00
Florian CUNY
16e864f495
Fixed some code smells
2018-08-06 18:00:47 +02:00
Florian CUNY
28cf3ca278
Removed unused settings from Settings
...
recoverSuperFlat (is a flag) and muteDeathMessages (an external plugin can do it)
2018-08-06 16:08:45 +02:00
Florian CUNY
941c81cb6f
Updated pom.xml to show everything in Javadocs
2018-08-06 16:00:02 +02:00
Florian CUNY
e22cdf0b36
Made Config use ConfigHandler instead of FlatFileDatabaseHandler
2018-08-06 15:59:38 +02:00
Florian CUNY
7f0dc2f6d3
Prepared handling of the other ConfigEntry fields for Config loading
2018-08-06 15:59:06 +02:00
Florian CUNY
cfbf3df1c3
BREAKING: Renamed [...]DatabaseConnecter to [...]DatabaseConnector
...
It was a typo shown by IntelliJ
2018-08-06 15:32:15 +02:00
Florian CUNY
5fa8f3997f
BREAKING: Renamed a few API classes to a more generic name
...
`BBConfig` to `Config`.
`BBDatabase` to `Database`.
`BBDbSetup` to `DatabaseSetup`.
Sorry @tastybento, hope it won't bother you too much :/
2018-08-06 15:19:06 +02:00
tastybento
ba557a1068
API Breaker: renamed BSB classes to be just BB
...
Hopefully, this is the last API breaker. I renamed the classes that
started with BSB to be just BB (bentobox). I now have to fix all the
add-ons I just broke...
2018-08-05 20:08:03 -07:00
tastybento
cfdabbb176
Removed AboutCommand test to get a clean build.
...
Please see my comment on the commit. Final classes can't be mocked (as
far as I know) so it's kinda impossible to make a test for this one.
2018-08-05 20:00:23 -07:00
Florian CUNY
d6da1daa48
Excluded Metrics.java from SonarQube
2018-08-05 11:06:08 +02:00
Florian CUNY
f8366cafec
Started a test unit for AboutCommand
2018-08-05 10:56:15 +02:00
Florian CUNY
b9e3d3306a
Also fixed description in pom.xml
2018-08-05 10:30:55 +02:00
Florian CUNY
d650d7f7f7
Fixed version in pom.xml
2018-08-05 10:25:35 +02:00
tastybento
765268aa25
Code cleanup using Intellij
2018-08-04 21:50:10 -07:00
tastybento
492a0b9105
Added ban/unban cooldown
2018-08-04 21:10:51 -07:00
tastybento
1256b0ee22
Added a bentobox command
...
Added reference about and info commands. These command run across worlds
and currently have no perms associated with them.
The main point was to enable BentoBox to have is own commands.
2018-08-04 20:43:38 -07:00
tastybento
783caf985f
Added generic cooldown methods to CompositeCommand
...
This API enables any command to have a cool down and to have that cool
down called by another command. For example, the Kick command sets the
cool down on the Invite command. It is possible for commands to set cool
downs on themselves too.
Currently, cool downs are not stored persistently in the database so
they disappear if the server is reloaded. This should be okay for now.
2018-08-04 18:45:13 -07:00
Gabriele C
45dcec13fb
Update .travis.yml
2018-08-04 21:02:15 +02:00
tastybento
2cc6d36997
Reworked test classes for managers
...
There are some weird NPE's that I couldn't work out in the test classes.
They do not occur when the class is run by itself, only when it is run
with all the others so I don't know why it is happening.
2018-08-04 10:13:08 -07:00
tastybento
25164d824b
Rewrote IslandsManager test class
2018-08-04 09:37:21 -07:00
tastybento
08604fc27d
Rewrote PlayersManagerTest class
2018-08-04 09:21:24 -07:00
Gabriele C
d979a89e41
Update .travis.yml
2018-08-04 09:16:48 +02:00
tastybento
93c3d3ce47
Removed code smells.
2018-08-03 23:31:02 -07:00
tastybento
5c46265771
Fixed code smells.
2018-08-03 21:30:06 -07:00