Skip to main content

Engines

The script api has differents lua engines to fit everybody's needs like:

What we recommend is Pluto, which is a subset of Lua 5.4. It is the default and fallback engine for the script api as it's assist to general programming and facilitate cleaner developpment. Pluto is highly compatible with lua, using it while doing 100% lua causes no problems.

Changing engines is only possible on files ending with .lua and it happens at the top of the file by adding

--[[
@engine <enginename>
]]

The engine name can be luajit, lua51, lua52, lua53, lua54 or pluto