Kotlin LiquidBounce Next-Gen bb70b56 支持JavaScript吗?
-
路径:Liquidbounce_1.18.1.minecraft\LiquidBounce\scripts
我按照 https://liquidbounce.net/docs/ScriptAPI 编写的 Javascript 脚本==English==
Kotlin Version LiquidBounce Next-Gen (Minecraft 1.18.1) github bb70b56 whether or not supported JavaScript File?
.minecraft\LiquidBounce\scripts***.js/// api_version=2 var script = registerScript( { name: "AutoLake", version: "1.0.0", authors: ["none"] } ); script.registerModule( { name: 'AutoLake', category: 'Fun', description: 'Strong Spammer' }, function (module) { module.on( 'enable', function () { Chat.print('AutoLake模块启动'); } ); module.on( 'disable', function () { Chat.print('AutoLake模块关闭'); } ); module.on( 'update', function () { Chat.print('AutoLake模块更改?'); } ); } );
/// api_version=2 var script = registerScript({ name: "MyScript", version: "1.0.0", authors: ["My Name"] }); script.registerModule({ name: "MyModule", category: "Misc", description: "An example module created with LiquidBounce's script API." }, function (module) { module.on("enable", function() { Chat.print("Module enabled"); }); });
还有这个人做的脚本,和以上我编的/官方教程编好的,都不能用 https://forums.ccbluex.net/topic/1849/杰哥不要自动刷屏
当我使用Liquidbounce 1.8.9 时,就可以使用
-
@extractedgold LB Nextgen doesn't support scripts for now
-
@ali-ccfakex-0 Thank you very much.
-
@extractedgold And the script support will be released in the future, but will not support old 1.8.9 scripts