Commit graph

25 commits

Author SHA1 Message Date
Norbi Peti 6b68bdab0f
Add support for varargs and fix param name placement
#82
2020-03-19 22:58:19 +01:00
Norbi Peti 8344adff1a
Fully implement argument suggestions
Suggesting based on each annotation and the parameter type
Moving the parameter name to the end of the suggestion list
#82
2020-03-19 20:19:41 +01:00
Norbi Peti f5406a8c0e
Fix tabcompletion: use custom suggestion provider
It looks like we can't have custom argument types
Checking for permission for each offered option
Suggesting the argument's name as well
#82

TODO:
Handle annotations
Remove test command
2020-03-18 01:34:32 +01:00
Norbi Peti 95a8e92b51
List commands on /chroma, fixed arg names
And broke the game (can't connect atm)
#84
#82
2020-03-17 00:33:35 +01:00
Norbi Peti 792a127bdd
Channel command and message colors fix
Fixed channel 'from command' and 'perm check'
Fixed message colors when the chat plugin isn't present (TBMCPlugins/Chroma-Chat#107)
2020-03-15 23:53:10 +01:00
Norbi Peti a3160c4040
Add support for channels and groups for (chat) commands
#93
Fixed private command classes erroring
2020-03-15 03:07:10 +01:00
Norbi Peti b77871bb8c Add permanent component enable/disable
#81
2020-03-10 16:06:57 +01:00
Norbi Peti e676ea516c Increase primerestart cooldown
#42
2020-03-09 12:35:17 +01:00
Norbi Peti 0e88c61b77
Fix Towny resident rename, remove invalid residents
Added a command to remove residents that aren't real players anymore because of a rename usually (#41)
Name conflicts should be handled manually (#7) - possibly by removing the resident
2020-03-08 21:37:07 +01:00
Norbi Peti 425cbcd9d2
Fixed argument tabcomplete
The issue was that I was adding to a builder after it was used to build
With the command class passed, it only works with /plugin:cmd and doesn't give hints for the arguments
Without the command class, it doesn't show the next argument until it's typed in and also accepts invalid subcommands
#82
2020-03-07 03:01:01 +01:00
Norbi Peti 00738fe820
Some attempts and fixes before enlightenment
#82
2020-03-07 02:27:24 +01:00
Norbi Peti 3c4f9f6c7a
Reload cmd fix, parameter tabcomplete
Made reload cmd only for ButtonPlugins
Implemented parameter tabcomplete using Commodore
Only works for one subcommand at the moment
#82
2020-03-06 00:39:18 +01:00
Norbi Peti 2cca2e2096 Register chat channels as commands
#72
2020-03-03 17:13:35 +01:00
Norbi Peti 05720afdf8 Separate command class, fix processor parent POM 2020-02-25 17:34:25 +01:00
Norbi Peti 393c9c9b08 Fix command register
Also deleted plugin updater stuff in last commit
2020-02-24 19:19:18 +01:00
Norbi Peti a0c211f4be Attempt to register custom commands 2020-02-24 12:57:57 +01:00
Norbi Peti def4a846b2 Reload other plugins, remove plugin updater
#84
2020-02-19 10:47:53 +01:00
Norbi Peti b9781f19f0 Handle remaining primitive types in commands
#92
2020-02-18 12:27:18 +01:00
Norbi Peti dd1f42d420
Check subcommand perms, show help text on wrong sender type
#89
2020-02-16 18:21:10 +01:00
Norbi Peti c947c887a1
Fix found issues, finish /member command
#69
2020-02-15 00:22:34 +01:00
Norbi Peti 23f3c0f133
Add plugin & component to commands, unregister on disable
#88
2020-02-14 19:20:20 +01:00
Norbi Peti d2ab3511c2
Add subcommand perms, failed attempt at separating command handlers
Removed project files
Added permission for each subcommand (#89)
Made separate instances of the command handler for each plugin
Spent a lot of time crafting type arguments then realized it won't work (per-plugin managers)
2020-02-14 17:36:00 +01:00
Norbi Peti 8f6ee349de Fix and use GitHub Releases
#76
2020-02-10 12:47:00 +01:00
Norbi Peti 220829a206 Restart counter, member cmd
#78
#69
2020-02-05 19:34:29 +01:00
Norbi Peti 9aa320e663 Refactoring, renaming everything 2020-02-04 17:39:18 +01:00