<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.spherecommunity.net/index.php?action=history&amp;feed=atom&amp;title=Server_Functions</id>
		<title>Server Functions - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.spherecommunity.net/index.php?action=history&amp;feed=atom&amp;title=Server_Functions"/>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Server_Functions&amp;action=history"/>
		<updated>2026-04-20T01:30:42Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Server_Functions&amp;diff=7873&amp;oldid=prev</id>
		<title>Xwerswoodx: Created page with &quot;{{Languages|Server_Functions}}  __FORCETOC__  ==Server Functions== This functions are special functions which triggered by Sphere. These can be called &quot;Server Functions&quot;, &quot;Tri...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Server_Functions&amp;diff=7873&amp;oldid=prev"/>
				<updated>2018-12-30T00:43:04Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Languages|Server_Functions}}  __FORCETOC__  ==Server Functions== This functions are special functions which triggered by Sphere. These can be called &amp;quot;Server Functions&amp;quot;, &amp;quot;Tri...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Languages|Server_Functions}}&lt;br /&gt;
&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Server Functions==&lt;br /&gt;
This functions are special functions which triggered by Sphere. These can be called &amp;quot;Server Functions&amp;quot;, &amp;quot;Trigger Functions&amp;quot; or &amp;quot;Function Trigger&amp;quot;. Some server functions can be triggered by server on a specific action, some of them can be triggered with specific delays and some of them can be activated from sphere.ini.&lt;br /&gt;
&lt;br /&gt;
Generally server functions located into sphere_serv_triggers.scp.&lt;br /&gt;
&lt;br /&gt;
===f_axis_preload===&lt;br /&gt;
----&lt;br /&gt;
This function is called every time when someone connects from [https://forum.spherecommunity.net/sshare.php?srt=4&amp;amp;prj=1 Axis] to retrieve information. &lt;br /&gt;
&lt;br /&gt;
'''Variables'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ''LOCAL.Account'' || O || Account name.&lt;br /&gt;
|-&lt;br /&gt;
| ''LOCAL.IP'' || O || Ip address.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Return Values'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Block the connection.&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Block the connection and send warning message.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Allow the connection. (Default)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===f_onaccount_connect===&lt;br /&gt;
----&lt;br /&gt;
This function is called when someone trying to connect server before password check.&lt;br /&gt;
&lt;br /&gt;
'''Variables'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ''LOCAL.Account'' || O || Given account name.&lt;br /&gt;
|-&lt;br /&gt;
| ''LOCAL.IP'' || O || Ip address.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Return Values'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Continue to connection. (Default)&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Block the connection and send the wrong password warning.&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Skip password check. (Password check must be done with script)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===f_onaccount_login===&lt;br /&gt;
----&lt;br /&gt;
This function is called when someone connected server with correct password.&lt;br /&gt;
&lt;br /&gt;
'''Variables'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ''ARGS'' || O || Given account name.&lt;br /&gt;
|-&lt;br /&gt;
| ''ARGO'' || O || Client name.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Return Values'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Continue to connection. (Default)&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Block the connection.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===f_onaccount_create===&lt;br /&gt;
----&lt;br /&gt;
This function is called when new account created.&lt;br /&gt;
&lt;br /&gt;
'''Variables'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ''ARGS'' || O || Created account name.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Return Values'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Allow account creation. (Default)&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Deny account creation.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	</feed>