Personal tools

Difference between revisions of "Lua/Server"

From JC2-MP Documentation

< Lua
Jump to: navigation, search
Line 64: Line 64:
  
 
'''[[Lua/Events/Shared/ClientModulesLoad|ClientModulesLoad]]'''
 
'''[[Lua/Events/Shared/ClientModulesLoad|ClientModulesLoad]]'''
 +
 +
'''[[Lua/Events/Server/PlayerAchievementUnlock|PlayerAchievementUnlock]]'''
  
 
'''[[Lua/Events/Server/PlayerAuthenticate|PlayerAuthenticate]]'''
 
'''[[Lua/Events/Server/PlayerAuthenticate|PlayerAuthenticate]]'''

Revision as of 12:55, 4 September 2015

Global classes

Config

Chat

Server

SQL

Classes

CellID

EntityStorageBase

NetworkObject

SQLStatement

SQLCommand
SQLQuery

SQLTransaction

StreamableObject

Checkpoint
Player
Vehicle
StaticObject
WorldNetworkObject

UDPSocket

World

Enums

CollisionGroup

Events

ClientModuleLoad

ClientModulesLoad

PlayerAchievementUnlock

PlayerAuthenticate

PlayerDeath

PlayerEnterCheckpoint

PlayerEnterMG

PlayerEnterStunt

PlayerExitCheckpoint

PlayerExitMG

PlayerExitStunt

PlayerMoneyChange

PlayerSpawn

PlayerStateChange

PlayerWorldChange

ServerStart

Shared events

EntitySpawn

EntityDespawn

ModuleError

ModuleLoad

ModuleUnload

ModulesLoad

NetworkObjectCreate

NetworkObjectDestroy

NetworkObjectValueChange

PlayerChat

PlayerEnterVehicle

PlayerExitVehicle

PlayerJoin

PlayerQuit

PostTick

PreTick

SharedObjectCreate

SharedObjectDestroy

SharedObjectValueChange

WorldNetworkObjectCreate

WorldNetworkObjectDestroy

Additions to standard Lua libraries

io.createdir(string)

io.directories(string)

io.files(string)