5
0

Release v0.7.12

This commit is contained in:
ShrBox 2024-05-07 16:12:21 +08:00
parent 516536821a
commit fa44387db4
Signed by: ShrBox
GPG Key ID: E926367CC922FD88
21 changed files with 93 additions and 29 deletions

View File

@ -1,29 +0,0 @@
# legacy-script-engine-quickjs
A plugin engine for running LLSE plugins on LeviLamina
## Install
```sh
lip install gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs
```
## Usage
1. Put LLSE plugins directly in `/path/to/bedrock_dedicated_server/plugins/`
2. Run the server, then the plugins will be migrated to LeviLamina plugin manifest automatically.
3. To load them, you need to restart the server.
For more information, please refer to [the documentation](https://lse.liteldev.com).
## Contributing
If you have any questions, please open an issue to discuss it.
PRs are welcome.
## License
GPL-3.0-only © LiteLDev

Binary file not shown.

View File

@ -0,0 +1,24 @@
-- ---------------------
-- For require
-- ---------------------
package.path = "plugins/lib/?.lua;" .. package.path
-- ---------------------
-- For Compatibility
-- ---------------------
file = File
lxl = ll;
-- DirectionAngle.valueOf = DirectionAngle.toFacing
LXL_Block = LLSE_Block
LXL_BlockEntity = LLSE_BlockEntity
LXL_Container = LLSE_Container
LXL_Device = LLSE_Device
LXL_Entity = LLSE_Entity
LXL_SimpleForm = LLSE_SimpleForm
LXL_CustomForm = LLSE_CustomForm
LXL_Item = LLSE_Item
LXL_Player = LLSE_Player
LXL_Objective = LLSE_Objective
ll.export = ll.exports
ll.import = ll.imports

View File

@ -0,0 +1,20 @@
def _llse_python_base_lib_handle(event):
def wrapper(func):
__builtins__.mc.listen(event, func)
return func
return wrapper
def _llse_python_base_lib_command_handle(self, func=None):
def wrapper(func):
self.setCallback(func)
return func
if func:
return wrapper(func)
return wrapper
setattr(__builtins__, "handle", _llse_python_base_lib_handle)
setattr(__builtins__.LLSE_Command, "handle", _llse_python_base_lib_command_handle)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,19 @@
{
"name": "legacy-script-engine-quickjs",
"entry": "legacy-script-engine-quickjs.dll",
"type": "native",
"description": "A plugin engine for running LLSE plugins on LeviLamina",
"author": "LiteLDev",
"version": "0.7.12",
"dependencies": [
{
"name": "LegacyMoney"
},
{
"name": "LegacyParticleAPI"
},
{
"name": "LegacyRemoteCall"
}
]
}

30
tooth.json Normal file
View File

@ -0,0 +1,30 @@
{
"format_version": 2,
"tooth": "gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs",
"version": "0.7.12",
"info": {
"name": "LegacyScriptEngine with QuickJs backend",
"description": "A plugin engine for running LLSE plugins on LeviLamina",
"author": "LiteLDev",
"tags": [
"levilamina",
"plugin-engine"
]
},
"dependencies": {
"github.com/LiteLDev/LegacyRemoteCall": "0.7.x",
"github.com/LiteLDev/LegacyParticleAPI": "0.7.x",
"github.com/LiteLDev/LegacyMoney": "0.7.x"
},
"prerequisites": {
"github.com/LiteLDev/LeviLamina": "0.12.x"
},
"files": {
"place": [
{
"src": "legacy-script-engine-quickjs/*",
"dest": "plugins/legacy-script-engine-quickjs/"
}
]
}
}