Standardized Permissions
- Will be test on test-production.
This commit is contained in:
@@ -10,9 +10,11 @@ command teleport {
|
||||
alias etp2p;
|
||||
[player:string] {
|
||||
run tp player;
|
||||
perm utils.teleport.tp;
|
||||
}
|
||||
[player:string] [player2:string] {
|
||||
run tp2 player player2;
|
||||
perm utils.teleport.tp.other;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,8 +24,10 @@ command teleporthere {
|
||||
alias etphere;
|
||||
alias tpohere;
|
||||
alias etpohere;
|
||||
perm utils.teleport.tp;
|
||||
[player:string] {
|
||||
run tph player;
|
||||
perm utils.teleport.tp.here;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +39,7 @@ command teleportask {
|
||||
alias etpr;
|
||||
alias tpask;
|
||||
alias etpask;
|
||||
perm utils.teleport.tpa;
|
||||
[player:string] {
|
||||
run tpa player;
|
||||
}
|
||||
@@ -48,6 +53,7 @@ command teleportaskhere {
|
||||
alias etrphere;
|
||||
alias tpaskhere;
|
||||
alias etpaskhere;
|
||||
perm utils.teleport.tpa;
|
||||
[player:string] {
|
||||
run tpah player;
|
||||
help ask another player to teleport to you.;
|
||||
@@ -56,6 +62,7 @@ command teleportaskhere {
|
||||
|
||||
command tpall {
|
||||
alias etpall;
|
||||
perm utils.teleport.tpall;
|
||||
[empty] {
|
||||
run tpall;
|
||||
help Teleports everyone to you.;
|
||||
@@ -64,27 +71,26 @@ command tpall {
|
||||
run tpall2 player;
|
||||
help Teleports everyone to the specified player.;
|
||||
}
|
||||
perm utils.admin.teleport;
|
||||
}
|
||||
|
||||
command tpaall {
|
||||
alias etpall;
|
||||
perm utils.teleport.tpaall;
|
||||
[empty] {
|
||||
run tpaall;
|
||||
help Sends a tpa request to every player.;
|
||||
perm utils.admin.teleport;
|
||||
}
|
||||
[player:string] {
|
||||
run tpaall2 player;
|
||||
help Sends a tpa request to every player.;
|
||||
}
|
||||
perm utils.admin.teleport;
|
||||
}
|
||||
|
||||
command tpaccept {
|
||||
alias etpaccept;
|
||||
alias tpyes;
|
||||
alias etpyes;
|
||||
perm utils.teleport.request;
|
||||
[empty] {
|
||||
run tpaccept;
|
||||
help Accepts the latest pending tpa request.;
|
||||
@@ -93,15 +99,14 @@ command tpaccept {
|
||||
run tpaccept2 index;
|
||||
help Accepts the specified pending tpa request.;
|
||||
}
|
||||
perm utils.teleport.request;
|
||||
}
|
||||
|
||||
command tpacancel {
|
||||
alias etpacencel;
|
||||
perm utils.teleport.request;
|
||||
[empty] {
|
||||
run tpacancel;
|
||||
help Cancels an outgoing pending tpa request.;
|
||||
perm utils.teleport.request;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -122,6 +127,7 @@ command tplist {
|
||||
alias etplist;
|
||||
alias tpl;
|
||||
alias etpl;
|
||||
perm utils.teleport.request;
|
||||
[empty] {
|
||||
run tpl;
|
||||
}
|
||||
@@ -129,14 +135,13 @@ command tplist {
|
||||
|
||||
command tptoggle {
|
||||
alias etptoggle;
|
||||
perm utils.teleport.toggle;
|
||||
[status:string] {
|
||||
run tptoggle status;
|
||||
help sets your tpa status;
|
||||
perm utils.teleport.toggle;
|
||||
}
|
||||
[command:string] [status:string] {
|
||||
run tptoggle2 command status;
|
||||
help sets your tpa status for only one command (e.g. tpa/tpahere).;
|
||||
perm utils.teleport.toggle;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user