Commit Graph

32 Commits

Author SHA1 Message Date
chickeneer b50215e2fa Move all scheduler initialization to BukkitCommandManager #394
The create Locale task is happening DURING object construction so initializing the scheduler in the
PaperCommandManager initialization step is too late due to the bukkit/paper modules extending.
This should fix the issues
2023-06-26 18:11:01 -05:00
chickeneer 6a259126a5 Let's not use reflection for scheduler detection 2023-06-26 16:55:22 -05:00
chickeneer 8c56e992a6 Improve AsyncScheduler detection #394
Since paper now has the AsyncScheduler, we can add detection for the AsyncScheduler to Paper itself instead of Folia specifically
2023-06-26 16:24:21 -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 59de061bea Remove extra imports 2021-12-21 20:38:14 -06:00
chickeneer 1124e8d431 Update various dependencies 2021-12-21 12:27:43 -06:00
Alberto Migliorato 24d97bb3eb Added Velocity 3.0.x support 2021-09-13 16:28:54 +02:00
Jake Potrebic fd25a31c63 Fix Bukkit log prefix for custom prefixes (#237) 2020-09-24 22:39:09 -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 375648e50b Fix Forwarded Commands completion and misc improvements 2019-02-03 19:15:55 -05:00
Aikar c5ca1ac731 Fix issues with Paper Async Tab Completion
Works in 1.12, but 1.13 has problems at paper level, I will fix there.
2019-02-02 11:20:30 -05:00
Osip Fatkullin 3c979a9ef2 Drop trivial Guava usages (#142)
#120, #127
2018-07-19 19:43:17 -04:00
Aikar df656196a9 Fix async completions bug in latest change 2017-12-09 13:40:25 -05:00
Aikar e1dd2e7613 recreate completions if the list was set to immutable
Need to fix this at paper level too
2017-12-09 12:53:04 -05:00
Aikar 305a7835ce fix trying to add to immutable collection for paper async completions 2017-12-06 23:05:18 -05:00
Aikar abe66948db Fix multi class sub command tab completion for Paper Async Handler 2017-12-02 21:19:10 -05:00
Aikar 5e90fab7d0 Don't run async tab completions until a space exists 2017-12-02 20:20:49 -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 b2b7b18cb1 Remove the .iml files to make kashike happy. 2017-08-23 20:23:51 -04:00
Aikar 11dcf57113 Work on the help system to start work on pagination and search 2017-08-23 19:16:45 -04:00
Aikar 4963db24b7 Update for the latest locales signature changes 2017-07-17 22:34:11 -04:00
Aikar c62c0298a2 Fix JB annotation deps 2017-07-03 22:56:02 -05:00
Aikar 08558d7538 go back to auto language scanning 2017-07-03 15:40:21 -05:00
Aikar c9acb55a48 ton more I18N/Locales work, messages migrated! 2017-06-29 00:36:59 -04:00
Aikar a93d1cf5bc add MessageKey method to CommandIssuer and misc stuff 2017-06-28 23:02:23 -04:00
Aikar c3b3a5f43a Move Locale API's to the external Locales artifact/project 2017-06-28 22:44:15 -04:00
Aikar 7702977829 Update bukkit API to real 1.12 and shade in deps 2017-06-28 22:43:49 -04:00
Aikar 3a4ebe2d45 MC Timing upgrade, fix timing integrations, add parent timing 2017-06-24 01:23:22 -04:00
Aikar 15b149d55c Big Break: Change the Command Completion Handler signature to match Context
For consistency, make Completion Handlers be implemented the same way Context Handlers are.

Previously when we added the Context parameter, we left the original signature in place and simply tacked , c on the end.

This made migration easier than changing all completion handlers bodies.

But since 0.5.0 is a big migration already, let's just get it over with.

See changes to Bukkit default completions and the example plugin for migration example.
2017-06-14 22:17:33 -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