Module script.server
Server module for Advanced Roleplay Environment.
-
StartUp ()
-
Called on start up
-
ScanFramework ()
-
Scans the framework and sets the FRAMEWORK variable
-
ValidateSource (source)
-
Validates the source of a player
Parameters:
Returns:
boolean
-
ValidateDistanceCheck (source, target)
-
Returns true if the player is near of the other
Parameters:
-
ValidateAuthToken (source, providedAuthToken)
-
Validates a auth token
Parameters:
- source
any
- providedAuthToken
any
Returns:
boolean
-
Play3DSound (source, coords, distance, sound)
-
Plays a 3d sound to every player
Parameters:
- source
any
- coords
any
- distance
any
- sound
any
Returns:
boolean
-
Stop3DSound (source)
-
Stops a 3d sound to every player
Parameters:
Returns:
boolean
-
SavePlayers ()
-
Saves all players
-
GetRealIdentifier (source)
-
Gets real identifier from a player
Parameters:
Returns:
unknown
-
FRAMEWORK_DATA
-
table: Contains the framework object
-
SOUND_DATA
-
table: Contains the sound data
-
PRODUCT_NAME
-
string: Contains the product name of the script
-
CURRENT_VERSION
-
string: Contains the current version of the script
-
RELEASE_CANDIDATE
-
bool: Contains whether the script is a release candidate or not
-
FRAMEWORK
-
string: Contains the framework string