Commit Graph

66 Commits

Author SHA1 Message Date
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 75579fe649 more fixes, formatting, expand control over format, fix dupe 2017-08-08 22:08:05 -04:00
Aikar 05323ea8f8 Get things back compiling 2017-08-08 21:05:42 -04:00
Aikar 57a41c7540 Current progress on updating the help PR 2017-08-08 20:30:40 -04:00
Aikar 88a170cb58 Merge branch 'feature/help' of https://github.com/mrkirby153/commands into mrkirby153-feature/help
* 'feature/help' of https://github.com/mrkirby153/commands:
  Generify help generation
  Rework how help is generated
  First revision of help system
  Wire up command descriptions
2017-08-08 19:37:45 -04:00
Aikar 76aba7993d Undeprecate the findPlayerSmart(CommandSender) methods and route them to the Issuer version 2017-08-03 00:31:53 -04:00
Aikar 85554c2b6e remove extra error feedback on OnlinePlayer's 2017-08-02 23:30:37 -04:00
Aikar bba86047aa Clean up rel and force it to be before x 2017-08-01 21:47:31 -04:00
Aikar 7ba15c1454 If one coord is relative, all should be treated relative (so only prefix X) 2017-08-01 21:44:51 -04:00
Aikar 48dc4e7fe9 Add Location context to Bukkit 2017-08-01 21:33:56 -04:00
Aikar 6be206ffa7 add dye color completions 2017-07-31 22:33:36 -04:00
Aikar 829d79a737 Fix the Bukkit force unregister command logic
The previous made the command think it was fully unregistered,
instead of just removing just the conflicting entry.
2017-07-19 22:57:01 -04:00
Aikar d76d796feb add hashcodes/equals to command issuers 2017-07-19 19:45:16 -04:00
mrkirby153 5be72c40e2 Generify help generation 2017-07-18 19:41:45 -07:00
Aikar ef3b844ffa Move MessageFormatter stuff to base class using generics, readd default formatter G/S 2017-07-18 21:52:42 -04:00
Aikar 418bbd6fd9 Use generics on manager to understand impl types
Slight risk of API breakage but risk is minimal enough that I'm not bumping versions.

0.5.0 Migration guide suggested (Platform)CommandManager, which will set the generics for you.
Only if you stored the ref as the Abstract CommandManager would you now run into generic issues.

Also, cleaned up the sendMessage API's to not need Object now since we know the Generic type.

This is technically an API break, but considering Locales was only released last night and
the likelyhood someone overrode that method, is unlikey.

If you did, just fix the method signature! Sorry <3
2017-07-18 21:43:32 -04:00
mrkirby153 1d5b0f086d Rework how help is generated 2017-07-18 15:57:51 -07:00
mrkirby153 fd61e67974 First revision of help system 2017-07-18 11:25:56 -07:00
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 4963db24b7 Update for the latest locales signature changes 2017-07-17 22:34:11 -04:00
Aikar 89d5e86823 Use per-platform Locales classes 2017-07-17 21:07:53 -04:00
Aikar c62c0298a2 Fix JB annotation deps 2017-07-03 22:56:02 -05: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 08558d7538 go back to auto language scanning 2017-07-03 15:40:21 -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 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 cd109eb266 Implement Chat Formatting per platform 2017-06-27 00:24:05 -04:00