mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Permission cleanup
This commit is contained in:
parent
02bd83bd90
commit
a5dea9e7f6
@ -210,7 +210,7 @@ permissions:
|
||||
default: false
|
||||
plots.admin.entry.forcefield:
|
||||
default: false
|
||||
plots.admin.command.chat:
|
||||
plots.admin.command.chatspy:
|
||||
default: false
|
||||
plots.admin.caps.other:
|
||||
default: false
|
||||
@ -236,8 +236,6 @@ permissions:
|
||||
default: false
|
||||
plots.admin.build.heightlimit:
|
||||
default: false
|
||||
plots.admin.command.update:
|
||||
default: false
|
||||
plots.admin.command.rate:
|
||||
default: false
|
||||
plots.admin.command.trust:
|
||||
|
@ -31,7 +31,7 @@ import com.plotsquared.core.player.PlotPlayer;
|
||||
import com.plotsquared.core.util.task.TaskManager;
|
||||
|
||||
@CommandDeclaration(command = "confirm",
|
||||
permission = "plots.use",
|
||||
permission = "plots.confirm",
|
||||
category = CommandCategory.INFO)
|
||||
public class Confirm extends SubCommand {
|
||||
|
||||
|
@ -44,7 +44,7 @@ public class Toggle extends Command {
|
||||
|
||||
@CommandDeclaration(command = "chatspy",
|
||||
aliases = {"spy"},
|
||||
permission = "plots.admin.command.chat")
|
||||
permission = "plots.admin.command.chatspy")
|
||||
public void chatspy(Command command, PlotPlayer<?> player, String[] args,
|
||||
RunnableVal3<Command, Runnable, Runnable> confirm,
|
||||
RunnableVal2<Command, CommandResult> whenDone) {
|
||||
|
@ -49,7 +49,7 @@ public enum Permission {
|
||||
PERMISSION_ADMIN_ENTRY_DENIED("plots.admin.entry.denied"),
|
||||
PERMISSION_ADMIN_VISIT_UNTRUSTED("plots.admin.visit.untrusted"),
|
||||
PERMISSION_ADMIN_ENTRY_FORCEFIELD("plots.admin.entry.forcefield"),
|
||||
PERMISSION_COMMANDS_CHAT("plots.admin.command.chat"),
|
||||
PERMISSION_ADMIN_COMMANDS_CHATSPY("plots.admin.command.chatspy"),
|
||||
PERMISSION_MERGE_OTHER("plots.merge.other"),
|
||||
PERMISSION_MERGE_KEEP_ROAD("plots.merge.keeproad"),
|
||||
PERMISSION_ADMIN_CAPS_OTHER("plots.admin.caps.other"),
|
||||
@ -64,7 +64,6 @@ public enum Permission {
|
||||
PERMISSION_ADMIN_INTERACT_UNOWNED("plots.admin.interact.unowned"),
|
||||
PERMISSION_ADMIN_INTERACT_OTHER("plots.admin.interact.other"),
|
||||
PERMISSION_ADMIN_BUILD_HEIGHT_LIMIT("plots.admin.build.heightlimit"),
|
||||
PERMISSION_ADMIN_UPDATE("plots.admin.command.update"),
|
||||
PERMISSION_ADMIN_COMMAND_RATE("plots.admin.command.rate"),
|
||||
PERMISSION_ADMIN_COMMAND_TRUST("plots.admin.command.trust"),
|
||||
PERMISSION_TRUST_EVERYONE("plots.trust.everyone"),
|
||||
|
Loading…
Reference in New Issue
Block a user