Commit graph

44 commits

Author SHA1 Message Date
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
dependabot[bot]
47461d49c2
Bump snakeyaml from 1.26 to 1.32 in /ButtonProcessor
---
updated-dependencies:
- dependency-name: org.yaml:snakeyaml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 20:44:48 +00:00
dependabot[bot]
59ccc55f98
Bump snakeyaml from 1.21 to 1.26 in /ButtonProcessor
Bumps [snakeyaml](https://bitbucket.org/asomov/snakeyaml) from 1.21 to 1.26.
- [Commits](https://bitbucket.org/asomov/snakeyaml/branches/compare/snakeyaml-1.26..snakeyaml-1.21)

---
updated-dependencies:
- dependency-name: org.yaml:snakeyaml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 22:05:30 +00:00
09074f1a2e
Moving player data and some cleanup 2020-10-27 22:48:39 +01:00
c12a24895e
Fix config comments, improve pregen
Also only showing a warning if something is missing from the command yml
2020-10-26 19:54:28 +01:00
b89391f84c
Fix doc generation for field configs
And for read-only configs
2020-08-27 16:48:56 +02:00
82858b0a41
Added fallback to handle prefixed commands
The Bukkit executor will join the arguments again and passes the command line to the command system
Also added support for tab completion
#96
2020-03-31 02:51:54 +02:00
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
05720afdf8 Separate command class, fix processor parent POM 2020-02-25 17:34:25 +01:00
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
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
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
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
25b9caa903 Implemented config save and reload
Always caching config value if it hasn't been cached
2019-03-13 13:47:49 +01:00
7289385a33 Automatic config saving 2019-03-11 16:50:24 +01:00
9c15d0ffff
Chat handler improvements and config doc gen
Configuration documentation generation
2019-03-09 22:57:38 +01:00
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
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
0cdfcb9ff4 Restart impr. 2019-02-27 16:39:45 +01:00
d19936309f Added Maven plugin versions 2019-02-20 15:20:32 +01:00
9022d87dc4 Adding project files 2019-02-20 13:39:43 +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
f63443bf44
Merge branch 'dev' into redesign 2018-11-20 20:38:46 +01:00
81cb364ddc
Fixes, should be ready to merge 2018-11-18 02:58:26 +01:00
af412a40fd
Channel improvements and fixes
A chat event is no longer required for shouldSendTo() and such
TBMCPlugins/DiscordPlugin#70 is finally kind of fixed - there's a different issue now
2018-11-01 01:20:49 +01:00
eb8dff3a41
Fixes I thought were merged 2018-05-15 23:34:34 +02:00
739276e797
PR #39 merged
# Conflicts:
#	ButtonCore/src/main/java/buttondevteam/lib/chat/Channel.java
#	ButtonProcessor/src/main/java/buttondevteam/buttonproc/ButtonProcessor.java
2018-05-15 23:10:59 +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
bdf824e20e Plugin update on shutdown+fromcmd
Fromcmd: whether a message was sent by using a command
Yesterday
2018-05-07 20:01:36 +02:00
eb9deb39b4 Rainbow rooms & [g]->[OOC]
- Added all the rainbow chat rooms
- Global chat renamed to OOC (out-of-characeter)
2018-05-06 00:47:45 +02:00
c1751b8f20 Some stuff I should've committed for a whiile 2017-11-05 03:04:51 +01:00
89fb273714 Fixes, annotation processor works for player cls 2017-08-28 17:02:43 +02:00
1a4f1e5f27 Included Mockito in shaded jar 2017-08-17 17:15:40 +02:00
48d0f76a99 Converted to multimodule, added ann.proc.!
Multimodule projects doesn't solve circular dependencies, but is neat
anyways
2017-08-07 20:39:17 +02:00