Archived
0

Standardized Permissions

- Will be test on test-production.
This commit is contained in:
Minenash
2018-11-16 19:09:11 -05:00
parent 14c05dd762
commit 27cccc83f4
26 changed files with 96 additions and 93 deletions

View File

@@ -1,42 +1,40 @@
command ac { command ac {
perm utils.ac;
[string:message...] { [string:message...] {
help Sends a message in Admin Chat; help Sends a message in Admin Chat;
perm utils.ac;
run ac_msg message; run ac_msg message;
} }
} }
command acn { command acn {
perm utils.ac;
[string:name] [string:message...] { [string:name] [string:message...] {
help Sends a message in Admin Chat; help Sends a message in Admin Chat;
perm utils.ac;
type console; type console;
run acn_msg name message; run acn_msg name message;
} }
} }
command ackey { command ackey {
perm utils.ac;
[string:key] { [string:key] {
help Sets your Admin Chat key; help Sets your Admin Chat key;
perm utils.ac;
type player; type player;
run setackey key; run setackey key;
} }
} }
command act { command act {
perm utils.ac;
on { on {
help Turns on act; help Turns on act;
perm utils.ac;
run act_on; run act_on;
} }
off { off {
help Turns off act; help Turns off act;
perm utils.ac;
run act_off; run act_off;
} }
[empty] { [empty] {
help toggles Admin Chat; help toggles Admin Chat;
perm utils.ac;
run act; run act;
} }
} }

View File

@@ -2,17 +2,15 @@ command afk {
alias eafk; alias eafk;
alias away; alias away;
alias eaway; alias eaway;
perm utils.afk;
[empty] { [empty] {
run afk; run afk;
perm utils.afk;
} }
[optional:-s] { [optional:-s] {
run afks -s; run afks -s;
perm utils.afk;
} }
[optional:-s] [string:reason...] { [optional:-s] [string:reason...] {
run afk2 -s reason; run afk2 -s reason;
perm utils.afk;
} }
} }

View File

@@ -1,42 +1,40 @@
command bc { command bc {
perm utils.buildchat;
[string:message...] { [string:message...] {
help Sends a message in BuildTeam Chat; help Sends a message in BuildTeam Chat;
perm utils.bc;
run bc_msg message; run bc_msg message;
} }
} }
command bcn { command bcn {
perm utils.buildchat.name;
[string:name] [string:message...] { [string:name] [string:message...] {
help Sends a message in BuildTeam Chat; help Sends a message in BuildTeam Chat;
perm utils.bc;
type console; type console;
run bcn_msg name message; run bcn_msg name message;
} }
} }
command bckey { command bckey {
perm utils.buildchat;
[string:key] { [string:key] {
help Sets your BuildTeam Chat key; help Sets your BuildTeam Chat key;
perm utils.bc;
type player; type player;
run setbckey key; run setbckey key;
} }
} }
command bct { command bct {
perm utils.buildchat;
on { on {
help Turns on bct; help Turns on bct;
perm utils.bc;
run bct_on; run bct_on;
} }
off { off {
help Turns off bct; help Turns off bct;
perm utils.bc;
run bct_off; run bct_off;
} }
[empty] { [empty] {
help toggles BuildTeam Chat; help toggles BuildTeam Chat;
perm utils.bc;
run bct; run bct;
} }
} }

View File

@@ -8,15 +8,15 @@ command teleport {
} }
command team_add { command team_add {
perm utils.buildteam.manage;
[string:player] { [string:player] {
run team_add player; run team_add player;
perm utils.buildteam.manage;
} }
} }
command team_remove { command team_remove {
perm utils.buildteam.manage;
[string:player] { [string:player] {
run team_remove player; run team_remove player;
perm utils.buildteam.manage;
} }
} }

View File

