package mineplex.hub.commands; import org.bukkit.entity.Player; import mineplex.core.command.CommandBase; import mineplex.core.common.Rank; import mineplex.hub.HubManager; public class GadgetToggle extends CommandBase { public GadgetToggle(HubManager plugin) { super(plugin, Rank.ADMIN, new String[] {"gadget"}); } @Override public void Execute(Player caller, String[] args) { Plugin.ToggleGadget(caller); } }