[SMART] Plugin AutoModeSettings v1.3

Moderators: vni, NADEO

Post Reply
User avatar
vni
Posts: 221
Joined: 02 Oct 2011, 09:56

[SMART] Plugin AutoModeSettings v1.3

Post by vni »

AutoModeSettings

This plugin lets you set game mode / script settings without having to edit the script files of your server.

Example:
Reducing the interval for Spawning in Royal-Mode to 2 seconds:

Code: Select all

	<event>
		<trigger>BeginMap</trigger>
		<match_scriptname>Royal</match_scriptname>
		<modevar>S_SpawnInterval</modevar> 
		<value>2</value>
		<value_type>int</value_type> 
	</event>
Explaination: This will set the ModeSetting "S_SpawnInterval" to the value "2" on the begin of each map.


Setting the Timelimit for Joust to 60 seconds:

Code: Select all

	<event>
		<trigger>BeginMap</trigger> 
		<match_scriptname></match_scriptname> 
		<modevar>TimeLimitToReachNextPole</modevar> 
		<value>60</value> 
		<value_type>int</value_type>
	</event>
Elite LaserVsRocket

Code: Select all

	<event>
		<trigger>BeginMap</trigger> 
		<match_scriptname></match_scriptname> 
		<modevar>S_LaserVsRocket</modevar> 
		<value>true</value> 
		<value_type>boolean</value_type>
	</event>
Elite UseDraft

Code: Select all

	<event>
		<trigger>BeginMap</trigger> 
		<match_scriptname></match_scriptname> 
		<modevar>S_UseDraft</modevar> 
		<value>true</value> 
		<value_type>boolean</value_type>
	</event>

Usage:
You can set any ModeScriptSetting that is available from your script. Type /admin get modevar (latest ChatCommands-Version required) to list the available settings. If you use the plugin for Joust/Elite/Heroes, leave the <match_scriptname> field blank. The <value_type> is normally int.

Download/Installation/Update
- Manual from http://smarttool.org/plugins.php
- Ingame via /admin plugins

Changelog
v1.3
- The plugin is now able to update boolean values automatically.
SMART - The smarter Servertool for Shootmania
Download SMART at http://smarttool.org
Changelog: here
Frequently Asked Questions: here

IRC: #smart @ QuakeNet (WebChat)
User avatar
vni
Posts: 221
Joined: 02 Oct 2011, 09:56

Re: [SMART] Plugin AutoModeSettings v1.1

Post by vni »

Version 1.3
- The plugin can now update boolean values automatically.
SMART - The smarter Servertool for Shootmania
Download SMART at http://smarttool.org
Changelog: here
Frequently Asked Questions: here

IRC: #smart @ QuakeNet (WebChat)
Post Reply

Return to “SMART Servercontroller”

Who is online

Users browsing this forum: No registered users and 0 guests