- Documentation
- Server events
- onPlayerACInfo
Event
onPlayerACInfo
Arrives right after onPlayerJoin with information about the player's game modifications. The detected list is empty because the client does not detect them yet.
Handler
addEventHandler("onPlayerACInfo", root, function(detectedACList, d3d9Size, d3d9MD5, d3d9SHA256) ... end)Parameters
detectedACListtable- Detected modifications (currently empty).
d3d9Sizeint- For compatibility with existing scripts.
d3d9MD5string- For compatibility with existing scripts.
d3d9SHA256string- For compatibility with existing scripts.
Source
source is the player.
Example
addEventHandler("onPlayerACInfo", root, function(list)
if #list > 0 then outputServerLog(getPlayerName(source) .. " ma modyfikacje") end
end)
See also
onPlayerModInfoArrives afteronPlayerACInfo, only when the client found files that are not part of the game in its folder:.pak/.utoc/.ucaspackages inContent/Paksother thanpakchunk0andpakchunk1, or.asiplugins. You can kick the player based on it.onPlayerJoinA player joined the server. A good place for a greeting, login and the first spawn.