Aikar
d24ae03b12
fix the format API's and add setFormat(type, i, color)
2017-07-18 08:31:35 -04:00
Aikar
0335378205
clean up bukkit command map stuff
2017-07-18 00:24:43 -04:00
Aikar
05b8141573
auto load locales
2017-07-18 00:21:45 -04:00
Aikar
39f569330b
load parent acf-core lang
2017-07-18 00:20:27 -04:00
Aikar
b0ae0209c9
Load languages post locales construction
2017-07-18 00:11:13 -04:00
Aikar
b4539aa1ed
Open the Locales API!
2017-07-17 23:59:50 -04:00
Aikar
9ee590026f
add setFormat API's
2017-07-17 23:57:04 -04:00
Aikar
1813dbe83c
support a default formatter
2017-07-17 23:42:37 -04:00
Aikar
e82b5ef9bd
Refactor supported languages and move MessageKeyProvider to co.a.locales
2017-07-17 23:25:30 -04:00
Aikar
668fa650ba
add some bukkit API's for loading YAML Locale
2017-07-17 23:02:14 -04:00
Aikar
89d5e86823
Use per-platform Locales classes
2017-07-17 21:07:53 -04:00
LordRobust
f534b70bdb
allow force registering of commands to override existing registrations of a command. ( #55 )
...
this took 30 minutes of debugging, just for 5 lines. turns out, after a bunch of fuckery with breakpoints, the issue was never with my code. i am incapable of doing a proper maven install more than once. i played myself.
2017-07-03 22:38:02 -05:00
Aikar
d2d0f22a07
use acf prefixes to msg keys
2017-07-03 19:04:31 -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
f900a739df
Add Sponge CommandResult API/Context and move/add operation context
2017-07-03 02:35:34 -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
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
12b5da35f4
Refactor the MessageFormatter to support any number of colors
2017-06-27 19:41:51 -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
e50e90637f
Check for null name in find player smart
2017-06-18 18:02:18 -04:00
Aikar
5e4d20cf61
add OnlinePlayer[] Bukkit Context
2017-06-17 21:14:17 -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
9aaf1b3cb8
set bukkit permission node
2017-06-07 23:47:56 -04:00
Aikar
64c04e5944
clean up permission checking
2017-06-07 23:46:33 -04:00
chickeneer
60892d566e
Temporary fix for lack of permission errors on commands
2017-06-07 15:56:58 -05:00
kashike
96a3a3c57d
Death to ACFLog ( #42 )
2017-06-06 19:03:01 -04:00
Aikar
99a89b2826
Fix completions
2017-06-03 00:48:08 -04:00
Aikar
3c6d5bbe63
more stuff
2017-06-03 00:31:39 -04:00
Aikar
7bf24e9c13
Almost done with modular work
2017-06-03 00:11:43 -04:00
Aikar
0bf2621a91
Merge branch 'master' into modular
...
* master:
Warn if you register replacements after commands
add some more example
Fix Command Replacements not being applied correctly to aliases - fixes #37
2017-05-20 12:29:04 -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