banimod / etpro / ettv forums Forum Index banimod / etpro / ettv forums
Bani's Discussion Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Semiadmin

 
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET Pro Documentation
View previous topic :: View next topic  
Author Message
=FF=im2good4u



Joined: 05 Feb 2003
Posts: 3924
Location: The Netherlands, HOLLAND

PostPosted: Mon Aug 15, 2005 7:27 am    Post subject: Semiadmin Reply with quote

V look down V
_________________


Last edited by =FF=im2good4u on Mon Aug 15, 2005 12:39 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lagger



Joined: 29 Sep 2003
Posts: 333

PostPosted: Mon Aug 15, 2005 8:46 am    Post subject: Reply with quote

text de-im2good4uified: Razz

Etpro allows admins to use semiadmins. These are admins who can do some server commands without having full rcon access.

Semiadmin is split up in levels from 1 to 999 but you probably wont need them all, each level can have different commands.

First you need a server variable called:
Code:
b_semiAdminLevels #


This variable uses 1 number, it is the number of semiadmin levels you want use
the number can be from 0 to 999, where 0 is no semiadmins at all. Any value higher than 0 is the number of levels so if you have it set to 2 you will have 2 semiadmin levels.

The second thing you need is the password this is done by a variable called:
Code:
b_semiAdminPass# "thepassword"


The # is the level number you want to use for this password.
so b_semiadminpass2 "lol" will make lol the password to log into level 2, but b_semiadminlevels much be 2 or higher then 2 for level 2 to work.
Also every level must have its own password since the password is used to choose to witch level a person logs in like:
b_semiadminpass1 "omg"
b_semiadminpass2 "lol" this will make any1 that log in with lol a level 2 semiadmin and every1 that logs in with omg a level 1 semiadmin.

Third, you need the command that can be used by a level this is done by a variable called:
Code:
b_semiAdminCmds# "command"


The # is the level number you want to use for these commands.
each command must be separated with a space so:
b_semiadmincmds1 "say broadcast" allows any level 1 semiadmin to use both broadcast and say any arguments that are added to any of those commands are just send along so people could do things like /sa say "hello all"

Be careful with that in cases of b_semiadmincmds2 "exec vstr set" the level2 semiadmin can add any arguments to these commands so, they can exec any .cfg on the server using /sa exec filename.cfg. and, they can vstr any string using /sa vstr stringname and, they can also set any cvar using /sa set cvarname value this means they can even set rconpassword Very Happy
But this can be done a different way:
you can add the variable in the cmd list just like you wont need "set" in the server console.
For strings that you want to vstr you can add the string name in the cmd list then a semiadmin can /sa stringname to vstr it
this both allows you to limit the powers more specific like:
b_semiadmincmds3 "g_speed g_gravity m1 m2 m3"

For the rest of the cmds list can contain any console command and it will also be done as if it was typed in the server console itself with only 1 big exception:
Some command send information back like when you do /rcon status it will show the server status sadly this does not work for semiadmins, in case a semiadmin does a command like that it will do the command on the server only the text never reaches it back to the client. Rolling Eyes

Now when that is all done people should be able to log in, this is done by the command /semiadminlogin or short /sal like this:
Code:
/semiadminlogin passwordofyourlevel


If it succeeds it will broadcast ‘yourplayername has become a semiadmin’ and in your console it says seminadmin level yourlevel logged in. Now you can start being an evil admin.

To do server commands you use the command /semiadmin or /sa like:
Code:
/semiadmin yourcommand


If you don't know what commands you can do you can just type /sa to get your level number and your commands.
if the command is not in your command list (/sa) you cannot use it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET Pro Documentation All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group