Commit Graph

497 Commits

Author SHA1 Message Date
Poslovitch
bfefea7f6a Implemented basic help. It NEEDS improvements. 2017-08-08 17:13:36 +02:00
Poslovitch
4970a43b00 Removed a redundant alias for /island 2017-08-08 17:12:39 +02:00
Poslovitch
95c80a89f8 Made some changes and fixes to commands
ArgumentHandler#tabComplete(CommandSender, String[]) now returns a
Set<String>
Removed some redundant code
2017-08-06 23:01:01 +02:00
tastybento
5d43a500a4 Completed island leave command.
Fixed bugs with teams.
2017-08-05 20:13:06 -07:00
tastybento
d5f78e300b CircleCI config update 2017-08-05 16:30:08 -07:00
tastybento
2c2cd774d3 Added team invite command. 2017-08-05 16:09:58 -07:00
tastybento
008a4e6b72 Added CircleCI continuous integration. 2017-08-05 16:09:34 -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
Poslovitch
3a10230824 When building bskyblock, it now specify the version in the name of the file 2017-08-01 14:21:32 +02:00
Poslovitch
0c1b5f7197 Tiny adjustements to commands 2017-08-01 14:20:52 +02:00
Poslovitch
bbd959f186 Tiny debug change in locales 2017-07-31 11:05:14 +02:00
Poslovitch
614e5d3d5b Commands are now working (still need some work) 2017-07-31 10:58:28 +02:00
tastybento
a8606a2b00 Added common variables to AbstractCommand for player, team 2017-07-30 17:44:22 -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
Poslovitch
bf90cb7f31 Now it's the correct refactoring 2017-07-30 19:59:56 +02:00
Poslovitch
158c7b3465 Started a refactoring for the commands 2017-07-30 19:57:49 +02:00
Poslovitch
17c7099cbb Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2017-07-30 19:56:58 +02:00
Poslovitch
00feaa4740 Added KEEP_INVENTORY flag
Related to https://github.com/tastybento/bskyblock/issues/77

Also made some tiny adjustements, and tidied imports up.
2017-07-25 00:20:33 +02:00
tastybento
2acace84cd Merge pull request #88 from markusmarkusz/patch-1
Added German Translation
2017-07-23 16:19:54 -07:00
markusmarkusz
9aef086669 Added german translation 2017-07-21 14:27:14 +02:00
tastybento
85bf5814cc Simplified SettingsFlags. 2017-07-16 14:29:41 -07:00
tastybento
a1e4a7b635 Merge remote-tracking branch 'origin/master' into develop
Conflicts:
	src/main/java/us/tastybento/bskyblock/database/objects/Island.java
2017-07-15 19:44:07 -07:00
Florian CUNY
8cb0267e3c Added PUSHING and ghast related flags
Ghast flags are related to https://github.com/tastybento/ASkyBlock-Bugs-N-Features/issues/338
2017-07-15 08:28:44 +02:00
Florian CUNY
871f6bd4ec Added more settings flags (mostly splited existing one) 2017-07-14 10:11:43 +02:00
tastybento
bdf8ecdce4 Protection, database and license (#3)
* Added more database functions.

Added ability to check if a uniqueId exists without creating it - used
to check if a player is known or not.
Added join/quit listener.

* Hooked in grid database to track where islands are.

Added Nether events and portal function.
Added default /island command operation.

* Added protection for islands.

* Updated license to BSD license.

* Removed unused imports.

Added configs.

* Added more protection listeners.

Flying mobs, visitor protection
2017-07-14 08:03:14 +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
DuckSoft
a1b2880745 Adding Chinese Localization (#2), credit to DuckSoft
* Copying locale en_US to zh_CN

* Fully Localized Text
2017-07-07 09:46:20 +02:00
tastybento
cce5828ac0 Added protection for islands. 2017-07-06 22:00:21 -07:00
tastybento
f31dcb5ce1 Hooked in grid database to track where islands are.
Added Nether events and portal function.
Added default /island command operation.
2017-07-06 16:51:40 -07:00
tastybento
3a6a1eae6d Added more database functions.
Added ability to check if a uniqueId exists without creating it - used
to check if a player is known or not.
Added join/quit listener.
2017-07-06 10:21:38 -07:00
tastybento
0f66b92af5 Tested locale system and confirmed working.
Made a few minor tweaks and added debug.
2017-07-06 08:31:10 -07:00
tastybento
f03b5f5246 Merge remote-tracking branch 'origin/master' 2017-07-05 08:41:21 -07:00
tastybento
dee635f15f Added protection around null owners. 2017-07-05 08:41:12 -07:00
tastybento
59e92034ba BSD License for this library. 2017-07-03 13:55:33 -07:00
Poslovitch
ee133156f4 Tiny fix to help Travis to compile 2017-06-21 17:18:02 +02:00
Poslovitch
59a6397536 Events 2017-06-21 17:08:15 +02: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
c95f149901 Added "library-1.12.jar" to see if it helps Travis compile. 2017-06-10 20:48:32 -07:00
tastybento
f8032bfde5 Added the /island go command so you can teleport home
Added some more goodies in the default chest. It's now a minimal
SkyBlock!
2017-06-10 16:40:43 -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
2a9ddd6579 Added world generators for overworld, nether and end. 2017-06-10 14:03:41 -07:00
tastybento
bcb13e2b6d Added comments to make things clearer 2017-06-10 11:54:32 -07:00
tastybento
c44e432aa3 Renamed some of the database methods. 2017-06-10 11:37:04 -07:00
tastybento
c1c00648d9 MySQL and Flatfile databases now store and retrieve objects. 2017-06-10 10:59:53 -07:00