Fold cmds boilerplate. Also make pvp/trade only work on menu/editor