ET: Legacy server script for xpsave.
- xp is saved in json file which is created in ./legacy folder next to the etl-xpsave lua script
- xp is automatically saved each minute for all players (including bots)
- xp is automatically loaded when player joins the server
- xp is automacially saved when user disconnects the server
-
Download etl-xpsave and dkjson scripts and put them in the ./legacy folder which is inside the main ET: Legacy directory.
-
Update lua_modules variable in your server configuration file e.g.
/set lua_modules "etl-xpsave.lua"
-
Start your server and enjoy the game :)
- savexp - saves xp for all currently connected players (and bots)
- loadxp - loads xp for all currently conencted players (and bots)
- resetxp - resets xp for all players (and bots)
You can use these commands directly in server console or in client console via rcon e.g.
/rcon {password} {command}