-
Notifications
You must be signed in to change notification settings - Fork 0
Server_Functions
FORCETOC
This functions are special functions which triggered by Sphere. These can be called "Server Functions", "Trigger Functions" or "Function Trigger". 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.
Generally server functions located into sphere_serv_triggers.scp.
This function is called every time when someone connects from [https://forum.spherecommunity.net/sshare.php?srt=4&prj=1 Axis] to retrieve information.
| Name | In/Out | Description | | - | | LOCAL.Account | O | Account name. | | - | | LOCAL.IP | O | Ip address. |
| Value | Description | | - | | 0 | Block the connection. | | - | | 1 | Block the connection and send warning message. | | - | | 2 | Allow the connection. (Default) |
This function is called when someone trying to connect server before password check.
| Name | In/Out | Description | | - | | LOCAL.Account | O | Given account name. | | - | | LOCAL.IP | O | Ip address. |
| Value | Description | | - | | 0 | Continue to connection. (Default) | | - | | 1 | Block the connection and send the wrong password warning. | | - | | 6 | Skip password check. (Password check must be done with script) |
This function is called when someone connected server with correct password.
| Name | In/Out | Description | | - | | ARGS | O | Given account name. | | - | | ARGO | O | Client name. |
| Value | Description | | - | | 0 | Continue to connection. (Default) | | - | | 1 | Block the connection. |
This function is called when new account created.
| Name | In/Out | Description | | - | | ARGS | O | Created account name. |
| Value | Description | | - | | 0 | Allow account creation. (Default) | | - | | 1 | Deny account creation. |