- Documentation
- Server functions
- getVersion
Function
getVersion
Returns server version information as a table.
Syntax
table getVersion()Returns
{ number, mta, name, version, type }, e.g. name = "Trilogy Hub Server", type = "Definitive Edition".
Example
local v = getVersion()
outputServerLog(v.name .. " " .. v.version)