<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=Server</id>
	<title>Server - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=Server"/>
	<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Server&amp;action=history"/>
	<updated>2026-04-21T23:08:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://wiki.crumbledworld.com/index.php?title=Server&amp;diff=129&amp;oldid=prev</id>
		<title>Anders: Created page with &quot;{{:ServerExampleCode}}  ==Functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- | |enableNewConnections(bool set) |Enables or disable new clients to connect to server, new clients may only connect if server is running |- | |start() |Starts the server. The server it self may run on another machine or localy in a seperat thread |- | |stop() |Stops the server and kicks all connect...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Server&amp;diff=129&amp;oldid=prev"/>
		<updated>2025-07-05T14:25:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{:ServerExampleCode}}  ==Functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- | |&lt;a href=&quot;/index.php?title=Server:enableNewConnections(bool_set)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Server:enableNewConnections(bool set) (page does not exist)&quot;&gt;enableNewConnections&lt;/a&gt;(bool set) |Enables or disable new clients to connect to server, new clients may only connect if server is running |- | |&lt;a href=&quot;/index.php?title=Server:start()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Server:start() (page does not exist)&quot;&gt;start&lt;/a&gt;() |Starts the server. The server it self may run on another machine or localy in a seperat thread |- | |&lt;a href=&quot;/index.php?title=Server:stop()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Server:stop() (page does not exist)&quot;&gt;stop&lt;/a&gt;() |Stops the server and kicks all connect...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{:ServerExampleCode}}&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|return&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Server:enableNewConnections(bool set)|enableNewConnections]](bool set)&lt;br /&gt;
|Enables or disable new clients to connect to server, new clients may only connect if server is running&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Server:start()|start]]()&lt;br /&gt;
|Starts the server. The server it self may run on another machine or localy in a seperat thread&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Server:stop()|stop]]()&lt;br /&gt;
|Stops the server and kicks all connected from it.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Server:addToGlobalServerList(string serverName)|addToGlobalServerList]](string serverName)&lt;br /&gt;
|Add server to global server list. This will make this server more public and accessible for other players. The server will be on the list for a maximum 30 min then this server need to call this function again.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Server:removeFromGlobalServerList()|removeFromGlobalServerList]]()&lt;br /&gt;
|Remove this server from the global server list. Will remove the server based on ip and port number.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Anders</name></author>
	</entry>
</feed>