Skip to content

marioogg/command

 
 

Repository files navigation

MC Command Framework

DISCLAIMER:

I did not make nor helped in the initial development of this project. All the credit goes to ashtton and his original project. What I'll actually do is maintain this plugin updated and according to my needs, while keeping it public, as far as providing builds on my Maven repository (check below). To keep my Java packages ordered, I'll probably rename the packages to me.marioogg.* (already done), although this message will stay here because my intention will never be skidding other ones code. If you have any kind of proposal to add a feature, open a pull request or an issue

Features

  • Well-documented and javadoc'ed annotation command registration
  • Easy-to-use @Subcommand annotations system. (check wiki)
  • Flexible and easy-to-use parameter annotation system (@Param)
  • Also flexible and easy to use flag system (e.g. --silent or -s) (@Flag) (to be finished)
  • Automatic tab completion
  • Customizable tab completion objects via processors

NOTE:
It's recommended to relocate the library to avoid version conflicts with other plugins that use the framework.

Parsing

  • Numbers: Integer, Long, Double, Float (Bukkit only)
  • Players: Player, OfflinePlayer (Bukkit only)
  • Misc: World, Boolean, Duration, ChatColor, GameMode (Bukkit only)
  • Numbers: Integer, Long, Double, Float
  • Misc: Boolean
  • Numbers: Integer, Long, Double, Float
  • Misc: Boolean You can also register custom processors for any type — see the processor examples in the wiki.

About

A lightweight, asynchronous command API for Bukkit, Folia, BungeeCord and Velocity.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 100.0%