Script:Config
Jump to navigation
Jump to search
server | The root element Example: <server>
...
</server> |
---|---|
config | Contains basics information about the server. Attributes:
Example: <config public=true host_name="Gothic 2 Online" max_slots=32 port=32000 rcon_pass="admin" /> |
version | Minimal required client version to join to the server. Attributes:
Example: <version build=2 /> |
world | Startup server world, without .ZEN extension. Attributes:
Example: <world name="NEWWORLD\\NEWWORLD" /> |
description | Server description in Launcher Attribute:
Example: <description>
<![CDATA[
<b>
<font color=blue>Gothic</font> 2 <font color=red>Online</font>
</b>
]]>
</description> |
import | Import an external .xml file, to your project. NOTE! <config /> element, is only loaded once.
Example: <import src="myCustomFramework.xml" /> |
script | Import script, to your project. Attribute:
Example: <script src="main.nut" type="server" /> |
module | Import module, to your project. NOTE! Modules are dynamic-link library, so they extension must be .dll or .so
Example: <module src="MyModule.dll" type="client" /> |
items | Import items definition from xml file. NOTE! This tags are stackable. Attribute:
Example: <items src="items.xml" /> |
mds | Import mds definitions from xml file. NOTE! This tags are stackable. Attribute:
Example: <mds src="mds.xml" /> |