Commit graph

39 commits

Author SHA1 Message Date
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
220829a206 Restart counter, member cmd
#78
#69
2020-02-05 19:34:29 +01:00
9aa320e663 Refactoring, renaming everything 2020-02-04 17:39:18 +01:00
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
2f62d2b962
Removing jitpack.yml so it builds with what's in the POM 2019-10-30 19:08:24 +01:00
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
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
7b29f00105
Update to Java 10/11 2019-10-20 20:48:24 +02:00
383e9dc8d5
Rename & fix #75 2019-10-20 15:10:09 +02:00
ed4a4da37f Fix Travis build, update dependencies, fix test
9
2019-09-02 11:38:51 +02:00
0967095f59
A few Towny and debug event fixes 2019-08-26 00:58:09 +02:00
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
2ad7a757c6
Made SpawnComponent, working just fine
Supports Multiverse and BungeeCord
2019-08-18 03:49:36 +02:00
14bcebabcd
Fixed schrestart message async event stuff 2019-08-11 20:02:30 +02:00
773277cb27
A few fixes 2019-07-22 22:23:35 +02:00
a39fd083be
Added support for cmd tabcomplete 2019-07-08 01:56:25 +02:00
db8dfa79bc
Some prep for 1.14 2019-06-09 23:32:49 +02:00
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
c24b8074ab
Fixed Discord reset
TBMCPlugins/DiscordPlugin#97
2019-06-05 00:27:28 +02:00
cc3ed7cf52
Test config option upd.
And indentation fixes apparently
2019-06-01 02:25:33 +02:00
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
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
7fd422136b Added getConfigMap() method 2019-03-06 15:19:36 +01:00
fab2b5819d
Moved Votifier reward here, fixes
Checking if Towny or Votifier is present
2019-03-01 17:52:45 +01:00
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
9022d87dc4 Adding project files 2019-02-20 13:39:43 +01:00
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
ab24480f89
Separated commands and handlers
WIP
2019-02-02 02:45:32 +01:00
ab603276d3
Fixes, another plugin disable event
Fixed/implemented number handling in config
Fixed help text error
Fixed annotation processing in other plugins
Fixed error message on console chat
Fixed CI building (hopefully) - Spigot repo
2019-01-30 23:31:20 +01:00
7331568886
Command, restart, command improvements
Fixed default command handler not being overridable in some cases
Schrestart now takes seconds as param, not ticks
Allowing to change the current timer value in the restart event

HelpText support added
Automatically generating usage text (ButtonProcessor)
2019-01-29 21:39:14 +01:00
dbce36cd4e
PlayerData ann + ConfigData def add 2018-12-23 03:22:21 +01:00
5ef5bf47a2
Component data improvements & enable
Separated enabling the component from registering it - a component will be always registerd, even if it's disabled
Component data implemented similarily to player data, just kind of better
Bunch of changes, less code repetition
2018-11-11 00:58:18 +01:00
ae84994025
Continued refactoring 2018-10-05 22:19:29 +02:00
cdcf8b9b2e
Fixed some channel IDs
It breaks Discord custom chat sanitizing
2018-08-12 00:27:54 +02:00
be6e4acb7e
Added CG user to chat event
SendChatMessage now takes a ChatMessage param (with a builder)
Code cleanup
/schrestart error msg added
Whole plugin update made async (the plugin list)
Javadoc additions
2018-07-12 23:24:38 +02:00
a691278ea9
Channel connect fixes
Group ID is now required
2018-06-08 18:51:37 +02:00
d7accf5885
Fixed /primerestart, member assign
Added handling for missing help text
Added autoassign member role
Handling missing permissions plugin (who knows)
Added unused Essentials dependency
2018-06-01 02:08:20 +02:00
75ab715c6e
Plugin list gen, fixes
It'll generate a plugin list file on each start
#37
2018-05-15 22:44:55 +02:00
a24c4a5e54 Updated plugin updater
TODO!
2018-05-07 23:32:58 +02:00