Norbi Peti
bb10f9fb0f
Only run cmds sync if they were sync
...
Needed for DC command handler
2019-08-26 13:13:42 +02:00
Norbi Peti
0967095f59
A few Towny and debug event fixes
2019-08-26 00:58:09 +02:00
Norbi Peti
317b5a3bda
Update Towny for Maven
2019-08-25 03:07:35 +02:00
Norbi Peti
a17923602f
Slow startup debug, async command handling
...
The command argument processing and permission checking is done asynchronously, mainly because LuckPerms (rightfully) complains that loading player data (for unconnected DC users) should not be done on the main thread.
The actual command execution is still done on the main thread.
2019-08-23 00:50:36 +02:00
Norbi Peti
feee6a0ebe
MemberComponent fix, better error handling
2019-08-18 18:20:50 +02:00
Norbi Peti
2ad7a757c6
Made SpawnComponent, working just fine
...
Supports Multiverse and BungeeCord
2019-08-18 03:49:36 +02:00
Norbi Peti
14bcebabcd
Fixed schrestart message async event stuff
2019-08-11 20:02:30 +02:00
Norbi Peti
fa6c453a8d
Removed reference to IOUtils & no config warn
...
I use IOUtils suprisingly often
Made the config name warning test only
2019-08-07 18:26:45 +02:00
Norbi Peti
773277cb27
A few fixes
2019-07-22 22:23:35 +02:00
Norbi Peti
a39fd083be
Added support for cmd tabcomplete
2019-07-08 01:56:25 +02:00
Norbi Peti
db8dfa79bc
Some prep for 1.14
2019-06-09 23:32:49 +02:00
Norbi Peti
0523ebe214
Merge pull request #66 from TBMCPlugins/dev
...
Permission and config improvements, fixes
2019-06-06 20:39:51 +02:00
Norbi Peti
b1ea027d1c
Removed debug msgs & started #64
...
Also only requiring OffliePlayers for perm check but that probably doesn't matter
2019-06-06 19:25:33 +02:00
Norbi Peti
c24b8074ab
Fixed Discord reset
...
TBMCPlugins/DiscordPlugin#97
2019-06-05 00:27:28 +02:00
Norbi Peti
cc3ed7cf52
Test config option upd.
...
And indentation fixes apparently
2019-06-01 02:25:33 +02:00
Norbi Peti
5872117d28
Y E E H A W
...
Added error message if needed for member assigning
Fixed #65 , #63
/yeehaw
2019-05-31 01:52:41 +02:00
Norbi Peti
a75397f2b0
Unconnected perm group & fixes
2019-05-20 23:36:59 +02:00
Norbi Peti
497c761cc0
Imprv. perm. handling, read only conf data
...
Improved permission handling (can't say fixed because it doesn't work, unless I forgot to test the last version)
Added ReadOnlyConfigData
2019-05-04 03:06:22 +02:00
Norbi Peti
0d4f3b09dd
Pregen config & cmd perm fixes
...
Added perm group check
Needs testing
2019-05-01 00:41:31 +02:00
Norbi Peti
4dade43f82
Added support for config map gen
...
#59
Hopefully
Also added support for setting the path automatically
2019-04-29 12:53:26 +02:00
Norbi Peti
ce29422177
Merge master to dev
2019-04-25 15:16:14 +02:00
Norbi Peti
4132a33037
Perm changes
2019-04-17 13:52:55 +02:00
Norbi Peti
aec9682b2a
Subcommand perm group
2019-04-15 15:37:40 +02:00
Norbi Peti
87189eb1ad
Config doc gen fix & markdown instead of yaml
2019-04-10 13:48:47 +02:00
Norbi Peti
c8067257f9
Implemented config & doc pregen
...
#59
The doc gen works
2019-04-08 12:46:47 +02:00
Norbi Peti
03eb8d480a
Don't deploy sources
2019-03-30 23:48:50 +01:00
Norbi Peti
f8fd481f46
Fixed restart cmd & added optional primitive support
...
I mean, the param is optional, not the support
Also sending broadcasts to the console unless MC is excluded
Also added toString() method to ConfigData
2019-03-19 14:33:23 +01:00
Norbi Peti
b9ce3dc0e5
Merge pull request #62 from TBMCPlugins/dev
...
New command system improvements, broadcast toggles, config fixes
2019-03-17 02:27:42 +01:00
Norbi Peti
9ea811ba40
Number fix, added varargs support for cmds
...
Added support for int conversion
Varargs take... a variable amount of args
Command error handling (less lines in stack traces)
2019-03-16 14:31:26 +01:00
Norbi Peti
0d5ca5a9af
Command improvements, number converter
...
Setting to modOnly if any of the superclasses are modOnly
Re-added support for command path inheritance
getHelpText() for a particular command
Subcommands are properly printed across classes now
Using a general number converter for both the config and commands
2019-03-16 02:57:45 +01:00
Norbi Peti
70cabfaa81
Reload msg, old perm check, Player cmd fix
2019-03-14 16:27:22 +01:00
Norbi Peti
c62424389f
A fix and another
2019-03-14 00:40:40 +01:00
Norbi Peti
25b9caa903
Implemented config save and reload
...
Always caching config value if it hasn't been cached
2019-03-13 13:47:49 +01:00
Norbi Peti
7289385a33
Automatic config saving
2019-03-11 16:50:24 +01:00
Norbi Peti
9c15d0ffff
Chat handler improvements and config doc gen
...
Configuration documentation generation
2019-03-09 22:57:38 +01:00
Norbi Peti
9620ae44f6
Config fix
...
Saving primitive defaults even if def is null
2019-03-09 01:51:13 +01:00
Norbi Peti
138259412f
Config and command fixes/improvements
...
Default value for config maps added
Added support for array types in configs and handling null in setting
Added support for TextArg annotation
Allowing to override the command path
Fixed optional argument detection in the annotation processor ("Optional" --> "OptionalArg")
2019-03-08 22:17:49 +01:00
Norbi Peti
7fd422136b
Added getConfigMap() method
2019-03-06 15:19:36 +01:00
Norbi Peti
f875985aa9
Moved the MC chat handler here
...
And gitignore is moved as well
The chat handler doesn't interfere with displaying the chat, that's still handled by the chat plugin
2019-03-02 18:56:01 +01:00
Norbi Peti
fab2b5819d
Moved Votifier reward here, fixes
...
Checking if Towny or Votifier is present
2019-03-01 17:52:45 +01:00
Norbi Peti
0cdfcb9ff4
Restart impr.
2019-02-27 16:39:45 +01:00
Norbi Peti
e4f5850ad6
Component stuff, command stuff
...
Made the components return correctly-typed plugins
Added support for showing commands
Moved the subcommands and paramconverters to the base class
2019-02-22 00:40:11 +01:00
Norbi Peti
d19936309f
Added Maven plugin versions
2019-02-20 15:20:32 +01:00
Norbi Peti
9022d87dc4
Adding project files
2019-02-20 13:39:43 +01:00
Norbi Peti
95796a1b3e
Command fix, using the brtoggles
...
DiscordPlugin#89
Started #60
Should have committed this earlier
2019-02-17 02:22:06 +01:00
Norbi Peti
a91786cf0d
Added support for dynamic help text
2019-02-16 14:04:41 +01:00
Norbi Peti
d245d21a84
Command system fixes
...
Removed Vault repo as it seems to be offline and wasn't even used
Fixed CommandSender type, no subcommands handling
Made the default handler use the correct sender type (actually, the generic type might be completely unnecessary but oh well)
No longer checking param types to match methods (needed for generic types)
2019-02-15 23:48:15 +01:00
Norbi Peti
6b99bc22d7
Added broadcast toggles
...
TBMCPlugins/DiscordPlugin#89
2019-02-12 22:25:50 +01:00
Norbi Peti
e3df62af7e
Supporting any sender for the commands
2019-02-09 00:23:20 +01:00
Norbi Peti
e32805c1fc
Listing subcommands, other fixes
...
Member command converted
Now requiring the permissions plugin
Added support for optional arguments
Automatically sending an error if parameter conversion fails
Automatically sending the help text if there aren't enough args
Automatically converting the first line of the help text to a header
2019-02-03 00:33:38 +01:00