<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bf2tech.uturista.pt/index.php?action=history&amp;feed=atom&amp;title=Scripts%3ARconCfg</id>
	<title>Scripts:RconCfg - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bf2tech.uturista.pt/index.php?action=history&amp;feed=atom&amp;title=Scripts%3ARconCfg"/>
	<link rel="alternate" type="text/html" href="https://bf2tech.uturista.pt/index.php?title=Scripts:RconCfg&amp;action=history"/>
	<updated>2026-08-06T01:11:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://bf2tech.uturista.pt/index.php?title=Scripts:RconCfg&amp;diff=109&amp;oldid=prev</id>
		<title>Pireax: Created page with &quot;__TOC__  == Introduction ==  Here&#039;s a script that adds an rcon command called &#039;cfg&#039;. It is intended for server admins that want to execute several commands at once. For exampl...&quot;</title>
		<link rel="alternate" type="text/html" href="https://bf2tech.uturista.pt/index.php?title=Scripts:RconCfg&amp;diff=109&amp;oldid=prev"/>
		<updated>2018-06-22T15:27:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__TOC__  == Introduction ==  Here&amp;#039;s a script that adds an rcon command called &amp;#039;cfg&amp;#039;. It is intended for server admins that want to execute several commands at once. For exampl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s a script that adds an rcon command called &amp;#039;cfg&amp;#039;. It is intended for server admins that want to execute several commands at once. For example to easily change server settings for switching between public/match-settings. The script supports unlimited number of config-files.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
# Place &amp;lt;code&amp;gt;cfg.py&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;BF2 Server Directory/admin/standard_admin/&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
# Add a line in the &amp;lt;code&amp;gt;___init___.py&amp;lt;/code&amp;gt; file in the same directory that says &amp;lt;code&amp;gt;import cfg&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Make a directory called &amp;lt;code&amp;gt;cfg&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;BF2 Server Directory/admin/&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
# Place your configs there, with the file-extension &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt;, containing one command per line.&lt;br /&gt;
# Restart server, login through rcon and type &amp;lt;code&amp;gt;rcon cfg &amp;lt;config name without .cfg&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example: &amp;lt;code&amp;gt;rcon cfg restart&amp;lt;/code&amp;gt; (to execute &amp;lt;code&amp;gt;BF2 Server Directory/admin/cfg/restart.cfg&amp;lt;/code&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
== The Code ==&lt;br /&gt;
&lt;br /&gt;
As you might see most of the script is copied from default.py&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;[http://truppo.mine.nu/truppo/cfg.py Download link for the script]&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Updates ==&lt;br /&gt;
&lt;br /&gt;
2005-08-03: First version posted&lt;/div&gt;</summary>
		<author><name>Pireax</name></author>
	</entry>
</feed>