News:

Come Chat with us live! Learn how HERE!

Main Menu

Making Admin Commands

Started by twilight, April 10, 2007, 03:43:13 AM

twilight

So I'm trying to make admin commands...I made the .cfg files and added the command blocks to the admin.dat file but the file keeps overwriting itself. Any help?
rder of Resistance Clan Leader

Check us out at http://resistanceorder.cjb.in

[NubS] Rabbitt

I actually just read your other thread and had been wondering about this so i went ahead and did the same thing but i once i enter my server and !help i see the commands but when i try to use them i get unknown cmd.
Im not understanding whats wrong.

twilight

well I can use the commands listed in help fine...but I can't make my own because the admin.dat file keeps overwriting itself and erases the command blocks
rder of Resistance Clan Leader

Check us out at http://resistanceorder.cjb.in

[NubS] Rabbitt

Wonder why you cant make your own are you changing the name of each file so it doesnt over write.

twilight

am I changing the name of each file? Which do you mean? I have a seperate .cfg file for each command
rder of Resistance Clan Leader

Check us out at http://resistanceorder.cjb.in

twilight

ok it seems to only overwrite when I ban someone or something...but the commadns still aren't working....idk what to do
rder of Resistance Clan Leader

Check us out at http://resistanceorder.cjb.in

[NubS] Rabbitt

I wish i had an answer for you.
Im still trying to figure out why my commands arent working at all.

twilight

I've followed the instructions in this forum:

http://tremulous.net/phpBB2/viewtopic.php?t=3786

I just can't add any commands beside the basic ones seen when executed !help

your commands aren't working? try executing them like:

/rcon [password] ![command]
rder of Resistance Clan Leader

Check us out at http://resistanceorder.cjb.in

twilight

are custom commands entered differently?
rder of Resistance Clan Leader

Check us out at http://resistanceorder.cjb.in

Angelwinged Devil

I tried making admin commands too, after saving admin.dat, waiting till map changes and !readconfig just deletes the command from the file or makes !readconfig unable to work.
y hobby is to pwn
personal slaves: Taiyo, xinef

Paradox

Make them appear after the levels, but before the admins. If you make it anywhere else, when the file is updated, it will be overwritten.

∧OMG ENTROPY∧

twilight

ok well they're not being overwritten anymore but the commands still aren't working...I have the command blocks in the admin.dat and all the .cfg files in the same directory...but nothing is working. If the command is h3, for example, I still enter the command as !h3, right?
rder of Resistance Clan Leader

Check us out at http://resistanceorder.cjb.in

Angelwinged Devil

doh, thanks paradox, I was told to put it at the end of the file >_>, should have followed my own instincts instead.
y hobby is to pwn
personal slaves: Taiyo, xinef