Grangers Bouncing Around - Clanforum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to make a admin.dat

Go down

How to make a admin.dat Empty How to make a admin.dat

Post  The Hovel Humper Fri Aug 20, 2010 11:56 am

First you need to create a .txt document (Either open notepad or right click > New > Text Document

Then you'll get a blank page, you'll need to add the level's first - They are set out like this

[level]
level = 0 -----------------// The amount of level you give them, doesn't really matter if you know
name = ^2Level 0 --------// The name for the level, can be anything (shows up in admintest)
flags = 4aC ---------------// The flags, these are the most important bit.

Flags: Flags in tremulous are basically what gives an admin His/Her powers, different flags include different commands. WARNING: some flags may be in caps - do NOT get C and c mixed up.

Here are a list of all the tremulous flags...

Code:
  COMMANDS
  a - !admintest
  y - !allready
  b - !ban/!unban
  c - !cancelvote
  h - !help
  k - !kick
  D - !listadmins
  i - !listplayers
  K - !lock/!unlock
  m - !mute/!unmute
  e - !namelog
  n - !nextmap
  V - !passvote
  p - !putteam
  G - !readconfig
  N - !rename
  r - !restart
  s - !setlevel
  B - !showbans
  P - !spec999
  C - !time
 
  RIGHTS
  1 - cannot be vote kicked
  3 - never loses credits for switching teams (even spectator)
  4 - can see team chat as a spectator
  5 - can switch teams any time, regardless of balance
  6 - does not need to specify a reason for a kick/ban
  7 - can call a vote at any time (regardless of g_voteLimit)
  8 - does not need to specify a duration for a ban
  9 - can run commands in team chat
  0 - inactivity rules do not apply to them
  ! - g_admin commands cannot be used on them
  @ - does not show up as an admin in !listplayers 


  There are also characters that you can use in your "flags" string
  that have special meaining.  These are:

  * - implies ALL flags except ! and @.  any flags following * are
      DENIED to that admin/level.

  - - you can use this to deny rights to a specific admin that are
      granted to him through is level.

The next part is admins, that's simple - they get added in game by !setlevel or !register and they will have basic information like there GUID, there level and there name.

Theres also bans what get added in game - they get added by using the !kick and !ban command.

The last one is too make simple commands, the layout for all of there are like.

[command]
command = hs3 --------------------- // The command name, will show up in help as !hs3
exec = set g_humanstage 2 ------- // the command function, will do whatever the function says
desc = Humans evolve to stage 3 - // A simple description to show what it is.
levels = 3 ------------------------- // The level from what it can be used from, available to L3+

An example admin.dat

Code:
[level]
level  = 0
name    = ^4Unknown Player
flags  = iahC

[level]
level  = 1
name    = ^5Server Regular
flags  = iahC

[level]
level  = 2
name    = ^6Team Manager
flags  = iahCpPm

[level]
level  = 3
name    = ^2Junior Admin
flags  = i1ahCpPkm

[level]
level  = 4
name    = ^3Senior Admin
flags  = i1ahCpPkmyBbeN

[level]
level  = 5
name    = ^1Server Operator
flags  = *

[admin]
name    = tjw
guid    = ABABABABABABABABABABABABABABABABAB
level  = 5
flags  = !@

[admin]
name    = Fry
guid    = 1010101010101010101010101010101010
level  = 4
flags  =

[admin]
name    = Timbo
guid    = 1234567812345678123456781234567812
level  = 4
flags  = c-b

[ban]
name    = all LLJK nexterholland
guid    =
ip      = 206.248.128.4
reason  = debuilding again
made    = 04/09/06 22:45:52
expires = 0
banner  = Fry

[command]
command = hs3
exec    = set g_humanstage 2
desc    = Humans evolve to stage 3
levels  = 3






The Hovel Humper
The Hovel Humper
Bouncing Granger!
Bouncing Granger!

Posts : 1051
Join date : 2010-07-26
Age : 29
Location : Keeping the glameows away from my maras

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum