Why were these restricted to players?

This commit is contained in:
Jesse Boyd 2016-06-20 18:52:00 +10:00
parent 01d508edf4
commit e5e3600206
12 changed files with 12 additions and 12 deletions

View File

@ -23,7 +23,7 @@ import java.util.UUID;
usage = "/plot add <player>",
category = CommandCategory.SETTINGS,
permission = "plots.add",
requiredType = RequiredType.PLAYER)
requiredType = RequiredType.NONE)
public class Add extends Command {
public Add() {

View File

@ -16,7 +16,7 @@ import com.plotsquared.general.commands.CommandDeclaration;
aliases = "c",
description = "Claim the current plot you're standing on",
category = CommandCategory.CLAIMING,
requiredType = RequiredType.PLAYER,
requiredType = RequiredType.NONE,
permission = "plots.claim", usage = "/plot claim")
public class Claim extends SubCommand {

View File

@ -23,7 +23,7 @@ import java.util.UUID;
description = "Deny a user from a plot",
usage = "/plot deny <player>",
category = CommandCategory.SETTINGS,
requiredType = RequiredType.PLAYER)
requiredType = RequiredType.NONE)
public class Deny extends SubCommand {
public Deny() {

View File

@ -19,7 +19,7 @@ import com.plotsquared.general.commands.CommandDeclaration;
description = "Mark a plot as done",
permission = "plots.done",
category = CommandCategory.SETTINGS,
requiredType = RequiredType.PLAYER)
requiredType = RequiredType.NONE)
public class Done extends SubCommand {
@Override

View File

@ -22,7 +22,7 @@ import java.net.URL;
command = "download",
aliases = {"dl"},
category = CommandCategory.SCHEMATIC,
requiredType = RequiredType.PLAYER,
requiredType = RequiredType.NONE,
description = "Download your plot",
permission = "plots.download")
public class Download extends SubCommand {

View File

@ -28,7 +28,7 @@ import java.util.Map;
usage = "/plot flag <set|remove|add|list|info> <flag> <value>",
description = "Set plot flags",
category = CommandCategory.SETTINGS,
requiredType = RequiredType.PLAYER,
requiredType = RequiredType.NONE,
permission = "plots.flag")
public class FlagCmd extends SubCommand {

View File

@ -22,7 +22,7 @@ import java.util.UUID;
permission = "plots.kick",
usage = "<player>",
category = CommandCategory.TELEPORT,
requiredType = RequiredType.PLAYER)
requiredType = RequiredType.NONE)
public class Kick extends SubCommand {
public Kick() {

View File

@ -22,7 +22,7 @@ import java.util.UUID;
description = "Merge the plot you are standing on, with another plot",
permission = "plots.merge", usage = "/plot merge <all|n|e|s|w> [removeroads]",
category = CommandCategory.SETTINGS,
requiredType = RequiredType.PLAYER,
requiredType = RequiredType.NONE,
confirmation = true)
public class Merge extends SubCommand {

View File

@ -17,7 +17,7 @@ import com.plotsquared.general.commands.CommandDeclaration;
description = "Teleports you to the center of the current plot",
usage = "/plot middle",
category = CommandCategory.TELEPORT,
requiredType = RequiredType.PLAYER)
requiredType = RequiredType.NONE)
public class Middle extends SubCommand {
@Override

View File

@ -22,7 +22,7 @@ import java.util.UUID;
description = "Remove a player from a plot",
usage = "/plot remove <player>",
category = CommandCategory.SETTINGS,
requiredType = RequiredType.PLAYER,
requiredType = RequiredType.NONE,
permission = "plots.remove")
public class Remove extends SubCommand {

View File

@ -19,7 +19,7 @@ import java.util.UUID;
@CommandDeclaration(
command = "trust",
aliases = {"t"},
requiredType = RequiredType.PLAYER,
requiredType = RequiredType.NONE,
usage = "/plot trust <player>",
description = "Allow a player to build in a plot",
category = CommandCategory.SETTINGS)

View File

@ -22,7 +22,7 @@ import java.util.UUID;
description = "Visit someones plot",
usage = "/plot visit [player|alias|world|id] [#]",
aliases = {"v", "tp", "teleport", "goto", "home", "h"},
requiredType = RequiredType.PLAYER,
requiredType = RequiredType.NONE,
category = CommandCategory.TELEPORT)
public class Visit extends SubCommand {