mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Why were these restricted to players?
This commit is contained in:
parent
01d508edf4
commit
e5e3600206
@ -23,7 +23,7 @@ import java.util.UUID;
|
|||||||
usage = "/plot add <player>",
|
usage = "/plot add <player>",
|
||||||
category = CommandCategory.SETTINGS,
|
category = CommandCategory.SETTINGS,
|
||||||
permission = "plots.add",
|
permission = "plots.add",
|
||||||
requiredType = RequiredType.PLAYER)
|
requiredType = RequiredType.NONE)
|
||||||
public class Add extends Command {
|
public class Add extends Command {
|
||||||
|
|
||||||
public Add() {
|
public Add() {
|
||||||
|
@ -16,7 +16,7 @@ import com.plotsquared.general.commands.CommandDeclaration;
|
|||||||
aliases = "c",
|
aliases = "c",
|
||||||
description = "Claim the current plot you're standing on",
|
description = "Claim the current plot you're standing on",
|
||||||
category = CommandCategory.CLAIMING,
|
category = CommandCategory.CLAIMING,
|
||||||
requiredType = RequiredType.PLAYER,
|
requiredType = RequiredType.NONE,
|
||||||
permission = "plots.claim", usage = "/plot claim")
|
permission = "plots.claim", usage = "/plot claim")
|
||||||
public class Claim extends SubCommand {
|
public class Claim extends SubCommand {
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ import java.util.UUID;
|
|||||||
description = "Deny a user from a plot",
|
description = "Deny a user from a plot",
|
||||||
usage = "/plot deny <player>",
|
usage = "/plot deny <player>",
|
||||||
category = CommandCategory.SETTINGS,
|
category = CommandCategory.SETTINGS,
|
||||||
requiredType = RequiredType.PLAYER)
|
requiredType = RequiredType.NONE)
|
||||||
public class Deny extends SubCommand {
|
public class Deny extends SubCommand {
|
||||||
|
|
||||||
public Deny() {
|
public Deny() {
|
||||||
|
@ -19,7 +19,7 @@ import com.plotsquared.general.commands.CommandDeclaration;
|
|||||||
description = "Mark a plot as done",
|
description = "Mark a plot as done",
|
||||||
permission = "plots.done",
|
permission = "plots.done",
|
||||||
category = CommandCategory.SETTINGS,
|
category = CommandCategory.SETTINGS,
|
||||||
requiredType = RequiredType.PLAYER)
|
requiredType = RequiredType.NONE)
|
||||||
public class Done extends SubCommand {
|
public class Done extends SubCommand {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -22,7 +22,7 @@ import java.net.URL;
|
|||||||
command = "download",
|
command = "download",
|
||||||
aliases = {"dl"},
|
aliases = {"dl"},
|
||||||
category = CommandCategory.SCHEMATIC,
|
category = CommandCategory.SCHEMATIC,
|
||||||
requiredType = RequiredType.PLAYER,
|
requiredType = RequiredType.NONE,
|
||||||
description = "Download your plot",
|
description = "Download your plot",
|
||||||
permission = "plots.download")
|
permission = "plots.download")
|
||||||
public class Download extends SubCommand {
|
public class Download extends SubCommand {
|
||||||
|
@ -28,7 +28,7 @@ import java.util.Map;
|
|||||||
usage = "/plot flag <set|remove|add|list|info> <flag> <value>",
|
usage = "/plot flag <set|remove|add|list|info> <flag> <value>",
|
||||||
description = "Set plot flags",
|
description = "Set plot flags",
|
||||||
category = CommandCategory.SETTINGS,
|
category = CommandCategory.SETTINGS,
|
||||||
requiredType = RequiredType.PLAYER,
|
requiredType = RequiredType.NONE,
|
||||||
permission = "plots.flag")
|
permission = "plots.flag")
|
||||||
public class FlagCmd extends SubCommand {
|
public class FlagCmd extends SubCommand {
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ import java.util.UUID;
|
|||||||
permission = "plots.kick",
|
permission = "plots.kick",
|
||||||
usage = "<player>",
|
usage = "<player>",
|
||||||
category = CommandCategory.TELEPORT,
|
category = CommandCategory.TELEPORT,
|
||||||
requiredType = RequiredType.PLAYER)
|
requiredType = RequiredType.NONE)
|
||||||
public class Kick extends SubCommand {
|
public class Kick extends SubCommand {
|
||||||
|
|
||||||
public Kick() {
|
public Kick() {
|
||||||
|
@ -22,7 +22,7 @@ import java.util.UUID;
|
|||||||
description = "Merge the plot you are standing on, with another plot",
|
description = "Merge the plot you are standing on, with another plot",
|
||||||
permission = "plots.merge", usage = "/plot merge <all|n|e|s|w> [removeroads]",
|
permission = "plots.merge", usage = "/plot merge <all|n|e|s|w> [removeroads]",
|
||||||
category = CommandCategory.SETTINGS,
|
category = CommandCategory.SETTINGS,
|
||||||
requiredType = RequiredType.PLAYER,
|
requiredType = RequiredType.NONE,
|
||||||
confirmation = true)
|
confirmation = true)
|
||||||
public class Merge extends SubCommand {
|
public class Merge extends SubCommand {
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ import com.plotsquared.general.commands.CommandDeclaration;
|
|||||||
description = "Teleports you to the center of the current plot",
|
description = "Teleports you to the center of the current plot",
|
||||||
usage = "/plot middle",
|
usage = "/plot middle",
|
||||||
category = CommandCategory.TELEPORT,
|
category = CommandCategory.TELEPORT,
|
||||||
requiredType = RequiredType.PLAYER)
|
requiredType = RequiredType.NONE)
|
||||||
public class Middle extends SubCommand {
|
public class Middle extends SubCommand {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -22,7 +22,7 @@ import java.util.UUID;
|
|||||||
description = "Remove a player from a plot",
|
description = "Remove a player from a plot",
|
||||||
usage = "/plot remove <player>",
|
usage = "/plot remove <player>",
|
||||||
category = CommandCategory.SETTINGS,
|
category = CommandCategory.SETTINGS,
|
||||||
requiredType = RequiredType.PLAYER,
|
requiredType = RequiredType.NONE,
|
||||||
permission = "plots.remove")
|
permission = "plots.remove")
|
||||||
public class Remove extends SubCommand {
|
public class Remove extends SubCommand {
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ import java.util.UUID;
|
|||||||
@CommandDeclaration(
|
@CommandDeclaration(
|
||||||
command = "trust",
|
command = "trust",
|
||||||
aliases = {"t"},
|
aliases = {"t"},
|
||||||
requiredType = RequiredType.PLAYER,
|
requiredType = RequiredType.NONE,
|
||||||
usage = "/plot trust <player>",
|
usage = "/plot trust <player>",
|
||||||
description = "Allow a player to build in a plot",
|
description = "Allow a player to build in a plot",
|
||||||
category = CommandCategory.SETTINGS)
|
category = CommandCategory.SETTINGS)
|
||||||
|
@ -22,7 +22,7 @@ import java.util.UUID;
|
|||||||
description = "Visit someones plot",
|
description = "Visit someones plot",
|
||||||
usage = "/plot visit [player|alias|world|id] [#]",
|
usage = "/plot visit [player|alias|world|id] [#]",
|
||||||
aliases = {"v", "tp", "teleport", "goto", "home", "h"},
|
aliases = {"v", "tp", "teleport", "goto", "home", "h"},
|
||||||
requiredType = RequiredType.PLAYER,
|
requiredType = RequiredType.NONE,
|
||||||
category = CommandCategory.TELEPORT)
|
category = CommandCategory.TELEPORT)
|
||||||
public class Visit extends SubCommand {
|
public class Visit extends SubCommand {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user