command-framework
command-framework copied to clipboard
A lightweight and simple to use command library for Bukkit and Bungee platforms.
I've received a lot of complaints throughout the last year about some broken or mysterious functionalities and bugs. This lib was once considered archived, but I have some free time...
## Command patterns Make easier to treat command arguments, like in functional languages(elixir, haskell, idris): ```haskell command :: String -> Int -> IO () command "some string" 0 = putStrLn...
Flags will follow the same logic as flags in CLI programs, prefixed with `--` or `-` for the shorthand. Example usage: `/mute SaiintBrisson -s --color=RED` I'm thinking of creating a...
Currently the Bukkit and Bungee module contains the **same code**, just changes the parameters of some methods to **Player -> ProxiedPlayer and Bukkit -> Proxy**. This could be avoided if...
The @Optional annotation can't be used in the middle of arguments Example: ```java // annotation here public void handleCommand(final Context context, @Optional final String key, final Player target) { //...