Commit graph

514 commits

Author SHA1 Message Date
Norbi Peti 8f20ca9b5a Integrate SubcommandData with CoreCommandBuilder and document it
Also made the sender type nicer in the error message
2023-04-05 15:19:24 +02:00
Norbi Peti b59a090e13 Implement argument handling and add a bunch of TODOs 2023-04-05 15:19:24 +02:00
Norbi Peti 5f7f3d7747 Add custom command builder and help text test 2023-04-05 15:19:23 +02:00
Norbi Peti a26d031ce2 Begin using Brigadier for the command system
Added custom command node types for help text support
2023-04-05 15:19:23 +02:00
Norbi Peti 66c1b1b14f Merge hotfix 1.0.2 2023-04-05 15:17:09 +02:00
Norbi Peti 496af97e1c
Fix getting user using abstract user classes (#101)
- The Discord plugin uses this to connect MC and DC accounts
- And it was a feataure of this plugin either way
2023-03-12 23:26:47 +01:00
Norbi Peti 6ec63b5ae7
Fix NuVotifier repository 2023-03-12 22:01:06 +01:00
Norbi Peti ea7520d99a
Merge pull request #104 from TBMCPlugins/dependabot/maven/ButtonProcessor/org.yaml-snakeyaml-1.32
Bump snakeyaml from 1.26 to 1.32 in /ButtonProcessor
2023-01-04 22:39:31 +01: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
Norbi Peti 7120e3c40e
Merge pull request #100 from TBMCPlugins/alisolarflare-color-refactor
Put each color on their own line
2022-01-08 01:04:15 +01:00
alisolarflare c6b2dc3443
Put each color on their own line
norbi no
2022-01-07 18:41:51 -05:00
Norbi Peti 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
Norbi Peti 5c83b923da
Merge pull request #99 from TBMCPlugins/dependabot/maven/ButtonProcessor/org.yaml-snakeyaml-1.26
Bump snakeyaml from 1.21 to 1.26 in /ButtonProcessor
2021-12-30 16:47:57 +01:00
Norbi Peti 83b5f1fec4
Fix command data generation for Scala 2021-08-26 01:59:18 +02: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
Norbi Peti f92cc773c1
Remove Towny resident rename functionality
Towny doesn't need the name updater plugin anymore
2021-01-18 17:14:15 +01:00
Norbi Peti 2a008906f4
Remove Votifier component and stuff 2020-10-31 18:24:18 +01:00
Norbi Peti 9fb35eb6cc
Some fixes and cleanup
Don't require ButtonPlugin for unregistering components
Cleanup
Fixed not detecting missing player name
2020-10-30 22:56:11 +01:00
Norbi Peti 66be5ab0dc
Remove (/press) 2020-10-30 00:49:43 +01:00
Norbi Peti 5b5a8877cc
Add a dash and a zero (name and version) 2020-10-28 00:08:00 +01:00
Norbi Peti 09074f1a2e
Moving player data and some cleanup 2020-10-27 22:48:39 +01:00
Norbi Peti 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
Norbi Peti 5199482053
Set Java version for codeql 2020-10-26 23:18:54 +01:00
Norbi Peti 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
Norbi Peti 51e0ca4f4c
Stop using methods for configs 2020-10-26 17:44:11 +01:00
Norbi Peti 267a350473
Refactored the aforementioned player data
Now it will only load a yaml file once at a time
Each user class which has a separate folder now has a separate static and non-static shared storage
Also some uncache fixes for MC that I haven't committed before
2020-10-25 21:47:57 +01:00
Norbi Peti 132eba7db6
Player data upgrade complete
Auto-save for each user
ConfigData stuff
Removed player events
2020-10-24 23:47:33 +02:00
Norbi Peti 83ecf7717f
Started upgrading player data setup 2020-10-23 01:48:54 +02:00
Norbi Peti 893b24ed5f
Fix alias support and add tab completion for it 2020-10-14 20:41:26 +02:00
Norbi Peti af0aed65e0
Merge pull request #98 from TBMCPlugins/dependabot/maven/CorePOM/junit-junit-4.13.1
Bump junit from 3.8.1 to 4.13.1 in /CorePOM
2020-10-14 19:49:21 +02:00
Norbi Peti 47dbb987eb
Merge pull request #97 from TBMCPlugins/dependabot/maven/junit-junit-4.13.1
Bump junit from 3.8.1 to 4.13.1
2020-10-14 19:48:54 +02:00
dependabot[bot] 28e26ad3d1
Bump junit from 3.8.1 to 4.13.1 in /CorePOM
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.1 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/commits/r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 17:06:08 +00:00
dependabot[bot] 8e664d073f
Bump junit from 3.8.1 to 4.13.1
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.1 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/commits/r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 09:43:10 +00:00
Norbi Peti 1aa9cd3552
Attempt to support main command aliases 2020-10-13 02:49:48 +02:00
Norbi Peti 731065fe2a
Log exceptions using the plugin/component logger 2020-10-09 00:08:53 +02:00
Norbi Peti 01dd8a477e
Fix error when Mockito isn't present in prod 2020-09-15 03:42:49 +02:00
Norbi Peti ab4dd75684
Test and config fixes
Added method to check if testing
2020-09-04 17:52:36 +02:00
Norbi Peti 5b27af8925
Fixed prime restart and already registered cmds
Commands that are registered in plugin.yml
Commands conflicting with Essentials commands have to be registered in plugin.yml
2020-09-04 03:37:32 +02:00
Norbi Peti 28e44d5179
Added some alias support for subcommands
Hmm
2020-09-02 03:12:07 +02:00
Norbi Peti cedeca2f61
A small fix can go a long way 2020-08-31 23:53:29 +02:00
Norbi Peti 784ad5e1c7
Config fixes, actually registering the configs 2020-08-30 02:21:34 +02:00
Norbi Peti 9923f26698
Config fixes, reusing the config objects 2020-08-29 02:57:50 +02:00
Norbi Peti b89391f84c
Fix doc generation for field configs
And for read-only configs
2020-08-27 16:48:56 +02:00
Norbi Peti 8f610c9935
Add ConfigData builder, reset support 2020-08-27 16:18:25 +02:00
Norbi Peti 4310e45a6f
Use existing command from plugin.yml if exists
3:33
2020-08-27 03:33:46 +02:00
Norbi Peti 43b7bd442a
Resident removal fix, signal config change
Use Essentials to get residents to remove (#95)
Add IHaveConfig.signalChange() method (TBMCPlugins/Chroma-Chat#117)
2020-08-26 22:14:53 +02:00
Norbi Peti ef96ec2604
Fix fallback chat format
TBMCPlugins/Chroma-Chat#121
2020-07-28 02:36:26 +02:00
Norbi Peti 8815877bea
Add proper scheduled restart here & fixes 2020-07-25 20:27:56 +02:00
Norbi Peti 58fcd4c145
Add per-component logging 2020-06-30 00:43:56 +02:00
Norbi Peti 1139f832b6
Component disable on error 2020-06-27 02:51:38 +02:00