forked from unimatrix/web
Let staff assign registered skins to quest NPCs
This commit is contained in:
parent
897fc46489
commit
8f3d91aedc
1 changed files with 41 additions and 4 deletions
|
|
@ -107,6 +107,11 @@ public final class DuneGUI extends JavaPlugin implements Listener,CommandExecuto
|
|||
if(args.length!=1||!HOUSE_IDS.contains(id)){p.sendMessage("Use /house <"+String.join("|",IDS)+">");return true;}
|
||||
fetch(p,null,0,null,data->declareHouse(p,data,id,false));return true;
|
||||
}
|
||||
if(command.getName().equals("npc")){
|
||||
if(args.length==2&&args[0].equalsIgnoreCase("skin"))polQuestNpcs.assignSkin(p,args[1]);
|
||||
else p.sendMessage("Look at a quest NPC and use /npc skin #id.");
|
||||
return true;
|
||||
}
|
||||
if(command.getName().equals("decisions")){quests.openDecisions(p,0);return true;}
|
||||
if(command.getName().equals("rosterkey")){if(args.length!=1)p.sendMessage("Use /rosterkey <team invite code>");else warMenus.accept(p,args[0]);return true;}
|
||||
if(command.getName().equals("warmuster")){warMenus.open(p);return true;}
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff