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 {
perm utils.ac;
[string:message...] {
help Sends a message in Admin Chat;
perm utils.ac;
run ac_msg message;
}
}
command acn {
perm utils.ac;
[string:name] [string:message...] {
help Sends a message in Admin Chat;
perm utils.ac;
type console;
run acn_msg name message;
}
}
command ackey {
perm utils.ac;
[string:key] {
help Sets your Admin Chat key;
perm utils.ac;
type player;
run setackey key;
}
}
command act {
perm utils.ac;
on {
help Turns on act;
perm utils.ac;
run act_on;
}
off {
help Turns off act;
perm utils.ac;
run act_off;
}
[empty] {
help toggles Admin Chat;
perm utils.ac;
run act;
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,15 +1,14 @@
command damnspam {
perm utils.damnspam;
type player;
[double:seconds] {
run damnspamSingle seconds;
help Set single input cooldown for button or lever.;
type player;
}
[double:secondsOff] [double:secondsOn] {
run damnspamDouble secondsOff secondsOn;
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 setting;
alias settings;
perm datamanager.admin;
perm utils.datamanager.admin;
list {
run config_list;
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] {
perm utils.external.discord
help Info, Register Instructions, and Token for the Discord;
run discord;
type player;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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;
}
}

View File

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

View File

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