SteamWar/SpigotCore
Archiviert
13
0
Commit graph

446 Commits

Autor SHA1 Nachricht Datum
yoyosource
b6aa9d760c Remove TestCommand.java 2021-03-31 14:45:47 +02:00
yoyosource
a33c8a3a1e Fix SubCommand.tabComplete with noVarArgs returning too early 2021-03-31 14:43:04 +02:00
3de86209f7 Merge pull request 'CommandFramework3' (#94) from CommandFramework3 into master
Reviewed-on: #94
Reviewed-by: Zeanon <thezeanon@gmail.com>
2021-03-30 21:15:38 +02:00
yoyosource
2edb3dd951 Fix stuff 2021-03-30 18:05:29 +02:00
yoyosource
fa9268ce1b Fix NegativeArraySizeException in SWCommandUtils 2021-03-30 17:56:17 +02:00
yoyosource
25d72ab376 Add more TypeMapper capabilities 2021-03-30 17:26:43 +02:00
yoyosource
56c3e730a9 Fix SWCommand localArguments 2021-03-30 16:54:41 +02:00
yoyosource
c1e7fdbb1d Add SWCommand.ClassMapper.local 2021-03-30 16:27:20 +02:00
yoyosource
314120a01f Add ignoreCase subCommands
Add ignoreCase tabComplete filter
2021-03-30 16:14:28 +02:00
yoyosource
ce2cd3d1bf Fix varArgs, fix help 2021-03-30 16:08:51 +02:00
yoyosource
a7bf487336 Add SubCommand.varArgType
Add SWCommandUtils varArg capabilities
2021-03-30 14:31:52 +02:00
yoyosource
2bb7a435c3 Add CommandParseException (Workflow Exception) 2021-03-30 14:06:54 +02:00
yoyosource
501803b05c Fix SWCommand add HelpRegisters 2021-03-30 13:54:53 +02:00
yoyosource
c9e8b31aa4 Fix SWCommand add HelpRegisters 2021-03-30 13:50:16 +02:00
yoyosource
b08855f000 Fix SWCommandUtils.knownCommandMap 2021-03-30 13:40:46 +02:00
yoyosource
a1651e896f Sort SWCommand.commandSet by subCommand length
Sort SWCommand.commandHelpSet by subCommand length
2021-03-30 12:03:48 +02:00
yoyosource
e7beaa2b0f Update SWCommand list 2021-03-30 10:10:21 +02:00
yoyosource
173361e1be Add SWCommand.register 2021-03-30 10:01:28 +02:00
yoyosource
07f401c2e1 Simplify SubCommand.invoke with catch clause 2021-03-30 09:23:38 +02:00
yoyosource
5a2c06232d Remove SWCommandUtils StringBuilder support as Mapper 2021-03-30 09:21:28 +02:00
yoyosource
50b039e6dc Add SWCommand.unregister 2021-03-30 09:08:04 +02:00
yoyosource
35758f1000 Simplify SubCommand to conform to TypeMapper.tabComplete
Add messages to why it did not work
2021-03-30 08:55:18 +02:00
yoyosource
1d1d95b78f Fix SubCommand varAgrs tabComplete 2021-03-30 08:36:06 +02:00
yoyosource
db8d9697e6 Simplify double not on SWCommand.add 2021-03-30 08:28:08 +02:00
yoyosource
db1198bdd9 Fix TestCommand 2021-03-30 08:24:16 +02:00
yoyosource
6ac208dc56 Removed cluttered Annotations 2021-03-30 08:21:55 +02:00
yoyosource
7bc47a8997 Add TypeMapper.tabCompletes with previous TabCompletes 2021-03-29 23:06:30 +02:00
yoyosource
9436616440 Fix design stuff 2021-03-29 22:57:00 +02:00
yoyosource
8be46cd7bc Add more capabilities to TypeMapper.tabCompletes 2021-03-29 22:51:27 +02:00
yoyosource
529b3daf6c Simplify SWCommand
Add SWCommandUtils.addMapper with class
2021-03-29 22:35:31 +02:00
yoyosource
9c7cea96d4 Add SWCommand.LocalMapper only defined in current class scope overrides any global mapper for this class only 2021-03-29 22:28:33 +02:00
yoyosource
2ad2dc29e4 Add SWCommand.ClassMapper 2021-03-29 22:20:03 +02:00
yoyosource
7e733fca7c Make HelpMessage more advanced 2021-03-29 22:14:52 +02:00
yoyosource
e56d4c0e42 Fix case sensitive TabCompletes 2021-03-29 20:52:16 +02:00
yoyosource
54c3c8e203 Add SWCommand.enabled for enabling and disabling commands 2021-03-26 09:16:01 +01:00
yoyosource
d0186a43d1 Optimize SWCommandUtils 2021-03-26 09:09:39 +01:00
yoyosource
ccb63e1613 Optimize SWCommand
Optimize SubCommand
2021-03-26 09:06:21 +01:00
yoyosource
5bd160b0c9 Optimize SWCommand 2021-03-26 08:59:12 +01:00
yoyosource
7020d6b8f3 Optimize SWCommand 2021-03-26 08:57:37 +01:00
yoyosource
abc48d9215 Optimize SWCommandUtils 2021-03-26 08:44:41 +01:00
yoyosource
9b01cbf7bf Optimize SWCommandUtils 2021-03-26 08:40:05 +01:00
yoyosource
a45a83e2d5 Add SWCommandUtils.createMapper 2021-03-25 20:55:43 +01:00
yoyosource
4bedbe2275 Add better Enum handling for Custom TypeMapper
Add SWCommandUtils.getAnnotation
Add GameMode mapper for better gamemode handling
2021-03-25 20:46:02 +01:00
yoyosource
05f8129705 Add help command System to SWCommand 2021-03-25 20:27:48 +01:00
yoyosource
472b6f46d5 Add help command System to SWCommand 2021-03-25 20:26:44 +01:00
yoyosource
1b10c96dc6 Optimize imports SubCommand 2021-03-25 20:10:50 +01:00
yoyosource
ed0ee1b0a7 Add SubCommand.tabComplete 2021-03-25 19:52:27 +01:00
yoyosource
ae26f2837d Fix SWCommand with Mapper
Simplify SWCommand registering mapper and commands
2021-03-25 14:21:36 +01:00
yoyosource
57b5c2b81b Fix TestCommand 2021-03-25 14:17:34 +01:00
yoyosource
451d30a496 Add Mapper support for Enum Parameters 2021-03-25 14:16:03 +01:00