Commit graph

22 commits

Author SHA1 Message Date
84062fee7c
Command system fixes based on TEEESTS
- Fixed unregistering commands
- Fixed command registration
- Fixed command argument handling
- Fixed command handling async task not implemented
2023-07-21 22:29:47 +02:00
f05305cb0a
Add command test and fix command path handling
- It feels so good to be able to debug this code
2023-07-21 01:01:32 +02:00
29f7883f9b
Fix number conversion in configs
- java.lang.Integer could not be cast to java.lang.Long and it was so confusing for so long
- Int::class.java is int.class instead of Integer.class like I thought
2023-07-20 01:45:52 +02:00
822b2a5a67
Switch to Paper and fix some things 2023-07-01 20:09:29 +02:00
6c70e8707d
Fix config/plugin lateinit error, convert API, color codes
- The MainPlugin.instance field wasn't initialized when the MainPlugin was being initialized (config), so delayed the config saving until it's actually running
- Also added library to support Kotlin coroutines in Bukkit but not using it yet
2023-05-03 00:26:24 +02:00
260a67506a
Fixes for Java/Scala compatibility bugs 2023-04-25 23:58:57 +02:00
5e1f378ec7
It compiles! Finished MC tab completion
- Custom tab complete methods are now case-sensitive
- Custom tab complete methods are also not supported for now
2023-04-21 04:05:04 +02:00
4ed001cb54
More conversions, user classes, some configs
Removed writePluginList config option
2023-04-14 03:07:25 +02:00
be5f9ded60 Converted ConfigData and started others
- Bumped Spigot version to 1.18.1, so we get config comment support natively
- Made getters perform a basic casting by default, this was done by the
ConfigData code before
2023-04-05 15:19:27 +02:00
482df40992 Convert config stuff and fix issues 2023-04-05 15:19:26 +02:00
a5099a65d1 Convert some more code to Kotlin
Basically done with converting Command2
Also moved the Minecraft part of the param converter to Command2MC, although the user object getter should be made more generic
2023-04-05 15:19:26 +02:00
0bf1f9789b Convert some code to Kotlin
Why not
Lombok didn't work and I had other frustations with Java streams
Removed some unnecessary tab complete code
2023-04-05 15:19:25 +02:00
6ec63b5ae7
Fix NuVotifier repository 2023-03-12 22:01:06 +01:00
4e58ddd475
Update dependencies and fix config charset
The charset used to save the configuration was platform-dependent, changed it to UTF-8
2021-12-30 21:16:20 +01:00
2a008906f4
Remove Votifier component and stuff 2020-10-31 18:24:18 +01:00
5b5a8877cc
Add a dash and a zero (name and version) 2020-10-28 00:08:00 +01:00
ff0d54e00b
Set version automatically, channel cmd IDs
Added support for using the IDs setting for channel commands
2020-10-27 21:58:49 +01:00
9dae442950
Improve parameter tab completion
Fixed bad permissions being used for subcommands (older change)
Updated Commodore and made it only register a command node once - this fixes main command argument handling as Bukkit's handler is removed
Added option to ignore the tab completion provided by the parameter type (param converter)
Only showing matching completions (it has to start with the text typed in)
#82
2020-04-07 22:08:09 +02:00
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
00738fe820
Some attempts and fixes before enlightenment
#82
2020-03-07 02:27:24 +01:00
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
9aa320e663 Refactoring, renaming everything 2020-02-04 17:39:18 +01:00
Renamed from ButtonCore/pom.xml (Browse further)