Tremulous Forum
Community => Servers => Topic started by: atesterman on January 16, 2007, 01:15:37 am
-
How do i use them?
sry if this is the wrong forum for this type of post
-
How do i use them?
sry if this is the wrong forum for this type of post
first, you need to have tjw's server installed properly (or any of the svn-based servers, pretty much anything other than the 1.1.0 binary and game.qvm), then you edit admin.dat to include those commands (here's an example)
[command]
command = spam
exec = cp This is an annoying [command] block
description = spam the server
levels = 4 5
-
It has been my experience that command blocks are buggy at best, and can mess up the server.
-
Really? That's not been my experience.
-
Well, you cant enter them below a ban block, and sometimes they just dissapear.
-
They disappear only because you have the server running at the same time that you edit it.
What does desc do?
-
What does desc do?
It's in the output of !help mycustomcommand, if I remember correctly.
-
Well, they work flawlessly for me, Put them at the END of your admin.dat
Examples:[command]
command = pmoff
exec = set g_privatemessages 0;cp ^1Private Messages Disabled
desc = Turns Off Private Messages
levels = 6 7
[command]
command = pmon
exec = set g_privatemessages 1;cp ^1Private Messages Enabled
desc = Turns On Private Messages
levels = 6 7
Turns Private Messages On and Off
[command]
command = lockserver
exec = set g_needpass 1;set g_password ****;cp ^1Server Locked.
desc = Puts a password on the server
levels = 6 7
[command]
command = unlockserver
exec = set g_needpass 0;exec nopass.cfg;cp ^1Server UnLocked.
desc = Removes server password
levels = 6 7
Passwords And Unpasswords a Server
-
I thought passwords were readonly, or latched.
-
Passwords are read-only when you set them in the server.cfg, thanks for the other stuff.
-
Does code work in this?
IE
[command]
command = speed %i (or what ever interger is)
exec = set g_speed %i;cp ^1Speed has been set to %e(entry)
desc = Turns speed to specific amount
levels = 5 6 7
?
-
Not that i know of, but test it.
-
Does code work in this?
IE
[command]
command = speed %i (or what ever interger is)
exec = set g_speed %i;cp ^1Speed has been set to %e(entry)
desc = Turns speed to specific amount
levels = 5 6 7
?
I don't belive there are variables like that :(
-
Done tested it. It does not work.
-
:cry: :cry: :cry: