sheldarr / etl-xpsave

ET: Legacy server script for xpsave

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

etl-xpsave

ET: Legacy server script for xpsave.

Description

  • 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

Installation

  1. Download etl-xpsave and dkjson scripts and put them in the ./legacy folder which is inside the main ET: Legacy directory.

  2. Update lua_modules variable in your server configuration file e.g.

    /set lua_modules "etl-xpsave.lua"

  3. Start your server and enjoy the game :)

Available commands

  • 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}

License MIT

About

ET: Legacy server script for xpsave

License:MIT License


Languages

Language:Lua 100.0%