Dear Madcommands players,
I found a way where you don’t have to spend all your time setting perms for each individual or each group for each command you make. The following code will let you specify a specific person or a group! Now, I’m sure that most of you know this, but this will be for those don’t know.
I found a way where you don’t have to spend all your time setting perms for each individual or each group for each command you make. The following code will let you specify a specific person or a group! Now, I’m sure that most of you know this, but this will be for those don’t know.
CSS:
cmd create perms
cmd add perms %p% = lowercase(%p%)
cmd add perms if %p% = \"skycraft\" then goto 5
cmd add perms message %p% §3[ §cCommander §3] §6You must be SkyCraft to run this command!
cmd add perms exit
cmd add perms (command(s))
cmd create perm
cmd add perm let %rank% = playergroup(%p%)
cmd add perm if %rank% = \"Owner\" then goto 5
cmd add perm message %p% §3[ §cCommander §3] §6You must be Owner to run this command!
cmd add perm exit
cmd add perm (command(s))