Commit Graph

21 Commits

Author SHA1 Message Date
tastybento
2c2cd774d3 Added team invite command. 2017-08-05 16:09:58 -07:00
tastybento
c5d0a09a76 Fixed tabComplete showing messages
Changed the response for canUse to return an error code because the
error could be different depending on the reason. For tabComplete no
error is shown, but for commands, the error can be shown.

Implemented the invite and uninvite commands and filled in the team
command.
2017-08-05 12:45:10 -07:00
tastybento
f515623e26 Implemented command arguments and tabcomplete changes
Args no longer include the sub-command, just the args after the sub
command.

Improved tab complete so that it completes half-written commands

Fixed deprecation issue with visitor guard.
2017-08-05 10:23:45 -07:00
tastybento
47d93c8660 WIP - team commands being added.
Commands in general do not work right now.
2017-07-30 17:26:18 -07:00
Poslovitch
6ca5affbf6 Tiny fix to avoid Travis compilation errors 2017-07-30 23:50:15 +02:00
tastybento
1635eee285 Added more protection listeners.
Flying mobs, visitor protection
2017-07-07 17:42:19 -07:00
tastybento
87ab500706 Removed unused imports.
Added configs.
2017-07-07 17:12:14 -07:00
tastybento
92ceaff1d2 Updated license to BSD license. 2017-07-07 14:33:00 -07:00
tastybento
cce5828ac0 Added protection for islands. 2017-07-06 22:00:21 -07:00
tastybento
3d74c4a427 Added object deletion to the database.
This is required when islands are reset or players deleted, for example.
The deletion is done based on the uniqueId of the object. Tested and
working for flat file and MySQL.

To make an island do /is create. To reset do /is reset.
2017-06-17 18:46:16 -07:00
tastybento
4609d86ff0 Got Players database working.
Note you need to be Op to create islands right now.
2017-06-12 08:04:26 -07:00
tastybento
12792f388e Implemented a locale system using resource bundles.
This approach avoids having to have a huge class with default text in
it. The ResourceBundle loaded YamlResourceBundle does the conversion
from YAML.
2017-06-11 16:30:34 -07:00
tastybento
dcda604e6c Added schematic loading and pasting.
Player can create an island using /island create
Only the default island is supported right now. No GUI.
Uses NMS to paste. Only supported on 1.12.
2017-06-10 16:08:21 -07:00
tastybento
c1c00648d9 MySQL and Flatfile databases now store and retrieve objects. 2017-06-10 10:59:53 -07:00
Poslovitch
465d85f358 Fixed Placeholders (forgot to add the replacer in Util#sendMessage() ) 2017-05-31 17:13:15 +02:00
tastybento
3cff4277b3 Added some serialization to the read/write to MySQL tables.
Still a WIP. Needs to have the collections added and needs to be tested.
2017-05-27 16:55:53 -07:00
Poslovitch
6092217b46 Added basic Placeholders support 2017-05-24 22:23:20 +02:00
Florian CUNY
e00b925447 Changed checkVersion() to getNMSHandler() & fixed it 2017-05-24 11:48:32 +02:00
tastybento
521e4b8b83 Changed checkPerm to hasPerm.
Cleaned up imports.
2017-05-21 00:17:20 -07:00
tastybento
679b511178 Added methods to PlayerManager and IslandManager. 2017-05-20 23:53:03 -07:00
tastybento
4be12da452 Changed everything to BSkyBlock 2017-05-20 14:52:52 -07:00