Commit Graph

49 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
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
chickeneer 1124e8d431 Update various dependencies 2021-12-21 12:27:43 -06:00
chickeneer e82c77c55c Merge branch 'master' into temp-alex 2021-12-21 11:19:12 -06:00
chickeneer 0661e678d1 Update version to 0.5.1-SNAPSHOT 2021-12-21 11:09:01 -06:00
AlexProgrammerDE b0792607db Add velocity 3.0.0 support 2021-07-07 19:28:22 +02:00
Aikar 00618f051b (DEPLOYED ACF) Updated JavaDocs 2020-09-24 23:03:06 -04: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 bf9b81bf0e Clean up JavaDocs (Deployed ACF)
No longer generate the zip files in git and use proper doclint flag
Speeds up javadoc generation fixing a bug in config
2020-04-26 18:38:49 -04:00
Aikar 1eddc2cb8b Clean up build scripts and rework shading/relocation
ACF deps such as timings lib and expiring map will now properly
be relocated into ACF.

This will avoid version conflicts with ExpiringMap and TimingsLib

Sadly, because locales is an exposed API, we can not relocate locales...

It will still be on plugins to add the locales relocation themselves.
Will update wiki to document this.

also updated maven plugins to newest versions, minus surefire, as
3.0 doesn't work with current setup. Went to latest 2.x there.

Got rid of a lot of duplicated shade configuration stuff across
submodules too.
2020-04-26 17:43:08 -04:00
Aikar f9743d0ba4 Fix building javadocs on jdk11+ 2020-04-17 23:01:20 -04:00
Jeremy Wood 1c056cea45 Added basic JUnit5 testing framework. (#202) 2019-03-23 12:01:49 -04:00
Crypnotic 9ad64975bc Added Velocity support (#182)
This PR adds support for the upcoming proxy Velocity.
https://www.velocitypowered.org/

A few note worthy issues:
 - Velocity does not provide a static method for its ProxyServer instance, so the instance has to be passed in by the plugin with `new VelocityCommandManager(proxy, this)`

- Velocity does not provide a way to get the Plugin logger with the provided Plugin or PluginContainer, so it must be fetched using `Logger logger = LoggerFactory.getLogger(plugin.getClass());` UNTESTED

- Velocity uses an annotation to signify the main class, meaning it can't be passed around like the Bukkit and Bungeecord JavaPlugin and Plugin. An Object has to be passed in which the PluginContainer is extracted from it using the Proxy's PluginManager 
`proxy.getPluginManager().getPlugin(plugin.getClass().getAnnotation(Plugin.class).id()).get();`

Any and all feedback is welcomed and appreciated.

*This implementation is essentially a copy/paste/rename. All code belongs to the original author, except the `ACFVelocityUtil#matchPlayer` which was originally written by md_5 and modified to use Velocity classes.*
2019-02-19 21:15:05 -05:00
Aikar 027662e14d update javadoc plugin 2018-05-30 20:05:23 -04:00
Aikar d57dbcefab Update Maven Plugins, hopefully will fix #129 2018-05-27 12:43:32 -04:00
Aikar 7af1c96b08 Update repo urls 2018-03-14 23:14:46 -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 1f11d8be33 Keep protected javadocs 2017-11-25 19:44:36 -05:00
Aikar ab95e524a0 Update javadocs to only generate on deploy, add deploy script 2017-11-25 19:40:04 -05:00
Aikar 31b7ecb0e8 Update java docs for all 2017-09-06 23:23:28 -04:00
Aikar 94507f1841 Generate JavaDocs 2017-08-25 15:44:34 -04:00
Aikar c62c0298a2 Fix JB annotation deps 2017-07-03 22:56:02 -05:00
Aikar e6cbdf2eaf Fix shading of guava 2017-07-03 15:40:00 -05:00
Aikar c9acb55a48 ton more I18N/Locales work, messages migrated! 2017-06-29 00:36:59 -04:00
Aikar 7702977829 Update bukkit API to real 1.12 and shade in deps 2017-06-28 22:43:49 -04:00
William Braecky 036818deb9 Add ACF-Bungee (#45)
* Add acf-bungee

* Forgot to add bungee to the parent's pom

* Remove "created by " headers
2017-06-13 20:50:03 -04:00
kashike cd892fccd4 Start of Sponge support (#41) 2017-06-05 11:25:00 -04:00
Aikar 99a89b2826 Fix completions 2017-06-03 00:48:08 -04:00
Aikar 7bf24e9c13 Almost done with modular work 2017-06-03 00:11:43 -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 c070f76b98 Add initial support for 1.12 NamespacedKey - Resolves #34
We can't do completion for this really since every key is technically valid, and a list of
MC "Registered" keys are not available.
2017-05-17 00:29:41 -04:00
Aikar 1c212311f5 update mc timings to 1.0.3 for fix a spigot issue on timings 2017-05-04 22:16:29 -04:00
Aikar 3a1b1264a1 Update MC timings for new class name 2017-05-02 22:38:09 -04:00
Aikar d3bb35dc6a Bump minecraft-timings to 1.0.1 to fix 1.8.8 2017-05-02 22:17:46 -04:00
Aikar d6ff2d59a2 go back down to 0.4.0, theres no way someone was using that API 2017-05-02 22:06:44 -04:00
Aikar e41d4e507c v.0.5.0: Move Timings Impl to external lib, resolve Timings v2 Paper 1.8 support
This likely wouldn't of broke anyones code, only if they used the Timings method
in ACFUtil, but bumping just to be 'good' since it is an API break.

If you did not use the Timings in ACFUtil, then you can just bump the version
without breakages.

Timings is now handled over at https://github.com/aikar/minecraft-timings
2017-05-02 21:41:38 -04:00
Aikar ae87e7440a v0.4.0: Refactor Command Completions to look up context - API BREAK
Just add ", c" to your registerCompletion handler:

commandManager.getCommandCompletions().registerCompletion("test", (sender, config, input, c) -> {

});
2017-04-29 00:30:48 -04:00
Aikar 25d726e113 Change group/artifact id and bump to 0.3.0-SNAPSHOT 2017-04-21 23:14:53 -04:00
Aikar 08dc4a444d Rename group/artifact and bump to 0.2.0 2017-04-21 00:24:22 -04:00
Aikar 985d64f282 add distribution pom config 2017-04-18 21:08:42 -04:00
Aikar efa48351a3 change project to 0.1.0 2017-04-18 21:07:09 -04:00
Aikar 515d2d7e16 use 1.10.2 2017-01-07 16:35:06 -05: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 a4f1fdbd00 command > commands 2017-01-07 16:12:08 -05:00
Aikar ec749bf578 Initial Project Stuff 2016-12-21 19:25:11 -05:00