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
59aa13cd74
Remove parent POM from the processor
...
This should fix JitPack attempting to download the annotation processor from the project that's being built
2020-02-26 12:41:46 +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
b7260d318c
Merge branch 'commands'
2020-02-16 18:26: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
Norbi Peti
d48a2d17d3
Merge pull request #90 from TBMCPlugins/dev
...
Configuration comments, fixes, command and other fixes
2020-02-01 20:11:39 +01:00
Norbi Peti
6491a4e732
Merge branch 'master' into dev
2020-02-01 20:10:50 +01:00
Norbi Peti
a1919c04d0
Fixed list config, converted old cmds, removed old cmd system
...
#87
Fixed permission issue without perm plugin (#74 )
Checking Bukkit perms if Vault says no, so PEX works with default perms (#80 )
Most of the time it just means checking the perm plugin twice since the PermissibleBase is injected usually
2020-01-31 21:55:21 +01:00
Norbi Peti
1a4829e894
Don't enable certain components by default, create ListConfigData
...
#87
Also some older code changes
2020-01-30 03:17:00 +01:00
Norbi Peti
5da07565b0
Config load error check, remove Towny dep
2019-12-16 22:46:23 +01:00
Norbi Peti
cecd8df991
Global config, config reload error check, fixes
...
TODO: Config load error check, remove Towny dep
#83
2019-12-10 01:47:52 +01:00
Norbi Peti
fa18e8f22a
Automatically adding config comments, fixes
...
Fixed read-only config handling (here as well)
Added a warning for RandomTP if the worldborder is too large (#70 )
Implemented config comments with the help of Towny's CommentedConfiguration
TODO: Glboal config, remove Towny dep
2019-12-09 02:51:00 +01:00
Norbi Peti
89c27a10c6
Only save config if changed, number conversion fixes
...
And do save config if changed
#83
2019-12-06 03:04:11 +01:00
Norbi Peti
fb9c108c52
Fix long-int conversion (config)
...
Forgot to commit yesterday
2019-11-16 23:18:31 +01:00
Norbi Peti
34637ac536
Disable test by default, config desc.
...
#79
Fixed IntelliJ compiler version...
2019-11-16 01:04:11 +01:00
Norbi Peti
dea1a46f55
Check if Essentials is present
...
#77
2019-11-06 15:46:59 +01:00
Norbi Peti
8f75998b58
Use Essentials teleport for /spawn
...
#77
2019-11-05 15:50:42 +01:00
Norbi Peti
0e4eee55ac
Create README.md
2019-11-03 16:21:04 +01:00
Norbi Peti
65419ac20d
Save read-only data even if def isn't null
...
If the default isn't null (for Discord, it could find the channel) then it'd use set() - but that isn't allowed to do anything, so the value isn't saved
2019-10-31 01:55:29 +01:00
Norbi Peti
7de1d0575c
Merge pull request #73 from TBMCPlugins/dev
...
1.14 support, (sub)command tabcomplete
2019-10-30 19:14:11 +01:00
Norbi Peti
2f62d2b962
Removing jitpack.yml so it builds with what's in the POM
2019-10-30 19:08:24 +01:00
Norbi Peti
0c5345d3ff
Merge branch 'master' into dev
2019-10-30 16:17:48 +01:00
Norbi Peti
d100b86d72
Create parent POM for all my plugins
...
Also update Travis config to use Java 11
Also fix gitignore
2019-10-23 02:07:31 +02:00
Norbi Peti
dd64062fba
Compile to Java 8 using Jabel
...
Currently, the server runs on Java 8 and some plugins, notably Terrain Control depend on a version-specific hack. Now, we do want to drop TC anyway to upgrade to 1.14.4 but there's also the goal of sharing this plugin for others, who likely run Java 8.
It took me a while to figure out how to make it work with Lombok - have to use the right order.
2019-10-23 01:22:24 +02:00
Norbi Peti
7b29f00105
Update to Java 10/11
2019-10-20 20:48:24 +02:00
Norbi Peti
383e9dc8d5
Rename & fix #75
2019-10-20 15:10:09 +02:00
Norbi Peti
1a6bd29741
Use original Towny dependency
...
Now that we have one
2019-09-16 13:31:58 +02:00
Norbi Peti
ed4a4da37f
Fix Travis build, update dependencies, fix test
...
9
2019-09-02 11:38:51 +02:00
Norbi Peti
17ac28b9b7
Rename
2019-08-26 22:19:53 +02:00