From 27cccc83f430a1b1cebf3adeaa6c106fe1a5b318 Mon Sep 17 00:00:00 2001 From: Minenash Date: Fri, 16 Nov 2018 19:09:11 -0500 Subject: [PATCH] Standardized Permissions - Will be test on test-production. --- .../redstoner/modules/adminchat/Adminchat.cmd | 10 +++--- .../java/com/redstoner/modules/afk/AFK.cmd | 4 +-- .../redstoner/modules/buildchat/BuildChat.cmd | 10 +++--- .../redstoner/modules/buildteam/BuildTeam.cmd | 4 +-- .../java/com/redstoner/modules/chat/Chat.cmd | 24 +++++++------- .../modules/chatgroups/Chatgroups.cmd | 4 +++ .../com/redstoner/modules/clear/Clear.cmd | 2 +- .../com/redstoner/modules/cycle/Cycle.cmd | 4 +-- .../redstoner/modules/damnspam/DamnSpam.cmd | 3 +- .../modules/datamanager/DataManager.cmd | 2 +- .../com/redstoner/modules/discord/Discord.cmd | 4 +-- .../com/redstoner/modules/ignore/Ignore.cmd | 5 ++- .../java/com/redstoner/modules/list/List.cmd | 2 ++ .../com/redstoner/modules/mentio/Mentio.cmd | 2 +- .../com/redstoner/modules/message/Message.cmd | 5 +-- .../java/com/redstoner/modules/misc/Misc.cmd | 12 ++++--- .../java/com/redstoner/modules/motd/Motd.cmd | 4 +-- .../redstoner/modules/nametags/Nametags.cmd | 2 +- .../com/redstoner/modules/naming/Naming.cmd | 6 ++-- .../com/redstoner/modules/reports/Reports.cmd | 4 ++- .../java/com/redstoner/modules/seen/Seen.cmd | 33 +++++++++---------- .../redstoner/modules/socialspy/Socialspy.cmd | 11 +++---- .../java/com/redstoner/modules/tag/Tag.cmd | 5 +-- .../redstoner/modules/teleport/Teleport.cmd | 19 +++++++---- .../com/redstoner/modules/vanish/Vanish.cmd | 4 +-- .../java/com/redstoner/modules/warn/Warn.cmd | 4 +-- 26 files changed, 96 insertions(+), 93 deletions(-) diff --git a/src/main/java/com/redstoner/modules/adminchat/Adminchat.cmd b/src/main/java/com/redstoner/modules/adminchat/Adminchat.cmd index b083eb9..210a3e9 100644 --- a/src/main/java/com/redstoner/modules/adminchat/Adminchat.cmd +++ b/src/main/java/com/redstoner/modules/adminchat/Adminchat.cmd @@ -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; } } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/afk/AFK.cmd b/src/main/java/com/redstoner/modules/afk/AFK.cmd index 6f9385d..6bd8b7f 100644 --- a/src/main/java/com/redstoner/modules/afk/AFK.cmd +++ b/src/main/java/com/redstoner/modules/afk/AFK.cmd @@ -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; } } diff --git a/src/main/java/com/redstoner/modules/buildchat/BuildChat.cmd b/src/main/java/com/redstoner/modules/buildchat/BuildChat.cmd index ddd7d77..071e55e 100644 --- a/src/main/java/com/redstoner/modules/buildchat/BuildChat.cmd +++ b/src/main/java/com/redstoner/modules/buildchat/BuildChat.cmd @@ -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; } } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/buildteam/BuildTeam.cmd b/src/main/java/com/redstoner/modules/buildteam/BuildTeam.cmd index d4f3303..991438d 100644 --- a/src/main/java/com/redstoner/modules/buildteam/BuildTeam.cmd +++ b/src/main/java/com/redstoner/modules/buildteam/BuildTeam.cmd @@ -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; } } diff --git a/src/main/java/com/redstoner/modules/chat/Chat.cmd b/src/main/java/com/redstoner/modules/chat/Chat.cmd index 2d73584..339e128 100644 --- a/src/main/java/com/redstoner/modules/chat/Chat.cmd +++ b/src/main/java/com/redstoner/modules/chat/Chat.cmd @@ -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.; diff --git a/src/main/java/com/redstoner/modules/chatgroups/Chatgroups.cmd b/src/main/java/com/redstoner/modules/chatgroups/Chatgroups.cmd index 33fd0c5..8aabdee 100644 --- a/src/main/java/com/redstoner/modules/chatgroups/Chatgroups.cmd +++ b/src/main/java/com/redstoner/modules/chatgroups/Chatgroups.cmd @@ -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; diff --git a/src/main/java/com/redstoner/modules/clear/Clear.cmd b/src/main/java/com/redstoner/modules/clear/Clear.cmd index 117804b..0c86e30 100644 --- a/src/main/java/com/redstoner/modules/clear/Clear.cmd +++ b/src/main/java/com/redstoner/modules/clear/Clear.cmd @@ -7,7 +7,7 @@ command clear{ } [string:player] { help Clears someone elses inventory; - perm utils.admin.clear; + perm utils.clear.other; run clearother player; } } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/cycle/Cycle.cmd b/src/main/java/com/redstoner/modules/cycle/Cycle.cmd index dc8e10a..dd67999 100644 --- a/src/main/java/com/redstoner/modules/cycle/Cycle.cmd +++ b/src/main/java/com/redstoner/modules/cycle/Cycle.cmd @@ -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; } } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/damnspam/DamnSpam.cmd b/src/main/java/com/redstoner/modules/damnspam/DamnSpam.cmd index 404968e..bf7f06a 100644 --- a/src/main/java/com/redstoner/modules/damnspam/DamnSpam.cmd +++ b/src/main/java/com/redstoner/modules/damnspam/DamnSpam.cmd @@ -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; } } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/datamanager/DataManager.cmd b/src/main/java/com/redstoner/modules/datamanager/DataManager.cmd index f7d480a..792e9d5 100644 --- a/src/main/java/com/redstoner/modules/datamanager/DataManager.cmd +++ b/src/main/java/com/redstoner/modules/datamanager/DataManager.cmd @@ -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.; diff --git a/src/main/java/com/redstoner/modules/discord/Discord.cmd b/src/main/java/com/redstoner/modules/discord/Discord.cmd index a3e1af5..848d483 100644 --- a/src/main/java/com/redstoner/modules/discord/Discord.cmd +++ b/src/main/java/com/redstoner/modules/discord/Discord.cmd @@ -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; diff --git a/src/main/java/com/redstoner/modules/ignore/Ignore.cmd b/src/main/java/com/redstoner/modules/ignore/Ignore.cmd index 382846b..d8360d0 100644 --- a/src/main/java/com/redstoner/modules/ignore/Ignore.cmd +++ b/src/main/java/com/redstoner/modules/ignore/Ignore.cmd @@ -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.; diff --git a/src/main/java/com/redstoner/modules/list/List.cmd b/src/main/java/com/redstoner/modules/list/List.cmd index f4caf02..9b4fb78 100644 --- a/src/main/java/com/redstoner/modules/list/List.cmd +++ b/src/main/java/com/redstoner/modules/list/List.cmd @@ -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; diff --git a/src/main/java/com/redstoner/modules/mentio/Mentio.cmd b/src/main/java/com/redstoner/modules/mentio/Mentio.cmd index 230adf8..c70e3e0 100644 --- a/src/main/java/com/redstoner/modules/mentio/Mentio.cmd +++ b/src/main/java/com/redstoner/modules/mentio/Mentio.cmd @@ -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; } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/message/Message.cmd b/src/main/java/com/redstoner/modules/message/Message.cmd index 382e52e..f6e7608 100644 --- a/src/main/java/com/redstoner/modules/message/Message.cmd +++ b/src/main/java/com/redstoner/modules/message/Message.cmd @@ -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; diff --git a/src/main/java/com/redstoner/modules/misc/Misc.cmd b/src/main/java/com/redstoner/modules/misc/Misc.cmd index cf7de28..de3b5a3 100644 --- a/src/main/java/com/redstoner/modules/misc/Misc.cmd +++ b/src/main/java/com/redstoner/modules/misc/Misc.cmd @@ -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] { diff --git a/src/main/java/com/redstoner/modules/motd/Motd.cmd b/src/main/java/com/redstoner/modules/motd/Motd.cmd index 987d1fe..7f82950 100644 --- a/src/main/java/com/redstoner/modules/motd/Motd.cmd +++ b/src/main/java/com/redstoner/modules/motd/Motd.cmd @@ -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; } } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/nametags/Nametags.cmd b/src/main/java/com/redstoner/modules/nametags/Nametags.cmd index 4095b42..7164add 100644 --- a/src/main/java/com/redstoner/modules/nametags/Nametags.cmd +++ b/src/main/java/com/redstoner/modules/nametags/Nametags.cmd @@ -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; } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/naming/Naming.cmd b/src/main/java/com/redstoner/modules/naming/Naming.cmd index 1b9bc1a..f21f15a 100644 --- a/src/main/java/com/redstoner/modules/naming/Naming.cmd +++ b/src/main/java/com/redstoner/modules/naming/Naming.cmd @@ -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; } } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/reports/Reports.cmd b/src/main/java/com/redstoner/modules/reports/Reports.cmd index c1162dc..8f594d5 100644 --- a/src/main/java/com/redstoner/modules/reports/Reports.cmd +++ b/src/main/java/com/redstoner/modules/reports/Reports.cmd @@ -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; diff --git a/src/main/java/com/redstoner/modules/seen/Seen.cmd b/src/main/java/com/redstoner/modules/seen/Seen.cmd index d17e655..213aa34 100644 --- a/src/main/java/com/redstoner/modules/seen/Seen.cmd +++ b/src/main/java/com/redstoner/modules/seen/Seen.cmd @@ -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); } } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/socialspy/Socialspy.cmd b/src/main/java/com/redstoner/modules/socialspy/Socialspy.cmd index 32159b9..c1e372c 100644 --- a/src/main/java/com/redstoner/modules/socialspy/Socialspy.cmd +++ b/src/main/java/com/redstoner/modules/socialspy/Socialspy.cmd @@ -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; + } } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/tag/Tag.cmd b/src/main/java/com/redstoner/modules/tag/Tag.cmd index caa95ab..94bff60 100644 --- a/src/main/java/com/redstoner/modules/tag/Tag.cmd +++ b/src/main/java/com/redstoner/modules/tag/Tag.cmd @@ -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; } } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/teleport/Teleport.cmd b/src/main/java/com/redstoner/modules/teleport/Teleport.cmd index 4e5930e..be95a4b 100644 --- a/src/main/java/com/redstoner/modules/teleport/Teleport.cmd +++ b/src/main/java/com/redstoner/modules/teleport/Teleport.cmd @@ -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; } } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/vanish/Vanish.cmd b/src/main/java/com/redstoner/modules/vanish/Vanish.cmd index 618a4c1..f4b6c67 100644 --- a/src/main/java/com/redstoner/modules/vanish/Vanish.cmd +++ b/src/main/java/com/redstoner/modules/vanish/Vanish.cmd @@ -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; } } \ No newline at end of file diff --git a/src/main/java/com/redstoner/modules/warn/Warn.cmd b/src/main/java/com/redstoner/modules/warn/Warn.cmd index 5021e0f..fcd4a8d 100644 --- a/src/main/java/com/redstoner/modules/warn/Warn.cmd +++ b/src/main/java/com/redstoner/modules/warn/Warn.cmd @@ -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; } } \ No newline at end of file