if(args.length < minArgs) return invalid(sender, "Invalid argument length, type /" + label + " for help");
switch(args[0].toLowerCase()) {
case "reload":
if(!(sender.hasPermission(permissions[1])))
return invalid(sender, "You don't have permission for that!");
<BUG>plugin.reload();
break;</BUG>
case "open":
if(!(sender.hasPermission(permissions[2])))
return invalid(sender, "You don't have permission for that!");

if(args.length < minArgs) return invalid(sender, "Invalid argument length, type /" + label + " for help");
switch(args[0].toLowerCase()) {
case "reload":
if(!(sender.hasPermission(permissions[1])))
return invalid(sender, "You don't have permission for that!");
plugin.reload();
sender.sendMessage("§8[§6" + plugin.getDescription().getName() + "§8] "
+ ChatColor.GREEN + "Plugin reloaded! "
+ plugin.getMenuRegistry().getMenus().size() + " menu(s) loaded.");
break;
case "open":
if(!(sender.hasPermission(permissions[2])))
return invalid(sender, "You don't have permission for that!");
