Installation
Warning
Before installing the Python engine, you need to install Python first. Here is a list of LSE versions and their required Python versions.
| LSE Version | Python Version |
|---|---|
| >=0.16.2 | 3.12.10 |
| >=0.9.0 <0.16.2 | 3.12.8 |
| <0.9.0 | 3.10.11 |
Each engine is its own package variant. Version numbers can be found in
releases; add @version to install a specific one.
In the server directory, install the engine you need with lip:
lip install github.com/LiteLDev/LegacyScriptEngine#lua
lip install github.com/LiteLDev/LegacyScriptEngine#quickjs
lip install github.com/LiteLDev/LegacyScriptEngine#nodejs
lip install github.com/LiteLDev/LegacyScriptEngine#pythonFor example, lip install github.com/LiteLDev/LegacyScriptEngine#lua@0.17.0-rc.2.
For versions older than 0.10.0, you can only download them
from releases and decompress them in the plugins/ folder.
The Node.js engine then also needs node-prebuilt.zip from LiteLDev/node,
decompressed in plugins/legacy-script-engine-nodejs/. Installing through lip doesn't require these steps.
lip manages server directories only. On the client, install the engine into a LeviLauncher instance that has
LeviLamina (see Install client on Windows):
LeviLauncher installs the same variants as on the server, #lua, #quickjs, #nodejs and #python, and picks
their client builds. Releases up to 0.23.1 name the client builds #client_lua, #client_quickjs,
#client_nodejs and #client_python, for example
github.com/LiteLDev/LegacyScriptEngine#client_lua@0.17.0-rc.2. See LeviLauncher's
Mods & Integrations.
Usage
To access plugin development API hints and scaffolding toolkits, visit the legacy-script-engine-api repository.
- Put LLSE plugins directly in
plugins/ - Run the server, then the plugins will be migrated automatically and get a LeviLamina mod manifest (manifest.json)
- To load them, you need to restart the server
Contributing
If you have any questions, please open an issue to discuss it
Help us improve translation here
PRs are welcome
License
GPL-3.0-or-later © LeviMC
