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>
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>
Code: Select all
<event>
<trigger>BeginMap</trigger>
<match_scriptname></match_scriptname>
<modevar>S_LaserVsRocket</modevar>
<value>true</value>
<value_type>boolean</value_type>
</event>
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.