Tremulous Forum

Community => Servers => Topic started by: BULLSEYE@linux.be on August 07, 2007, 01:18:07 pm

Title: make !commands
Post by: BULLSEYE@linux.be on August 07, 2007, 01:18:07 pm
well i would like to add some !commands to "our" server

i have the rconpass

but i dnt know how to add commands

can i do this whit rcon?

and how

also i want to know how to make the !command admin lvl 5 only
Title: make !commands
Post by: Caveman on August 07, 2007, 01:19:31 pm
Could you please stop it with your annoying sig.pictures?
Title: make !commands
Post by: BULLSEYE@linux.be on August 07, 2007, 03:04:13 pm
if u have nothing helful to say then dnt post!!!
Title: make !commands
Post by: Lakitu7 on August 07, 2007, 03:21:03 pm
http://www.mercenariesguild.net/component/option,com_openwiki/Itemid,12/id,wiki:admin_commands/lang,en/

You need shell access to edit admin.dat. Rcon isn't enough.
Title: make !commands
Post by: Paradox on August 07, 2007, 04:08:54 pm
Need i say (http://img510.imageshack.us/img510/6654/spellcheckeb7.png)
Title: Re: make !commands
Post by: Fluxflashor on August 07, 2007, 07:26:22 pm
Quote from: "BULLSEYE@linux.be"
well i would like to add some !commands to "our" server

i have the rconpass

but i dnt know how to add commands

can i do this whit rcon?

and how

also i want to know how to make the !command admin lvl 5 only



 If you dont want to go the MG site and read it there, this is what you do:
IN ADMIN.DAT
Code: [Select]

[command]
command = pmon
exec        = exec pmon.cfg
desc        = Turns Private Messages ON
levels       = 4 5


Type this into an admin.dat as an example, then make a new file name in pmon.cfg and type the following into it:
Code: [Select]

cp "^7Private Messages ^1Disabled"
g_privateMessages 1


You can pretty much do anything you want with custom commands you just need to know the cvar you want to change.

My server we have a bunch of custom commands. One of ours is a scrim on that sets a bunch of stuff for scrims. It locks our server, changes the name of it to MW|ScrimServer, and it also disables global chat.

An example of our old admin.dat with our commands is available for download here:
http://rapidshare.com/files/47558345/custom_commands.zip.html
Title: make !commands
Post by: BULLSEYE@linux.be on August 07, 2007, 11:45:09 pm
thx thx thx so much