Release v0.7.12
This commit is contained in:
parent
516536821a
commit
fa44387db4
29
README.md
29
README.md
@ -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
|
|
BIN
legacy-script-engine-quickjs/baselib/BaseLib.js
Normal file
BIN
legacy-script-engine-quickjs/baselib/BaseLib.js
Normal file
Binary file not shown.
24
legacy-script-engine-quickjs/baselib/BaseLib.lua
Normal file
24
legacy-script-engine-quickjs/baselib/BaseLib.lua
Normal 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
|
20
legacy-script-engine-quickjs/baselib/BaseLib.py
Normal file
20
legacy-script-engine-quickjs/baselib/BaseLib.py
Normal 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)
|
BIN
legacy-script-engine-quickjs/lang/de.json
Normal file
BIN
legacy-script-engine-quickjs/lang/de.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/en.json
Normal file
BIN
legacy-script-engine-quickjs/lang/en.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/fr.json
Normal file
BIN
legacy-script-engine-quickjs/lang/fr.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/id.json
Normal file
BIN
legacy-script-engine-quickjs/lang/id.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/it.json
Normal file
BIN
legacy-script-engine-quickjs/lang/it.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/ja.json
Normal file
BIN
legacy-script-engine-quickjs/lang/ja.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/ko.json
Normal file
BIN
legacy-script-engine-quickjs/lang/ko.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/pt_BR.json
Normal file
BIN
legacy-script-engine-quickjs/lang/pt_BR.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/ru.json
Normal file
BIN
legacy-script-engine-quickjs/lang/ru.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/th.json
Normal file
BIN
legacy-script-engine-quickjs/lang/th.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/tr.json
Normal file
BIN
legacy-script-engine-quickjs/lang/tr.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/vi.json
Normal file
BIN
legacy-script-engine-quickjs/lang/vi.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/zh_CN.json
Normal file
BIN
legacy-script-engine-quickjs/lang/zh_CN.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/lang/zh_TW.json
Normal file
BIN
legacy-script-engine-quickjs/lang/zh_TW.json
Normal file
Binary file not shown.
BIN
legacy-script-engine-quickjs/legacy-script-engine-quickjs.dll
Normal file
BIN
legacy-script-engine-quickjs/legacy-script-engine-quickjs.dll
Normal file
Binary file not shown.
19
legacy-script-engine-quickjs/manifest.json
Normal file
19
legacy-script-engine-quickjs/manifest.json
Normal 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
30
tooth.json
Normal 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/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user