Hey guys, i wanted to separate the administration in two sides, one of them called HeadAdmins that can use all commands, and Admin that can use more commands that moderators, but cannot change the settings of the server like !speed. I tried it but i failed like a dumb. Can u please help me guys? Anyway Thanks a lot for all
05-12-2013, 11:14 (This post was last modified: 05-12-2013, 11:50 by hillbilly.)
Ok double chat bug fixed, only issue is you will need to put in the cmds for the HeadAdmin, still testing the rest.
Use aapermissions included.
[ChatPlugin]
// Disable the plugin for all clients by default?
DisableChatPlugin=false
// The groups to use for the chat plugin
GroupsToUse=HeadAdmin,Trainee_Moderator,Senior_Moderator,Moderator,Admin
// The messages for the groups specified
MessageForAdmin=^1[^4{0}^1] ^7{1}^7: {2}
MessageForModerators=[^2{0}] ^7{1}^7: {2}
MessageForTrainee_Moderators=[^2{0}] ^7{1}^7: {2}
MessageForHeadAdmin=[^3{0}] ^7{1}^7: {2}
MessageForSenior_Moderator=[^3{0}] ^7{1}^7: {2}
05-12-2013, 12:10 (This post was last modified: 05-12-2013, 12:35 by Dr3am95.)
Thanks, I will try it, i hope that works
Still doesnt work, i think that i make all, but a new error appear. When i type !gettype i am HeadAdmin, but i cannot use the commands that i setted in where u said, I post u my whole sv_config if that helps
Code:
[SERVER]
TimedMessages=1
//Enable or disable timed messages [0-1]
SpecsFix=1
//Disable the CPU/Bandwidth check [0-1]
OldRotation=0
//Enable the old cod4-style rotation (see example server.cfg) [0-1]
OldRotationVal=playlist tdm_default map mp_dome playlist sd_default map mp_alpha playlist jug_default map mp_carbon
//OldRotation configuration
RotationThreshold=1
//Disable map rotation threshold (set to 0)
DisableVAC=0
//[UNTESTED] Stop VAC from protecting your server
[LOG]
ConsoleLog=1
//Enable logging to the 'console.log' file [0-1]
[SCRIPT]
Enabled=0
//Enable the server script [0-1]
Script=example.script
//Server script to run
[DEBUG]
ExceptionLogging=0
//Enable logging of crashes [0-1]
[UPDATER]
Enable=0
//Enable the updater
AutoUpdate=0
//Auto-update the server when there is a new release. (Mainly for dedicated servers on game server hosters)
Admins=011000010255ff65,0110000101205a57
warningtempban=true
kickmessage=^4 <playername> ^7 Has Been ^1Droped ^7For <reason> By <issuer>
banmessage=^4<playername>^7 Has Been ^1Banned^7 By <issuer>
tmpbanmessage=^4<playername> ^7Has Been ^1Kicked ^7 For <reason> By <issuer>
warnkickmessage=^4<playername> ^7 Was ^1Kicked ^7For: <reason>
warnmessage=^4<playername>^7 Was ^1Warned For <reason>
unwarnmessage=^4<playername>^7 Was ^1Unwarned <reason>
[ChatPlugin]
// Disable the plugin for all clients by default?
DisableChatPlugin=false
// The groups to use for the chat plugin
GroupsToUse=HeadAdmin,Moderator,Admin
// The messages for the groups specified
MessageForAdmin=[^4{0}^7] ^7{1}^7: {2}
MessageForModerators=[^2{0}] ^7{1}^7: {2}
MessageForHeadAdmin=^1[^4{0}^1] ^7{1}^7: {2}
HeadAdmin_commands=!help,!getxuid,!gettype,!saveme,!tp,!back,!ping,!rules,!nextmap,!warn,!unwarn,!reserved,!y,!goto,!kick,!ban,!tempban,!pl,!tempbanc,!kickc,!banc,!mapdome,!mapbootleg,!maphardhat,!mapfallen,!mapresistance,!mapinterchange,!maparkaden,!mapoutpost,!mapmission,!mapunderground,!mapdownturn,!mapcarbon,!mapterminal,!maplockdown,!mapvillage,!mapseatown,!mapbakaara,!mapaground,!maperosion,!maprestart,!check,!rcon,!nc,!dnc,!godmode,!speed,!jumpheight,!gravity,!freeze,!knife,!unfreeze,!come,!ccome,!box,!l-,!l+,!b+,!b-,!row,!floor,!savepos,!loadpos,!setpos
[Saveme]
TimeBeforeTeleport=3
//default value is 3 seconds
TeleportRequests=0
//default value is 0. 0 means that the player can teleport unlimited times
MaxFallSpeed=10000
//default value is 10000. This option teleports the player if he have a higher fallspeed than this value.
//Usefull to teleport automatically when poeple are falling endless through the map
//Set this option to 0 if you want this to be deactivated
[ServerAd]
//Text to be displayed
Text=^0Welcome To ^1|^7RR^1|^2Test ^1Server^7.^4 Anyone^7 in^1 not allowed spot^7? Type^4 !check
//FontScale
FontSize=1.6
[TeamName]
enable = true
//or false
teamname_axis= ^1 Infected
//teamname for axis
teamname_allies= ^2 Still alive...
//teamname for allies
retry=10
//minutes after which the dvar is automatically changed
[TURRET]
//how long you can use the turret until it breaks
timeinturret=12
//how long the turrets pause
pause=17
//the press F radius of the turrets
radius=50
turrets=2
//Format: turret123=mapname,OriginX,OriginY,OriginZ,rotation
//use 0,90,180,270 or 360 for the rotation
turret1=mp_plaza2,4602,3882,3445,270
turret2=mp_exchange,4628,-3984,2664,90
05-12-2013, 12:40 (This post was last modified: 05-12-2013, 12:47 by hillbilly.)
you have the HeadAdmin cmds in the incorrect place, remove them and replace below HeadAdmin_xuids
like so
Code:
[SERVER]
TimedMessages=1
//Enable or disable timed messages [0-1]
SpecsFix=1
//Disable the CPU/Bandwidth check [0-1]
OldRotation=0
//Enable the old cod4-style rotation (see example server.cfg) [0-1]
OldRotationVal=playlist tdm_default map mp_dome playlist sd_default map mp_alpha playlist jug_default map mp_carbon
//OldRotation configuration
RotationThreshold=1
//Disable map rotation threshold (set to 0)
DisableVAC=0
//[UNTESTED] Stop VAC from protecting your server
[LOG]
ConsoleLog=1
//Enable logging to the 'console.log' file [0-1]
[SCRIPT]
Enabled=0
//Enable the server script [0-1]
Script=example.script
//Server script to run
[DEBUG]
ExceptionLogging=0
//Enable logging of crashes [0-1]
[UPDATER]
Enable=0
//Enable the updater
AutoUpdate=0
//Auto-update the server when there is a new release. (Mainly for dedicated servers on game server hosters)
Admins=011000010255ff65,0110000101205a57
warningtempban=true
kickmessage=^4 <playername> ^7 Has Been ^1Droped ^7For <reason> By <issuer>
banmessage=^4<playername>^7 Has Been ^1Banned^7 By <issuer>
tmpbanmessage=^4<playername> ^7Has Been ^1Kicked ^7 For <reason> By <issuer>
warnkickmessage=^4<playername> ^7 Was ^1Kicked ^7For: <reason>
warnmessage=^4<playername>^7 Was ^1Warned For <reason>
unwarnmessage=^4<playername>^7 Was ^1Unwarned <reason>
[ChatPlugin]
// Disable the plugin for all clients by default?
DisableChatPlugin=false
// The groups to use for the chat plugin
GroupsToUse=HeadAdmin,Moderator,Admin
// The messages for the groups specified
MessageForAdmin=[^4{0}^7] ^7{1}^7: {2}
MessageForModerators=[^2{0}] ^7{1}^7: {2}
MessageForHeadAdmin=^1[^4{0}^1] ^7{1}^7: {2}
[Saveme]
TimeBeforeTeleport=3
//default value is 3 seconds
TeleportRequests=0
//default value is 0. 0 means that the player can teleport unlimited times
MaxFallSpeed=10000
//default value is 10000. This option teleports the player if he have a higher fallspeed than this value.
//Usefull to teleport automatically when poeple are falling endless through the map
//Set this option to 0 if you want this to be deactivated
[ServerAd]
//Text to be displayed
Text=^0Welcome To ^1|^7RR^1|^2Test ^1Server^7.^4 Anyone^7 in^1 not allowed spot^7? Type^4 !check
//FontScale
FontSize=1.6
[TeamName]
enable = true
//or false
teamname_axis= ^1 Infected
//teamname for axis
teamname_allies= ^2 Still alive...
//teamname for allies
retry=10
//minutes after which the dvar is automatically changed
[TURRET]
//how long you can use the turret until it breaks
timeinturret=12
//how long the turrets pause
pause=17
//the press F radius of the turrets
radius=50
turrets=2
//Format: turret123=mapname,OriginX,OriginY,OriginZ,rotation
//use 0,90,180,270 or 360 for the rotation
turret1=mp_plaza2,4602,3882,3445,270
turret2=mp_exchange,4628,-3984,2664,90