Commit Graph

267 Commits

Author SHA1 Message Date
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
Aikar ab192c9e34 Current work on command searching for help, see image
http://i.imgur.com/HQ6nmvF.png

@Default
@Subcommand("help")
@UnknownHandler
public void doHelp(CommandSender sender, CommandHelp help) {
     help.showHelp();
}
2017-08-23 23:54:59 -04:00
Aikar 0746f97ee1 Fix registering subcommands that are also @UnknownHandlers 2017-08-23 23:02:20 -04:00
Marek Šipoš ebb4fd6644 add czech translation (#67)
* Update CommandManager.java (#3)

* Create acf-core_cs.properties (#2)

* Create acf-minecraft_cs.properties (#1)
2017-08-23 20:37:12 -04:00
Kacper Duras 6bb9ec0fd9 Translation fixes (#69)
* Polish translation.

* Format fixes.

* Translation fixes.
2017-08-23 20:35:31 -04: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 287924d434 Fix CoMoEx in loadMissingBundles 2017-08-15 20:22:07 -04:00
Aikar 43a06e9006 Mark the Help system as unstable 2017-08-08 23:43:59 -04:00
Aikar 278e91a76b add Unstable API stuff 2017-08-08 23:41:25 -04:00
Aikar 75579fe649 more fixes, formatting, expand control over format, fix dupe 2017-08-08 22:08:05 -04:00
Aikar 3cdd47942d things are working now 2017-08-08 21:17:56 -04:00
Aikar 3b2b5559fe Update format of help with colors 2017-08-08 21:08:47 -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 2306418c83 add Exception to the name 2017-08-02 23:33:57 -04:00
Aikar 5711497ef8 Make kashike happy 2017-08-02 23:33:09 -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 4e39a72326 use proper issuer based player search for bungee 2017-08-01 18:17:19 -04:00
Aikar 6be206ffa7 add dye color completions 2017-07-31 22:33:36 -04:00
Aikar 4e6fa422c8 rework Locale refs to provide our own common table of locales 2017-07-25 01:11:02 -04:00
MiniDigger fefd35804b add german translations (#65) 2017-07-24 23:57:04 -05:00
Frank Kusmiruk 414594d136 Adding spanish translations (#66) 2017-07-24 23:53:51 -05:00
Aikar 95ef58ce87 add set default locale 2017-07-25 00:42:28 -04:00