Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.mcoverhaul.console;
- public enum CommandType {
- SAY(1, "say <message>"),
- EXIT(0, null),
- CLIENTHANDLER(0, null),
- CLIENTHANDLER_SIZE(0, null),
- CLIENTHANDLER_KICK(1, "clienthandler_kick <target>"),
- CLIENTHANDLER_BAN(1, "clienthandler_ban <target>"),
- SERVERHANDLER(0, null),
- SERVERHANDLER_SIZE(0, null),
- SERVERHANDLER_PLAYERS(1, "serverhandler_players <target>"),
- SCHEDULER_SIZE(0, null);
- private int length;
- private String syntax;
- CommandType(int length, String syntax) {
- this.length = length;
- this.syntax = syntax;
- }
- public int getLength() {
- return this.length;
- }
- public String getSyntax() {
- return this.syntax;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement