#how do you change what cmds some roles can use

26 messages · Page 1 of 1 (latest)

fervent trail
#

Like i dont want mods useing Nuke..

celest horizon
#

Pretty sure nuke is locked for super admin+

fervent trail
celest horizon
#

Ok let me check it, if not, ill give you a solution

#

Oh mods can actually nuke everyone

#

@fervent trail Here

#
            _rank = 2,
            name = "Moderator",
            groups = { "moderation", "general", "environment", "fun", "vip" },
            permissions = { serverlogs = true },
            color = "#0f0",
            commands = {
                nuke = false },
        },
        admin = {
            _rank = 3,
            name = "Administrator",
            groups = { "administration", "moderation", "general", "environment", "fun", "vip" },
            permissions = { banasync = true, serverlogs = true },
            color = "#ff0",
            commands = {
                nuke = false },
        },```
#

replace 141 to 154 with this

#

It should restrict the command except for superadmin+

fervent trail
#

Wow your da best :0 my hero!

celest horizon
#

Np man

#

Hv a great year

#

Ill ask if nuke being for mod was intended

#

To see if it was meant for superadmin+ instead

fervent trail
#

@celest horizon so i want to make more cmds restricted from mod but wane i do one more it dose all of mod cmds to admin this is what im doing :0

#

mod = {
_rank = 2,
name = "Moderator",
groups = { "moderation", "general", "environment", "fun", "vip" },
permissions = { serverlogs = true },
color = "#0f0",
commands = {
nuke = false },
{loopkill = false},

#

(lmk please what im doing wrong! :0)

dense wing
fervent trail
#

😄

dense wing
#

you can set to true to add commands

#

i'll be making a plugin soon to make this easier 🙂

fervent trail
#

thanks G the real money hustler! :0

celest horizon
#

Reall