Commit graph

480 commits

Author SHA1 Message Date
5da07565b0
Config load error check, remove Towny dep 2019-12-16 22:46:23 +01:00
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
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
89c27a10c6
Only save config if changed, number conversion fixes
And do save config if changed
#83
2019-12-06 03:04:11 +01:00
fb9c108c52
Fix long-int conversion (config)
Forgot to commit yesterday
2019-11-16 23:18:31 +01:00
34637ac536
Disable test by default, config desc.
#79
Fixed IntelliJ compiler version...
2019-11-16 01:04:11 +01:00
dea1a46f55 Check if Essentials is present
#77
2019-11-06 15:46:59 +01:00
8f75998b58 Use Essentials teleport for /spawn
#77
2019-11-05 15:50:42 +01:00
0e4eee55ac
Create README.md 2019-11-03 16:21:04 +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
7de1d0575c
Merge pull request #73 from TBMCPlugins/dev
1.14 support, (sub)command tabcomplete
2019-10-30 19:14:11 +01:00
2f62d2b962
Removing jitpack.yml so it builds with what's in the POM 2019-10-30 19:08:24 +01:00
0c5345d3ff
Merge branch 'master' into dev 2019-10-30 16:17:48 +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
1a6bd29741 Use original Towny dependency
Now that we have one
2019-09-16 13:31:58 +02:00
ed4a4da37f Fix Travis build, update dependencies, fix test
9
2019-09-02 11:38:51 +02:00
17ac28b9b7
Rename 2019-08-26 22:19:53 +02:00
bb10f9fb0f
Only run cmds sync if they were sync
Needed for DC command handler
2019-08-26 13:13:42 +02:00
0967095f59
A few Towny and debug event fixes 2019-08-26 00:58:09 +02:00
317b5a3bda
Update Towny for Maven 2019-08-25 03:07:35 +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
feee6a0ebe
MemberComponent fix, better error handling 2019-08-18 18:20:50 +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
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
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
0523ebe214
Merge pull request #66 from TBMCPlugins/dev
Permission and config improvements, fixes
2019-06-06 20:39:51 +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
a75397f2b0
Unconnected perm group & fixes 2019-05-20 23:36:59 +02:00
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
0d4f3b09dd
Pregen config & cmd perm fixes
Added perm group check
Needs testing
2019-05-01 00:41:31 +02:00
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
ce29422177
Merge master to dev 2019-04-25 15:16:14 +02:00
4132a33037 Perm changes 2019-04-17 13:52:55 +02:00
aec9682b2a Subcommand perm group 2019-04-15 15:37:40 +02:00
87189eb1ad Config doc gen fix & markdown instead of yaml 2019-04-10 13:48:47 +02:00
c8067257f9 Implemented config & doc pregen
#59
The doc gen works
2019-04-08 12:46:47 +02:00
03eb8d480a
Don't deploy sources 2019-03-30 23:48:50 +01: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
b9ce3dc0e5
Merge pull request #62 from TBMCPlugins/dev
New command system improvements, broadcast toggles, config fixes
2019-03-17 02:27:42 +01:00
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
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