Mariell
11dcee8b39
Use MethodHandles for invocation ( #112 )
...
* Use method handles for invocation
* Fix parsing, add more safety and add for named MessageChannels, and format
* Add methodhandle support to BaseCommand
2018-03-24 10:59:43 -04:00
MiniDigger
a44e48ef9a
fix #117 ( #118 )
2018-03-24 10:55:38 -04:00
Aikar
db6ff7ed23
nvm, show prefix in header still
2018-03-22 08:52:45 -04:00
Aikar
6422ce7118
(DEPLOYED ACF) Updated JavaDocs
2018-03-22 08:51:18 -04:00
Aikar
1362fd4b91
Dont use command prefix in header, expose as replacement
2018-03-22 08:50:31 -04:00
Aikar
6f0bb766dd
(DEPLOYED ACF) Updated JavaDocs
2018-03-21 23:35:53 -04:00
Aikar
5794c3ea58
use a diff format key for detailed command help
2018-03-21 23:35:22 -04:00
Aikar
6094fc431c
(DEPLOYED ACF) Updated JavaDocs
2018-03-21 23:30:14 -04:00
Aikar
aafea3d74b
add {syntax} replacement to param help
2018-03-21 23:29:47 -04:00
Aikar
a06affc932
(DEPLOYED ACF) Updated JavaDocs
2018-03-21 23:02:31 -04:00
Aikar
83bcbbd01e
some reformatting
2018-03-21 23:01:47 -04:00
Aikar
db94aa4317
Clean up help formatter method signatures
2018-03-21 22:56:19 -04:00
Aikar
e8bb460ae0
Use MessageKeyProvider for locales
2018-03-21 22:23:02 -04:00
Aikar
08b8ab6355
Consistently set the correct command prefix
2018-03-21 22:16:24 -04:00
Aikar
8cf361aeaf
Merge branch 'MiniDigger-help-improvements'
...
* MiniDigger-help-improvements:
Improvements to help formatter
start with abstracting help messages out
make sure to only treat a type as sender if its not annotated with "other"
help improvements
2018-03-21 22:05:19 -04:00
Aikar
8335d580f6
Improvements to help formatter
2018-03-21 22:02:48 -04:00
Aikar
96238f9e06
Merge branch 'help-improvements' of https://github.com/MiniDigger/commands into MiniDigger-help-improvements
...
* 'help-improvements' of https://github.com/MiniDigger/commands :
start with abstracting help messages out
make sure to only treat a type as sender if its not annotated with "other"
help improvements
2018-03-21 21:20:53 -04:00
Emil
0deeeeca5e
Add Swedish as supported language. ( #109 )
2018-03-20 10:57:50 -04:00
Aikar
bcd84a0fe4
(DEPLOYED ACF) Updated JavaDocs
2018-03-18 13:42:23 -04:00
Aikar
633c6278b5
Ignore command issuer for context resolution in completions
2018-03-18 01:11:25 -04:00
Aikar
8f68acd324
(DEPLOYED ACF) Updated JavaDocs
2018-03-17 23:56:07 -04:00
Aikar
55a5e5eaf9
Merge branch 'annotations'
...
* annotations:
Default empty descriptions
fix annotation lookup
Fix Bukkit Description being null, supply usage/description to Sponge/Bungee
fix looking up annotations without value methods
More cleanup and refactoring
move annotation lookup methods into their own file to declutter class
clean up code more, break out methods
Refactor all annotation lookups in prep for processors
2018-03-17 23:51:22 -04:00
Aikar
a784552074
(DEPLOYED ACF) Updated JavaDocs
2018-03-17 22:38:53 -04:00
Aikar
d3a00bfde6
fix bukkit get offline player check
2018-03-17 22:37:56 -04:00
Aikar
65af80a430
Default empty descriptions
2018-03-17 20:38:45 -04:00
Aikar
9024e878b1
fix annotation lookup
2018-03-17 20:27:11 -04:00
Aikar
ec235d80fc
Fix Bukkit Description being null, supply usage/description to Sponge/Bungee
2018-03-17 19:51:52 -04:00
Aikar
901359356f
fix looking up annotations without value methods
2018-03-17 19:46:22 -04:00
Aikar
5c9763ac00
More cleanup and refactoring
...
All annotations should be read for most part at registration now
2018-03-17 19:18:16 -04:00
Aikar
df6ccc0a24
move annotation lookup methods into their own file to declutter class
2018-03-17 16:49:01 -04:00
Aikar
8008d6d063
clean up code more, break out methods
2018-03-17 12:31:05 -04:00
Aikar
d8017789d6
Refactor all annotation lookups in prep for processors
2018-03-17 12:31:05 -04:00
Aikar
351895c317
(DEPLOYED ACF) Updated JavaDocs
2018-03-17 12:27:15 -04:00
Aikar
b55e15db50
Fix max value check for Long and add more type flag helpers
2018-03-17 12:26:34 -04:00
Aikar
99e2b8543d
Fix inverted syntax logic, thanks minecoder
2018-03-17 00:17:10 -04:00
Aikar
3034b11724
move syntax parsing to CommandParameter
2018-03-16 23:54:59 -04:00
Aikar
22fe3ce94f
(DEPLOYED ACF) Updated JavaDocs
2018-03-16 16:51:58 -04:00
Aikar
7353aa0b2e
fix sponge tab complete API
2018-03-16 16:51:09 -04:00
Aikar
2d0995a3ac
Refactor how parameter annotations are parsed to prep for processors
...
this also will improve performance, as we will only do flag parsing and replacements
once on register instead of every execution for some things.
2018-03-15 23:22:18 -04:00
Aikar
7af1c96b08
Update repo urls
2018-03-14 23:14:46 -04:00
MiniDigger
79f4074caf
better number error msg ( #108 )
2018-03-11 11:42:08 -04:00
Aikar
59b21d270d
(DEPLOYED ACF) Updated JavaDocs
2018-03-10 16:12:28 -05:00
Aikar
37e435ce34
add min/max validation flags.
...
This should of really been conditions, but lazy to set that up proper for now.
2018-03-10 16:07:28 -05:00
Aikar
10cd1b30da
add link to IDB
2018-03-10 14:26:22 -05:00
MiniDigger
2f80fd4fdf
start with abstracting help messages out
2018-03-10 00:58:06 +01:00
Aikar
755912279c
(DEPLOYED ACF) Updated JavaDocs
2018-03-08 22:13:11 -05:00
Aikar
8be2d4f9c2
fix JDA default command
2018-03-08 22:12:45 -05:00
MiniDigger
a4c67f66a2
make sure to only treat a type as sender if its not annotated with "other"
2018-03-08 22:39:31 +01:00
MiniDigger
a26eb31a04
help improvements
2018-03-08 21:44:02 +01:00
Aikar
4622434315
(DEPLOYED ACF) Updated JavaDocs
2018-03-05 22:19:04 -05:00