LegacyScriptEngine
LegacyScriptEngine copied to clipboard
A plugin engine for running LLSE plugins on LeviLamina
### Describe the bug 表单 reason 始终是 null 无论玩家在暂停、聊天栏、箱子 界面,表单 reason 始终是 null ### To Reproduce 给玩家发送表单,打印reason ### Expected behavior 表单 reason 正常返回对应的值 ### Screenshots _No response_ ### Platform Win10...
### Describe the bug 运行环境:lse-nodejs v0.10.3,Levilamina v1.1.1 描述: 1. getStructure坐标不正确。 2. 命令回调中,涉及到方块的子命令,参数赋值错误 下面是测试用例: ```js function structureTest() { // 不使用AABB坐标,报错:C++ Exception: std::length_error, from : vector too long // 可能是故意设计,但文档中似乎没有强调 // 本次报告的点并不是这里,而是在下面...
### Describe the bug ```JavaScript mc.listen("onPlaceBlock", (player, block, face) => { logger.warn(block.type); }) ``` onPlaceBlock 放置任意告示牌打印的结果都是minecraft:air ### To Reproduce ```JavaScript mc.listen("onPlaceBlock", (player, block, face) => { logger.warn(block.type); }) ``` ###...
### Is your feature request related to a problem? Please describe. 希望LSE提供凋灵冲刺破坏方块和末影龙破坏方块这两个事件并且可以拦截 因为凋灵生成时产生的爆炸破坏方块和凋灵发射的炮弹产生的爆炸破坏方块都可以拦截,但是凋灵冲刺时(包括二阶段横冲直撞)所产生的直接吞方块行为以及末影龙冲撞时产生的直接吞方块行为LSE貌似没办法拦截,所以希望能加入这两个事件并且能够拦截 ### Describe the solution you'd like 希望LSE提供凋灵冲刺破坏方块和末影龙破坏方块这两个事件并且可以拦截 ### Describe alternatives you've considered 希望LSE提供凋灵冲刺破坏方块和末影龙破坏方块这两个事件并且可以拦截 ### Additional context 希望LSE提供凋灵冲刺破坏方块和末影龙破坏方块这两个事件并且可以拦截
### Describe the bug  ### To Reproduce package.json 里面有依赖库配置 ### Expected behavior lse-node 不会自动执行npm i 导致依赖库未安装报错 ### Screenshots _No response_ ### Platform _No response_ ### BDS Version _No response_...
### Is your feature request related to a problem? Please describe. 目前onChat无法完美拦截玩家的聊天事件,仍然会在控制台输出相关玩家聊天信息,且会被其他lse插件监听到,进而发生冲突,比如一些屏蔽聊天(比如屏蔽词,防刷屏)的lse插件与某些修改聊天和转发聊天信息的lse插件无法一起生效。 建议将目前的聊天事件分成两个事件,分成聊天前的事件和聊天后的事件,想要拦截的lse插件在聊天前进行拦截,可以有效避免上述情况发生。 ### Describe the solution you'd like 可以完美拦截且不和其他插件冲突 ### Describe alternatives you've considered _No response_ ### Additional context...
### Describe the bug scripting的问题,生成的模拟玩家没有gametesthelper tickchunk异常、跨纬度(假人)假死 ### To Reproduce ### Expected behavior 装有addon的存档正常生成模拟玩家 ### Screenshots    ### Platform _No response_ ### Version _No response_ ### Additional context _No...
### Describe the bug 即使在回调函数返回false, 背包也依然会打开 (使用场景是检测打开背包键) ### To Reproduce ```js mc.listen('onOpenContainerScreen', pl => { return false }) ``` 依然可以打开背包 ### Expected behavior 背包不应该打开 ### Screenshots _No response_ ### Platform...
### Describe the bug 插件在加载时,如果出现错误,不会有任何的报错,并且还会显示已加载   ### To Reproduce 创建一个js插件,往其中写入以下内容,插件仅输出a并且没有任何报错则复现完成 ```javascript logger.warn("a") throw new Error("Test"); logger.warn("b"); ``` ### Expected behavior 如果加载插件时出现错误,应该输出错误内容并停止加载 ### Screenshots _No response_ ### Platform Windows 10...
### Is your feature request related to a problem? Please describe. 当末影人拿起方块时,lse目前没有办法监听其拿到了方块 希望能加入相关事件,对其监听 ### Describe the solution you'd like 加入新事件 ### Describe alternatives you've considered _No response_ ### Additional context...