Case-insensitive commands?

Discussion in 'Plugin Development' started by RytoEX, Mar 4, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    RytoEX

    Does the update in Bukkit #421 apply to all commands (such as those added by plugins) or just Bukkit internals? Basically, does it remove the need for plugin authors to write code like this:
    Code:
    String commandName = command.getName().toLowerCase();
    in their plugin code?
     
  2. Offline

    xZise

    Try it out on your own. And I didn't test it, but the command handler (SimpleCommandMap.java) make no difference between plugin commands and internal commands (like version).

    Fabian
     
Thread Status:
Not open for further replies.

Share This Page