39 Commits

Author SHA1 Message Date
chickeneer 623048b763 Add a JDA 5 module
Eventually will drop the JDA 4 module - but it still functions so no
reason to arbitrarily upgrade it or drop without bumping acf version
2024-12-13 18:11:04 -06:00
Vaan1310 43323e656a Add updated sponge module, sponge 10 (#411) 2024-10-31 18:10:09 -05:00
chickeneer d22fae6bfa Remove save actions intellij plugin 2023-10-01 21:48:00 -05:00
AlexProgrammerDE 905d5406ec Add allow illegal name manager option 2023-04-02 06:52:44 -05:00
chickeneer f607076412 Cleanup some formatting on folia PR 2023-04-02 06:31:59 -05:00
creatorfromhell 8b87af631f Remove Folia Module.
- Add a scheduler assign check into the BukkitCommandManager
2023-04-01 13:19:45 -04:00
creatorfromhell 6cfe46e532 Add support for Folia.
- Added a new Scheduler class to managing all scheduling.
2023-04-01 12:36:22 -04:00
GrowlyX b397cf6ab4 Fix NullPointerException when attempting to parsing a location relative to the player's position with the ~ term 2022-07-30 20:01:10 -05:00
chickeneer 0661e678d1 Update version to 0.5.1-SNAPSHOT 2021-12-21 11:09:01 -06:00
MiniDigger 9452873d13 Add initial brigadier support (implements #77) (#153)
Co-authored-by: Aikar <aikar@aikar.co>
2020-08-13 20:40:06 -04:00
Aikar 737694b71e Add missing locale imports to velocity 2020-04-12 13:45:26 -04:00
Kévin Jimenez d2754b99c9 Add support for CommandPermission annotation as parameter for permiss… (#197)
…ions by Optional annotation

In the past we could not handle a permission in relation to the presence of an optional argument, it forced us to manage it in the body of the command, and could be repetitive and boring, note that it also works with the annotation Default
2019-03-09 11:03:04 -05:00
Aikar 67d631d47c Move to an improved CommandRouter, improve routing logic
now supports splitting commands over multiple BaseCommands better
should now only match probable @Default handlers, so @CatchUnknown
can still work in obviously wrong scenarios.

@HelpCommand no longer implies @Default as @CatchUnknown will pick it up
2019-02-25 21:45:12 -05:00
Aikar 93f8c0ad84 add copyright plugin to required 2019-02-23 21:25:41 -05:00
Aikar 7c8cd834c6 Update project 2019-02-21 18:27:27 -05:00
Aikar 3fa9fdca65 add acf-example to project, switch to paper 2019-02-02 11:20:30 -05:00
Aikar 6c7ccbd6da Register CommandIssuer context 2018-08-19 10:27:26 -04:00
Aikar f947ef6930 Add Save Actions plugin for auto reformat 2018-06-03 12:07:27 -04:00
Aikar 8667970216 Add JDA Implementation - untested - not ready yet!
Hoping @dumptruckman can finish this up
2018-01-22 22:03:22 -05:00
Aikar fe1be188a4 Allow @Default to work on classes bound to a @Subcommand
```java
@CommandAlias("foo")
@Subcommand("bar")
class FooBarCommand {
    @Default
    public void onFooBar(CommandIssuer issuer) {}
}
```

Will now pass `/foo bar` to onFooBar.
Previously this required @Subcommand("") which was unintuitive
2017-12-01 23:56:26 -05:00
Aikar fbed6f2be3 Add Support for Async Tab Completions for Paper Servers
This adds the ability for plugins to define completion handlers as async safe (not on games main thread)

When they are defined async safe, and ran on a Paper 1.12.2+ server, with a Paper ACF manager,
completions will be handled mostly async, letting you safely do heavier operations in tab completions.
2017-11-30 01:18:43 -05:00
Aikar d560beeeab Include inherited methods on register (for precommand/help etc) 2017-11-22 22:17:04 -05:00
Aikar 9159b3fbb0 Fix typo in separator 2017-10-09 19:11:01 -04:00
Aikar d4caa29f34 add code style settings 2017-09-28 22:51:34 -04:00
Aikar b2b7b18cb1 Remove the .iml files to make kashike happy. 2017-08-23 20:23:51 -04:00
Aikar efa684ce2c add getter to RegisteredCommand.command 2017-07-14 01:52:01 -04:00
Aikar 1ee1fcb9b3 update locales stuff to latest manager to go around the auto locale detect 2017-07-03 03:55:54 -05:00
Aikar 8168122241 Massive i18n work, not fully finished set but resolves #53 2017-06-30 12:05:00 -05:00
Aikar 14a1c33926 add Bungee to project metadata 2017-06-14 22:09:08 -04:00
Aikar c7dfe4eeb3 Add sponge files 2017-06-07 23:38:37 -04:00
Aikar 99a89b2826 Fix completions 2017-06-03 00:48:08 -04:00
Aikar c2a58a471f Refactor everything to a modular format - WIP
This does not compile

Almost done with core !!!
2017-05-20 11:32:41 -04:00
Aikar 2e0c034224 Move core code into a core folder in prep for bukkit extraction 2017-05-17 00:45:18 -04:00
Aikar 4ac62d4065 Rename stuff to ACF and expose util- Fixes #14 2017-04-21 23:10:04 -04:00
Aikar c0a29c4691 Add an example plugin 2017-04-21 01:12:15 -04:00
Aikar 08dc4a444d Rename group/artifact and bump to 0.2.0 2017-04-21 00:24:22 -04:00
Aikar 16409e3e0b Update copyright year 2017-01-07 16:24:23 -05:00
Aikar d1188e0011 Update Copyright headers 2017-01-07 16:19:50 -05:00
Aikar a03cf7eff5 Add Project stuff 2016-12-21 19:25:01 -05:00