The tmodusers.cfg can contain multiple user accounts. An account entry
consists of five lines. These must be provided and stay in the correct
order.
Example:
user=testuser
pass=secret
ipbound=0
ip=
rights=36
This will create an account for a "testuser". The password
will be "secret". The user can log in from any IP (ipbound=0).
He will have DAMAGE (32) and MOVEMENT (4) rights.
If ipbound=1, the user can only log in from a certain IP. In this case,
an IP must be specified.
The rights value is calculated by adding the individual values. These
are:
1 = EFFECTS
2 = GADGETS
4 = MOVEMENT
8 = SPAWN
16 = ANIMATION
32 = DAMAGE
64 = ADMIN
128 = SUPERADMIN
256 = DEVELOPER
How to log in with your user information
In order to log in at a T-Mod server, the username and password must
be set before entering the level.
This can be done with the following lines.
set user "yourusername"
set pass "yourpassword"
You can either type it in manually, make a script or put it in a
config file. If you don't get it done before entering the level, just
reconnect after you have it set.
An easy but not very good way to do this is to put the two lines
in the user.cfg that resides in the Heretic II/base directory. This
file will be executed everytime you start Heretic II.
New since version 1.1:
Create a script like this and execute it in the game to login:
set user "yourusername"
set pass "yourpassword"
login
You can execute it at any time and there is no need to reconnect.
If you execute it on accident in a non-tmod server it will not reveal
your information.