• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Server Tools

custom chat commands

can someone walk me through setting up the custom chat command

/rules?

i have enabled the customcommands but did not see a "custom command" xml file creatd when the server reset where i could assign default replies etc..

 
In root/saves/ServerTools/ServerToolsConfig.xml, make sure Tool Name="CustomCommands" Enable="True".

With the server still running, it will generate root/saves/ServerTools/CustomChatCommands.xml

Open CustomChatCommands.xml (preferably with Notepad++)

Add the following and make sure it's not between the default comment markers <!-- --> (text will be green in Notepad++ if it is)

Code:
<Command Command="rules" Response="say "[00FF00]This is where the rules go![-]"" DelayBetweenUses="0" />
 
Thanks dmustanger

This mods high-ping kicker is a life saver for those of us who rent a service instead of running a virtual or physical machine.

 
Is there a way to setup a custom chat command for /rules and return each rule as a new line in the chat? Formatting is a nightmare ...

 
Last edited by a moderator:
Hi!

I have been using your stuff since approx version 2.x but now when patch 15.1 come out and I have updated yours to 3.7, I have issue with custom commands -- before I had teleport /city which was teleporting player to certain place but after update server tool says - "CLanManager not enabled" and if I enable it , no teleport happening...

Also old /home data lost , I have folder with all coordinates but when i type in /home it says that nothing set yet...

 
I don't know if I wasn't thorough enough, but I did check to see if anyone had asked this before. Is there a way to multiple instances of server tools to go along with multiple servers sharing the same box? The server tools folder that goes into Mods is already separate between installs, but the location of the configuration files is the save game folder, which is shared between multiple server (Unless there is a way to split the save folders, which I don't know).

 
Been using your tool for a while. its wonderful. now i want to have some fun but need a hand

we dont use the /gimmie command. what i want to do is enable it, but have it spawn a zombie bear at their location if they use it instead. how do we do this?

i tried to create a custom chat command to work around this but i could not figure it out. is there a list of variables someplace so i know how to reference a player ID etc..

anyone know how i can achieve my goal? or even better something like /safe would teleport you to coordinates and spawn a certain number of zombies there of my choosing.

for example assuming player lpi = 111

tele 111 10,-1, 10

se 111 43

so it teleport him to that location ( a cage)

and summons strippers on him

can this be done? :)

 
Been using your tool for a while. its wonderful. now i want to have some fun but need a hand
we dont use the /gimmie command. what i want to do is enable it, but have it spawn a zombie bear at their location if they use it instead. how do we do this?

i tried to create a custom chat command to work around this but i could not figure it out. is there a list of variables someplace so i know how to reference a player ID etc..

anyone know how i can achieve my goal? or even better something like /safe would teleport you to coordinates and spawn a certain number of zombies there of my choosing.

for example assuming player lpi = 111

tele 111 10,-1, 10

se 111 43

so it teleport him to that location ( a cage)

and summons strippers on him

can this be done? :)
This or something like it has been requested a few times. We'll just have to wait and see if dmustanger can/will add it in.

I "might" tinker with it if I get some free time.

 
I would like to see a shop, mail, and region/ip ban feature, I find this mod very reliable and stable. Right now using botman and not to happy with it.

 
The mod isn't making any config files for me.
Server Tolls folder: http://puu.sh/sWPou/29bf06b976.jpg

Save folder: http://puu.sh/sWPqb/7c3ce69dae.jpg

Config: http://puu.sh/sWPrF/809588cf18.jpg

Ingame: http://puu.sh/sWPtD/97d86353f6.jpg

Have I done something wrong
What other mods are you running besides Val Mod?

What is at the end of your MOTD config stetting. If you look at the line under it,"Tool" is a different color than the rest indicating something is wrong with the line above.

 
Yup! Just what I thought. Missing the closing quote " at the end of your MOTD.

Code:
...assist you [color="#00FF00"]the[/color] next time they are online.[color="#00FF00"]"[/color] />
And now it works. Thank you kindly, good Sir.

 
Back
Top