Could someone please copy and paste the text to make mod that can only TP/Kick please
[DOUBLEPOST=1437862942][/DOUBLEPOST]and how to make group name for mods which is in color blue
Making someone moderator?
Discussion in 'Reign of Kings Discussion' started by NebMahnrub, Jul 25, 2015.
-
I can't understand anything you wrote here.
Do you need help to create special group in permission.cfg for people (moderators for example) who will be able to kick and tp? -
yes that's is it ^^^^
-
Try to add new group at permission.cfg. Something like:
Code:moderator { nameFormat = '%name%' chatFormat = '[4876FF]Moderator[FFFFFF] %name% : %message%' guildFormat = '[00CC00][%guild%] %chatFormat%[-]' permissions { - 'rok.fairplay' - 'codehatch.command.admin.kick' - 'rok.command.teleport' - 'rok.command.teleport.coord' - 'rok.command.teleport.user' - 'rok.command.teleport.origin' } inherits = ''
-
if this is the last group do i need to another }. or just cpy as it is
-
ive mades someone mod they can only use Tp,Kick,Ban they all work accept from TP it says they dont have permission.
mod {
nameFormat = '%name%'
chatFormat = '[FFFFFF][[FF6666]MOD[FFFFFF]] [66FF33]%name% [000000]: [FF6666]%message%'
guildFormat = '[FF6666][%guild%] %chatFormat%[-]'
permissions {
- 'rok.fairplay'
- 'codehatch.command.admin.kick'
- 'rok.command.teleport'
- 'rok.command.teleport.coord'
- 'rok.command.teleport.user'
- 'rok.command.teleport.origin'
}
inherits = ''
}
} -
I think you forget to connect this group with nickname. Try this one.
Code:groups { default { default = 'True' inherits = '' permissions { - 'rok.fairplay' } nameFormat = '%name%' chatFormat = '[008B00]VILLAGER[FFFFFF] %name% : %message%' guildFormat = '[00CC00][%guild%] %name% : %message%[-]' } admin { nameFormat = '%name%' chatFormat = '[FF0000]ADMIN[FFFFFF] %name% : %message%' guildFormat = '[00CC00][%guild%] %chatFormat%[-]' permissions { - '*' } inherits = '' } moderator { nameFormat = '%name%' chatFormat = '[4876FF]MOD[FFFFFF] %name% : %message%' guildFormat = '[00CC00][%guild%] %chatFormat%[-]' permissions { - 'rok.fairplay' - 'codehatch.command.admin.kick' - 'codehatch.command.admin.ban' - 'rok.command.teleport' - 'rok.command.teleport.coord' - 'rok.command.teleport.user' - 'rok.command.teleport.origin' } inherits = '' } } macros { } users { ADMIN_NICKNAME { groups { - 'admin' } permissions { } } MODERATOR_NICKNAME { groups { - 'moderator' } permissions { } } }
Last edited by a moderator: Jul 27, 2015 -
i did this but when they try to TP it says no permissions
-
- 'rok.teleport' - Access the /teleport command from in-game chat.
- 'rok.teleport.coord' -
- 'rok.teleport.user' - Access the /teleport command from in-game chat to teleport to a user.
- 'rok.teleport.origin' - Access the /teleport command from in-game chat to teleport to origin.
Also try this permissions.
-
Change - 'rok.command.teleport' to - 'rok.command.teleport.*' Then reload your permissions and it should work.
Example:
This is the a copy of our Mod section. Works just fine.
Code:mod { nameFormat = '[FFFFFF][[0EB0FF]MOD[FFFFFF]]%name%' chatFormat = '%name% : %message%' guildFormat = '[00CC00][%guild%] %chatFormat%[-]' inherits = 'default' permissions { - 'rok.command.teleport.*' - 'rok.command.teleport.coord' - 'rok.command.teleport.user' - 'rok.command.teleport.origin' - 'codehatch.command.admin.kick' - 'codehatch.command.admin.ban' - 'codehatch.login.ignore.playerlimit' - 'rok.ui.nametag' - 'rok.command.admin.godmode' } }
-
whats is - 'rok.ui.nametag'
[DOUBLEPOST=1438034382][/DOUBLEPOST]- 'codehatch.login.ignore.playerlimit'? -
- 'rok.ui.nametag' is the permission for /shownametags that shows nameplates over all players head's with their name and guild icon.
- 'codehatch.login.ignore.playerlimit' is the permission that ignores the player cap and gives the user priority login for high-traffic times. -
so i put - 'rok.ui.nametag' for unregistered users it will show [ADMIN] in red before my name when i click G to show name?
-
No. That will give them the ability to access the command allowing them to see everyone's nametags. Not a good idea.
What you would need is to place this in the permissions file for the admin group:
Code:nameFormat = '[FFFFFF][[8B0000]ADMIN[FFFFFF]]%name%'
-
anyone know a code thats use for multiple mods