Commit Graph

1011 Commits

Author SHA1 Message Date
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
tastybento
683aca7043 Adjusted Clipboard to remove code smell and renamed package 2018-08-03 21:19:15 -07:00
tastybento
1c29dfca6b Removed generic wildcard type code smell 2018-08-03 21:02:55 -07:00
tastybento
1f4977ae62 Try again with travis.yml 2018-08-03 20:41:39 -07:00
tastybento
d98a670286 Try to fix Travis for SonarCloud. 2018-08-03 19:41:47 -07:00
tastybento
53f28eb68d Changed island team kick to use confirm API
Fix for:
https://github.com/BentoBoxWorld/bentobox/issues/214
2018-08-03 19:22:35 -07:00
tastybento
bad870d3da Reapplied commit to improve Maven.
Fixed test class failure.
2018-08-03 19:10:09 -07:00
tastybento
7aa2f33eab Put default settings for command desc and parameters back in
These should work now. No infinite loop.
2018-08-03 17:43:42 -07:00
tastybento
3e7307a56c Merge branch 'master' into develop 2018-08-03 08:25:40 -07:00
tastybento
48883bb75f Removed constants class for now. It's not needed. 2018-08-03 08:24:40 -07:00
tastybento
4d4c8da912 Revert "Maven cleanup, fix readme links"
This reverts commit 450786aea3.
2018-08-03 08:06:28 -07:00
tastybento
56d97d0d6c
Merge pull request #220 from sgdc3/master
Maven cleanup, fix readme links [WIP]
2018-08-03 10:52:22 -04:00
tastybento
5d27ea8fc6 Fixed spawners in schems. 2018-08-02 20:39:57 -07:00
tastybento
3c74ef0694 Moved admin and island commands into API package 2018-08-02 19:26:46 -07:00
tastybento
4a1dede795 Removed deprecated calls from IslandsManager for trapdoor check 2018-08-02 19:01:23 -07:00
tastybento
d3b5411b1b Fix for tab complete in game. 2018-08-02 18:39:10 -07:00
Gabriele C
450786aea3 Maven cleanup, fix readme links 2018-08-02 23:00:58 +02:00
tastybento
02e528cdc7 Debug 2018-08-02 08:11:46 -07:00
tastybento
2d75a92700 Fixed 1.13 schems 2018-08-01 22:02:53 -07:00
tastybento
ae3a341b89 WIP - using blockdata - doesn't work completely yet. 2018-08-01 17:24:52 -07:00
tastybento
acbcd27142 Temporary fix for island schem pasting.
Note that blocks are not pasted properly. The Clipboard class needs
rewriting to 1.13.
2018-08-01 16:40:21 -07:00
tastybento
a9da00478d Fixed EndermanListenerTest class to use BlockData properly. 2018-08-01 18:19:47 -04:00
tastybento
58288b0fa1 Added PVP active string. 2018-08-01 17:18:05 -04:00
tastybento
df5d63acf0 Clean up on the test classes for 1.13. 2018-08-01 10:12:43 -07:00
tastybento
733fc3d1c9 Fixed Endermen listener for 1.13 2018-08-01 09:35:31 -07:00
tastybento
4fab167d10 Fixed build errors.
Reverted back the generic commands for use by addons.

WIP - some tests need fixing for 1.13.
2018-08-01 08:55:48 -07:00
tastybento
cbc27ae715 Revert "Removed commands test units"
This reverts commit efb2adb455.
2018-08-01 08:29:20 -07:00
tastybento
422fd7b0e8 Revert "Removed /is and /bsbadmin commands"
This reverts commit c6e2ba6418.
2018-08-01 08:29:09 -07:00
Florian CUNY
399a5c1518 Version up FC-0.8
Fixed pom.xml (was still using 1.12.2 API)
Updated plugin.yml (main class)
2018-08-01 11:29:45 +02:00
Florian CUNY
138b8e7568 Updated test units to 1.13 API 2018-08-01 11:21:29 +02:00
Florian CUNY
e6418f0957 Finished updating source code to 1.13 API
Test units still need to be updated.
2018-08-01 11:03:03 +02:00
Florian CUNY
efb2adb455 Removed commands test units 2018-08-01 11:02:13 +02:00
Florian CUNY
1a63b2431e CompositeCommand : added defaults for setDescription and setParameters 2018-08-01 10:36:38 +02:00
Florian CUNY
b600dacbdd Continued 1.13 support 2018-08-01 10:18:37 +02:00
Florian CUNY
c6e2ba6418 Removed /is and /bsbadmin commands 2018-08-01 10:16:57 +02:00
Florian CUNY
46f22e5467 WIP - Updating to full 1.13. Will not build. 2018-07-31 21:17:10 +02:00
Florian CUNY
5fa0f590f1 Made TNT a PROTECTION flag instead of SETTING 2018-07-31 20:04:47 +02:00
Florian CUNY
84515642bf Removed GameType in Constants (useless) 2018-07-31 18:19:36 +02:00
Florian CUNY
2210cdc2e8 Javadoc and line spacing in BentoBox 2018-07-31 18:14:57 +02:00