Advertisement
wreed12345

Untitled

Aug 1st, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.65 KB | None | 0 0
  1.     @CommandHandler(
  2.             command = "cc.upgrade",
  3.             permission = "cc.upgrade",
  4.             noPermission = "You do not have permission to upgrade buildings",
  5.             usage = "/cc upgrade <building name>",
  6.             description = "Updates the building of the name you choose, if you have multiples of that building it selects the "
  7.             + "building which is closest to you of that type.",
  8.                     playerOnly = false, min = 1, max = 1)
  9.     public void onCommandUpgrade(CommandInfo info)
  10.     {
  11.         System.out.println("Command: " + info.getCommand());
  12.         System.out.println("Arg amounts: " + info.getArgsLength() + "\n Args:");
  13.         for(String s : info.getArgs())
  14.             System.out.println(s);
  15.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement