Commit Graph

295 Commits

Author SHA1 Message Date
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 229192f99c Updated JavaDocs 2017-11-25 22:08:08 -05:00
Aikar 8251b81a94 Fix Plugin Logger on Bukkit/Paper (not sure whats wrong with plugin.getLogger()) 2017-11-25 22:07:23 -05:00
Aikar 001dd406aa Updated JavaDocs 2017-11-25 20:50:56 -05:00
Aikar b032c677b8 require opting into per-issuer locale 2017-11-25 20:50:19 -05:00
Aikar 1f11d8be33 Keep protected javadocs 2017-11-25 19:44:36 -05:00
Aikar 8eafa3f54a Updated JavaDocs 2017-11-25 19:44:35 -05:00
Aikar e782d901d8 Updated JavaDocs 2017-11-25 19:40:56 -05:00
Aikar ab95e524a0 Update javadocs to only generate on deploy, add deploy script 2017-11-25 19:40:04 -05:00
Aikar c48576a4d7 Updated JavaDocs 2017-11-25 19:39:51 -05:00
Aikar e8c05cc39b Fix Cast to player issue for Bukkit 2017-11-25 19:17:33 -05:00
Aikar 59012dc6c0 more doc updates 2017-11-24 13:06:43 -05:00
Aikar 036166b551 Update javadocs 2017-11-24 13:05:57 -05:00
Aikar adfb4b11a1 Add support for Per Player Locale on Bukkit - Resolves #62 2017-11-24 13:05:20 -05:00
Aikar 1915ebf00e check the scope of commands for permissions too and rename to getRequiredPermissions 2017-11-22 22:54:02 -05:00
Aikar 1e85b9bf42 update javadocs 2017-11-22 22:41:16 -05:00
Aikar 70571a4a0a new API for multi permissions on RegisteredCommand 2017-11-22 22:41:07 -05:00
Aikar 4a54e8c333 support requiring multiple permission nodes for a command 2017-11-22 22:33:49 -05:00
Aikar d560beeeab Include inherited methods on register (for precommand/help etc) 2017-11-22 22:17:04 -05:00
Aikar 55d238614f Add missing getDefCommand for Sponge - Fixes #75 2017-11-14 01:00:47 -05:00
Aikar 171b083cba Ok that solution didn't even work (or only works sometimes?), try 2 2017-10-29 20:37:15 -04:00
Aikar a1fecf3174 Fix java lameness with constructor order
Apparently doing it in the ctor is a different order.

The addReplacements call in CommandReplacements checks registeredCommands in the constructor

This was being called before Bukkit manager even fully loaded, and the registered commands was still null

I don't know why java can't treat this the same code wise....
2017-10-29 20:12:08 -04:00
Aikar 64de86be45 add t/f to the truthy list 2017-10-29 19:54:31 -04:00
Aikar 8a0a5c31af Add @truthy as a default command replacement 2017-10-29 19:54:01 -04:00
Aikar 72e052d953 Finish up the pagination of the help system 2017-10-28 13:36:39 -04:00
Aikar fd314b0f7c Fix syntax/desc returning null 2017-10-28 12:42:23 -04:00
Aikar a02d761e5e Set bukkit usage/description data 2017-10-28 12:21:35 -04:00
Aikar dbf832c96e Update readme 2017-10-11 20:55:53 -04:00
Aikar 8c49ecabcf Add many comments to the example to help explain things 2017-10-11 20:47:10 -04:00
Aikar c165ca2c36 pagination on help progress 2017-10-09 21:09:43 -04:00
Aikar 9159b3fbb0 Fix typo in separator 2017-10-09 19:11:01 -04:00
Aikar f1423dc3bf support old no args = default logic 2017-09-28 23:09:07 -04:00
Aikar d4caa29f34 add code style settings 2017-09-28 22:51:34 -04:00
Aikar 12a4d438c6 Update docs 2017-09-28 22:51:31 -04:00
Aikar a9f203b5ef Unknown Handlers should have priority over default.
Both conflict with each other to support parameters on @Default
2017-09-28 22:51:24 -04:00
Daniel Ennis 89695ad804 Set theme jekyll-theme-midnight 2017-09-06 23:49:20 -04:00
Aikar 51cbbb16e0 lets try this 2017-09-06 23:31:13 -04:00
Aikar 20a8d872c8 remove old line 2017-09-06 23:29:38 -04:00
Aikar 5e5d67d353 Symlink to root readme for docs site 2017-09-06 23:25:59 -04:00
Aikar 8643b801ed fix bukkit link 2017-09-06 23:24:15 -04:00
Aikar 31b7ecb0e8 Update java docs for all 2017-09-06 23:23:28 -04:00
Aikar c188312fb1 Fix unregister of bukkit/bungee commands.
A RootCommand is shared between any BaseCommand that all use the same root.

We should not unregister the root command until all sub commands are unregistered.
2017-09-05 23:35:27 -04:00
simpleauthority 1fbdfb19c9 Bungee: Implement getDefCommand & command unregistration (#71)
* Implement getDefCommand

* Implement command unregistration for Bungee

* Remove accidental star imports
2017-09-05 15:53:32 -04:00
Aikar b5c368a64b add javadoc link 2017-08-25 15:49:24 -04:00
Daniel Ennis 88a2060fe4 Set theme jekyll-theme-slate 2017-08-25 15:47:39 -04:00
Aikar 94507f1841 Generate JavaDocs 2017-08-25 15:44:34 -04:00
Aikar 052a5d26dc use ExpiringMap for Pattern Cache 2017-08-24 22:45:12 -04:00
Aikar 34642136f5 Only register Unknown/Default for HelpCommand if not already set 2017-08-24 01:21:50 -04:00
Aikar dcbdf0b594 Support context on @Default! Hooray!!!!
@Subcommand("list") @Default
public void onFoo(CommandSender sender, @Default("1") Integer page) {}

type stuff will now work with /cmd list 2 and /cmd 2
2017-08-24 01:17:16 -04:00
Aikar 851b50053b Add @HelpCommand shortcut annotation 2017-08-24 00:41:00 -04:00