@@ -1,12 +1,12 @@
command me { command me {
perm utils.me; perm utils.chat.me;
[string:text...] { [string:text...] {
help /me's in chat.; help /me's in chat.;
run me text; run me text;
} }
} }
command action { command action {
perm utils.action; perm utils.chat.action;
[string:text...] { [string:text...] {
help /action's in chat.; help /action's in chat.;
run action text; run action text;
@@ -14,42 +14,41 @@ command action {
} }
command chat { command chat {
alias speak; alias speak;
[string:message...] {
perm utils.chat; perm utils.chat;
[string:message...] {
run chat message; run chat message;
help A way to speak in normal chat with normal formatting if you have ACT or CGT on.; help A way to speak in normal chat with normal formatting if you have ACT or CGT on.;
} }
} }
command chatn { command chatn {
alias speakn; alias speakn;
perm utils.chat.chatn;
[string:name] [string:message...] { [string:name] [string:message...] {
perm utils.chatn;
run chatn name message; run chatn name message;
help A way to speak in normal chat with normal formatting for console users.; help A way to speak in normal chat with normal formatting for console users.;
} }
} }
command shrug { command shrug {
perm utils.chat.shrug;
[string:message...] { [string:message...] {
perm utils.shrug;
run shrug message; run shrug message;
help Appends the shrug emoticon to the end of your message.; help Appends the shrug emoticon to the end of your message.;
} }
[empty] { [empty] {
perm utils.shrug;
run shrugnoarg; run shrugnoarg;
help Just the shrug emoticon.; help Just the shrug emoticon.;
} }
} }
command say { command say {
perm utils.chat.say;
[string:message...] { [string:message...] {
perm utils.say;
run say message; run say message;
help A replacement for the default say command to make the format be more consistant.; help A replacement for the default say command to make the format be more consistant.;
} }
} }
command sayn { command sayn {
perm utils.chat.sayn;
[string:name] [string:message...] { [string:name] [string:message...] {
perm utils.sayn;
type console; type console;
run sayn name message; run sayn name message;
help A replacement for the default say command to make the format be more consistant.; help A replacement for the default say command to make the format be more consistant.;
@@ -57,24 +56,24 @@ command sayn {
} }
command mute { command mute {
perm utils.chat.mute;
[string:player] { [string:player] {
perm utils.chat.admin;
run mute player; run mute player;
help Mutes a player.; help Mutes a player.;
} }
} }
command print { command print {
perm utils.chat.print;
[string:message...] { [string:message...] {
perm utils.print;
run print message; run print message;
help A way to just print something in to chat with all the formatting things a user has.; help A way to just print something in to chat with all the formatting things a user has.;
} }
} }
command unmute { command unmute {
perm utils.chat.mute;
[string:player] { [string:player] {
perm utils.chat.admin;
run unmute player; run unmute player;
help Unmutes a player.; help Unmutes a player.;
} }
@@ -82,6 +81,7 @@ command unmute {
command chatonly { command chatonly {
alias co; alias co;
perm utilschat.chatonly;
[empty] { [empty] {
run chatonly; run chatonly;
help Shows that you're onlu able to chat, nothing else.; help Shows that you're onlu able to chat, nothing else.;

View File

@@ -1,4 +1,5 @@
command cgt { command cgt {
perm utils.chatgroups;
[empty] { [empty] {
help Toggles your cgtoggle status.; help Toggles your cgtoggle status.;
type player; type player;
@@ -6,6 +7,7 @@ command cgt {
} }
} }
command cgkey { command cgkey {
perm utils.chatgroups;
[string:key] { [string:key] {
help Sets your chatgroup key.; help Sets your chatgroup key.;
run setcgkey key; run setcgkey key;
@@ -13,12 +15,14 @@ command cgkey {
} }
} }
command cgsay { command cgsay {
perm utils.chatgroups;
[string:message...] { [string:message...] {
help Chats in your chatgroup.; help Chats in your chatgroup.;
run cgsay message; run cgsay message;
} }
} }
command cg { command cg {
perm utils.chatgroups;
join [string:group] { join [string:group] {
help Joins a chatgroup.; help Joins a chatgroup.;
run cgjoin group; run cgjoin group;

View File

@@ -7,7 +7,7 @@ command clear{
} }
[string:player] { [string:player] {
help Clears someone elses inventory; help Clears someone elses inventory;
perm utils.admin.clear; perm utils.clear.other;
run clearother player; run clearother player;
} }
} }

View File

@@ -1,12 +1,12 @@
command cycle { command cycle {
perm utils.cycle;
type player;
on { on {
help Turns on cycle; help Turns on cycle;
type player;
run cycle_on; run cycle_on;
} }
off { off {
help Turns off cycle; help Turns off cycle;
type player;
run cycle_off; run cycle_off;
} }
} }

View File

@@ -1,15 +1,14 @@
command damnspam { command damnspam {
perm utils.damnspam; perm utils.damnspam;
type player;
[double:seconds] { [double:seconds] {
run damnspamSingle seconds; run damnspamSingle seconds;
help Set single input cooldown for button or lever.; help Set single input cooldown for button or lever.;
type player;
} }
[double:secondsOff] [double:secondsOn] { [double:secondsOff] [double:secondsOn] {
run damnspamDouble secondsOff secondsOn; run damnspamDouble secondsOff secondsOn;
help Set input cooldown after it's been turned off and turned on (for lever only).; help Set input cooldown after it's been turned off and turned on (for lever only).;
type player;
} }
} }

View File

@@ -9,7 +9,7 @@ command config {
alias configs; alias configs;
alias setting; alias setting;
alias settings; alias settings;
perm datamanager.admin; perm utils.datamanager.admin;
list { list {
run config_list; run config_list;
help Lists all modules that have at least one config setting.; help Lists all modules that have at least one config setting.;

View File

@@ -1,6 +1,6 @@
command discord { command discord {
perm utils.discord;
[empty] { [empty] {
perm utils.external.discord
help Info, Register Instructions, and Token for the Discord; help Info, Register Instructions, and Token for the Discord;
run discord; run discord;
type player; type player;

View File

@@ -1,20 +1,19 @@
command ignore { command ignore {
[string:player] {
perm utils.ignore; perm utils.ignore;
[string:player] {
run ignore player; run ignore player;
type player; type player;
help Ignores or Unignores a player.; help Ignores or Unignores a player.;
} }
[empty] { [empty] {
perm utils.ignore;
run list; run list;
type player; type player;
help Lists everyone you ignore.; help Lists everyone you ignore.;
} }
} }
command unignore { command unignore {
[string:player] {
perm utils.ignore; perm utils.ignore;
[string:player] {
run unignore player; run unignore player;
type player; type player;
help Unignore a player.; help Unignore a player.;

View File

@@ -9,6 +9,7 @@ command list {
alias eplist; alias eplist;
alias who; alias who;
alias ewho; alias ewho;
perm utils.list;
[empty] { [empty] {
run list; run list;
help Shows all online players sorted by rank.; help Shows all online players sorted by rank.;
@@ -19,6 +20,7 @@ command list {
} }
} }
command staff { command staff {
perm utils.list;
[empty] { [empty] {
help Shows all online staff.; help Shows all online staff.;
run staff; run staff;

View File

@@ -1,4 +1,5 @@
command mentio { command mentio {
perm utils.mentio;
add [string:trigger] { add [string:trigger] {
help Triggers you when the trigger gets said.; help Triggers you when the trigger gets said.;
run addmentio trigger; run addmentio trigger;
@@ -11,6 +12,5 @@ command mentio {
help Lists your mentios.; help Lists your mentios.;
run listmentios; run listmentios;
} }
perm utils.mentio;
type player; type player;
} }

View File

@@ -11,10 +11,10 @@ command message {
alias ew; alias ew;
alias whisper; alias whisper;
alias ewhisper; alias ewhisper;
perm utils.message;
[string:player] [string:message...] { [string:player] [string:message...] {
run message player message; run message player message;
help Sends a direct message to a player.; help Sends a direct message to a player.;
perm utils.message;
} }
} }
@@ -22,14 +22,15 @@ command reply {
alias r; alias r;
alias er; alias er;
alias ereply; alias ereply;
perm utils.message;
[string:message...] { [string:message...] {
run reply message; run reply message;
help Sends a direct message to the last person you talked to.; help Sends a direct message to the last person you talked to.;
perm utils.message;
} }
} }
command pmtoggle { command pmtoggle {
perm utils.message.toggle;
[empty] { [empty] {
help Turns off your toggle.; help Turns off your toggle.;
type player; type player;

View File

@@ -10,12 +10,14 @@ command tempadd {
} }
} }
command echo { command echo {
perm utils.misc.echo;
[string:text...] { [string:text...] {
help Echoes back to you.; help Echoes back to you.;
run echo text; run echo text;
} }
} }
command ping { command ping {
perm utils.misc.ping
[empty] { [empty] {
help Pongs :D; help Pongs :D;
run ping; run ping;
@@ -26,13 +28,14 @@ command ping {
} }
} }
command sudo { command sudo {
perm utils.sudo; perm utils.misc.sudo;
[string:name] [string:command...] { [string:name] [string:command...] {
help Sudo'es another user (or console); help Sudo'es another user (or console);
run sudo name command; run sudo name command;
} }
} }
command hasperm { command hasperm {
perm utils.misc.hasperm;
[flag:-f] [string:name] [string:node] { [flag:-f] [string:name] [string:node] {
perm utils.hasperm; perm utils.hasperm;
run hasperm -f name node; run hasperm -f name node;
@@ -40,7 +43,8 @@ command hasperm {
} }
} }
command nightvision { command nightvision {
alias nv; alias nv;
perm utils.misc.nightvision;
[empty] { [empty] {
run illuminate; run illuminate;
type player; type player;
@@ -50,7 +54,7 @@ alias nv;
} }
command minecart { command minecart {
alias cart; alias cart;
perm utils.spawncart; perm utils.misc.spawncart;
type player; type player;
default [string:variation] { default [string:variation] {

View File

@@ -2,13 +2,13 @@ command setmotd {
[string:motd...] { [string:motd...] {
help Sets the motd. Use --reset to reset to default; help Sets the motd. Use --reset to reset to default;
run setmotd motd; run setmotd motd;
perm utils.setmotd; perm utils.motd.set;
} }
} }
command getmotd { command getmotd {
[empty] { [empty] {
help Returns the motd; help Returns the motd;
run getmotd; run getmotd;
perm utils.getmotd; perm utils.motd.get;
} }
} }

View File

@@ -1,4 +1,5 @@
command tab { command tab {
perm utils.nametags;
sort { sort {
help Resorts the entirety of tab.; help Resorts the entirety of tab.;
run sort; run sort;
@@ -7,5 +8,4 @@ command tab {
help Resorts one player.; help Resorts one player.;
run sortspecific player; run sortspecific player;
} }
perm utils.tab.admin;
} }

View File

@@ -1,24 +1,24 @@
command anvil { command anvil {
perm utils.naming;
[empty] { [empty] {
run anvil; run anvil;
type player; type player;
help Opens anvil GUI.; help Opens anvil GUI.;
perm utils.anvil;
} }
} }
command name { command name {
perm utils.naming;
[string:name...] { [string:name...] {
run name name; run name name;
type player; type player;
help Names item in hand.; help Names item in hand.;
perm utils.name;
} }
} }
command lore { command lore {
perm utils.naming;
[optional:-a] [string:lore...] { [optional:-a] [string:lore...] {
run lore -a lore; run lore -a lore;
type player; type player;
help Adds lore to item in hand.; help Adds lore to item in hand.;
perm utils.lore;
} }
} }

View File

@@ -1,4 +1,5 @@
command report { command report {
perm utils.report;
[string:message...] { [string:message...] {
run report message; run report message;
help Report a player or incident; help Report a player or incident;
@@ -7,13 +8,14 @@ command report {
} }
command undoreport { command undoreport {
alias retractreport; alias retractreport;
perm utils.report;
[empty] { [empty] {
run report_retract; run report_retract;
help Retracts the last report you sent.; help Retracts the last report you sent.;
} }
} }
command rp { command rp {
perm utils.report; perm utils.report.admin;
list { list {
help List all open reports; help List all open reports;

View File

@@ -1,39 +1,36 @@
command seen { command seen {
perm utils.seen;
[string:player] { [string:player] {
help Displays information about a player.; help Displays information about a player.;
perm utils.seen;
run seen player; run seen player;
} }
[string:player] [flag:ips] { [string:player] [flag:ips] {
help Displays information about a player.; help Displays information about a player.;
perm utils.seen;
run seen2 player ips; run seen2 player ips;
} }
} }
command firstseen { command firstseen {
perm utils.seen.firstseen;
[empty] { [empty] {
run firstseen; run firstseen;
type player; type player;
help Gives the date and time they first joined; help Gives the date and time they first joined;
perm utils.firstseen;
} }
[string:person] { [string:person] {
run firstseenP person; run firstseenP person;
help Gives the date and time when a player first joined; help Gives the date and time when a player first joined;
perm utils.firstseen.other;
} }
} }
command playtime { command playtime {
perm utils.playtime;
[empty] { [empty] {
type player; type player;
run playtimeDef; run playtimeDef;
perm utils.playtime;
help Displays your total playtime!; help Displays your total playtime!;
} }
[string:name] { [string:name] {
run playtime name; run playtime name;
perm utils.playtime.others;
help Displays the playtime of another player. The player must be online!; help Displays the playtime of another player. The player must be online!;
} }
} }
@@ -42,12 +39,12 @@ command uuid {
[empty] { [empty] {
type player; type player;
run uuidDef; run uuidDef;
perm utils.uuid; perm utils.seen.uuid;
help Displays your UUID (click to copy); help Displays your UUID (click to copy);
} }
[string:name] { [string:name] {
run uuid name; run uuid name;
perm utils.uuid.other; perm utils.seen.uuid.other;
help Displays someone elses UUID (click to copy); help Displays someone elses UUID (click to copy);
} }
} }

View File

@@ -1,4 +1,5 @@
command socialspy { command socialspy {
perm utils.socialspy;
format { format {
run config_format_show; run config_format_show;
help Displays your current format; help Displays your current format;
@@ -59,14 +60,12 @@ command socialspy {
run off; run off;
type player; type player;
} }
[empty] {
run toggle;
type player;
}
perm utils.socialspy;
migrate { migrate {
run migrate; run migrate;
type console; type console;
} }
type all; [empty] {
run toggle;
type player;
}
} }

View File

@@ -1,22 +1,19 @@
command tag { command tag {
perm utils.tag;
add [string:player] [string:tag...] { add [string:player] [string:tag...] {
help Tags a player.; help Tags a player.;
run addtag player tag; run addtag player tag;
perm utils.tag;
} }
del [string:player] [int:id] { del [string:player] [int:id] {
help Removes a tag.; help Removes a tag.;
run deltag player id; run deltag player id;
perm utils.tag;
} }
check [string:player] { check [string:player] {
help Lists all tags of a player.;\ help Lists all tags of a player.;\
run checktag player; run checktag player;
perm utils.tag;
} }
[string:player] [string:tag...] { [string:player] [string:tag...] {
help Tags a player.; help Tags a player.;
run addtag player tag; run addtag player tag;
perm utils.tag;
} }
} }

View File

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

View File

@@ -20,14 +20,14 @@ command vanish {
[string:name] { [string:name] {
help Toggles someone elses vanish; help Toggles someone elses vanish;
run vanish_other name; run vanish_other name;
perm utils.vanishother; perm utils.vanish.other;
} }
} }
command imout { command imout {
perm utils.vanish.imout;
[empty] { [empty] {
help Makes you magically disappear; help Makes you magically disappear;
type player; type player;
perm utils.imout;
run imout; run imout;
} }
} }

View File

@@ -1,15 +1,15 @@
command warn { command warn {
perm utils.warn;
[empty] { [empty] {
run warn; run warn;
help Warns other players about definite lag; help Warns other players about definite lag;
perm utils.warn;
} }
} }
command warnp { command warnp {
perm utils.warn;
[empty] { [empty] {
run warnp; run warnp;
help Warns other players about possible lag; help Warns other players about possible lag;
perm utils.warn;
} }
} }