</ul></li>
</ul><br /><font size="4">Installation</font><br /><ol style="list-style-type: decimal"><li>Copy tf2_workshop_map_loader.smx to your server's plugins folder.</li>
<li>Edit workshop_maps.txt to include the maps you want on your server.</li>
<li>Copy workshop_maps.txt to your server's cfg/ folder.</li>
</ol><font size="4">Known Bugs</font><br /><br />None in the plugin at present.<br /><br />There is currently a game bug that makes the server crash when <b>sv_setsteamaccount</b> has been used before <b>tf_workshop_map_sync</b> has been called.<br /><br /><font size="4">ConVars:</font><br /><ul><li><b>tf2_workshop_map_loader_enable</b> - Defaults to 1. Set to 0 to disable this plugin.</li>
<li><b>tf2_workshop_map_loader_filename</b> - Defaults to "cfg/workshop_maps.txt". Change this to make the plugin use a different list.</li>
<li><b>tf2_workshop_map_loader_delay</b> - Defaults to 5.0. How long after configuration files execute should this be run? Minimum 5.0, Maximum 60.0.</li>
</ul><br />This plugin will read cfg/sourcemod/tf2_workshop_map_loader.cfg if present, but does not create it.<br /><br /><font size="4">Format of workshop_maps.txt:</font><br /><br />One workshop ID per line<br /><br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">123456789<br />987654321</code><hr />
</div>The attached workshop_maps.txt is from my test server and the Workshop IDs contained should not be taken as me endorsing these maps.</div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...51"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...1434844082">Get Source</a> (tf2_workshop_map_loader.sp - 4.3 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...op_maps.txt</a> (31 Bytes)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł