Commit Graph

175 Commits

Author SHA1 Message Date
Aikar 60821e6c00 add World context to Sponge 2017-07-03 18:39:33 -05:00
Aikar bafbef5358 add OnlinePlayer[] to Sponge 2017-07-03 18:35:29 -05:00
Aikar e6ab045607 add command source/player context for sponge 2017-07-03 18:34:42 -05:00
Aikar 5398e3f8a7 add OnlinePlayer context for Sponge 2017-07-03 18:30:06 -05:00
Aikar dc8f95ba57 accidently left register in there 2017-07-03 15:43:58 -05:00
Aikar 39f571b4b6 add an unregister API for bukkit manager 2017-07-03 15:43:35 -05:00
Aikar 08558d7538 go back to auto language scanning 2017-07-03 15:40:21 -05:00
Aikar e6cbdf2eaf Fix shading of guava 2017-07-03 15:40:00 -05: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 f900a739df Add Sponge CommandResult API/Context and move/add operation context 2017-07-03 02:35:34 -05:00
Aikar 6243202fe9 Fix sponge @Default command handling 2017-07-03 00:04:45 -05:00
Aikar b128908a77 Replace a bit of code duplication and misc cleanup 2017-07-03 00:02:43 -05:00
Aikar d9652ba9eb autoload message bundles based on plugin name 2017-07-02 14:27:44 -05:00
Aikar 8c545ce343 Expose current issuer and manager through thread locals 2017-07-01 23:47:27 -05:00
Aikar 3215092a08 Finish moving all messages to a message key 2017-06-30 13:33:38 -05:00
Aikar 8168122241 Massive i18n work, not fully finished set but resolves #53 2017-06-30 12:05:00 -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 12b5da35f4 Refactor the MessageFormatter to support any number of colors 2017-06-27 19:41:51 -04:00
Aikar e51d3ddff4 Some more work on locale stuff 2017-06-27 18:09:38 -04:00
Aikar cd109eb266 Implement Chat Formatting per platform 2017-06-27 00:24:05 -04:00
Aikar 2e493fcb49 Clean up logging code duplication 2017-06-26 23:12:48 -04:00
Aikar f2e96ea244 Start of I18N work 2017-06-26 23:03:18 -04:00
Aikar 3a4ebe2d45 MC Timing upgrade, fix timing integrations, add parent timing 2017-06-24 01:23:22 -04:00
Aikar 26daa86c5b Remove guava cache map to fix 1.7 support - resolves #52 2017-06-22 23:08:34 -04:00
William Braecky 17996955e3 Fix Optional parameters being resolved (#51) 2017-06-22 09:27:29 -04:00
Aikar 6c374c78c2 Fix Boolean Optional check 2017-06-20 19:11:07 -04:00
Aikar e50e90637f Check for null name in find player smart 2017-06-18 18:02:18 -04:00
Aikar 87995f03df Add IssuerOnlyContextResolver, rename SenderAware (with back compat) 2017-06-18 15:21:08 -04:00
Aikar 2ea2303444 Fix some deps, timings shouldnt of been in core, target Guava 15 (MC1.7) 2017-06-18 14:02:16 -04:00
Aikar 5e4d20cf61 add OnlinePlayer[] Bukkit Context 2017-06-17 21:14:17 -04:00
Aikar 15accea47b Add Contributors file 2017-06-17 20:54:41 -04:00
Aikar 7b6726523e Add CHANGELOG, update readme for 0.5.0 release 2017-06-17 20:07:11 -04:00
MiniDigger eb84340f46 Add custom Exception Handlers (#43)
* Add the ability to register exception handlers to handle exceptions that occur while executing a command

* you saw nothing

* add ability to cancel default error message

* per command exception handler

* add a getter for the default exception handler
2017-06-15 10:25:25 -04:00
Aikar 24066faabd Process unknown command completions - fixes #44 2017-06-14 22:42:04 -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 14a1c33926 add Bungee to project metadata 2017-06-14 22:09:08 -04:00
Aikar 43c4089a98 Fix other things about bungee pom 2017-06-14 22:07:59 -04:00
William Braecky 13c284cb9d Fix for issue #46 (#47)
* Change scope of bungeecord dependency
2017-06-14 22:03:21 -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
Aikar 1ad3eac962 remove unnecessary permission check
cmd.hasPermission calls that now
2017-06-08 00:28:41 -04:00
Aikar a11a8e00e2 check parent commands permission - Fixes #30 2017-06-08 00:25:43 -04:00
Aikar 1455dd4951 get rid of BaseSubcommand and establish parent tree 2017-06-08 00:07:53 -04:00
Aikar aef49466f1 move hasPermission to manager 2017-06-07 23:55:32 -04:00
Aikar bd19a78ec1 rename testPermission to hasPermission 2017-06-07 23:51:42 -04:00
Aikar 5d3678b1b1 also check RegisterCommand for Permission on completions 2017-06-07 23:51:03 -04:00
Aikar 93221e7832 fix sponge perm check 2017-06-07 23:50:34 -04:00
Aikar 9aaf1b3cb8 set bukkit permission node 2017-06-07 23:47:56 -04:00