Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. Chinese
  3. Kotlin LiquidBounce Next-Gen bb70b56 支持JavaScript吗?

Kotlin LiquidBounce Next-Gen bb70b56 支持JavaScript吗?

Scheduled Pinned Locked Moved Chinese
5 Posts 3 Posters 524 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    路径: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 时,就可以使用

    Ali00035A 1 Reply Last reply
    0
    • ? A Former User

      路径: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 时,就可以使用

      Ali00035A Offline
      Ali00035A Offline
      Ali00035
      wrote on last edited by Ali00035
      #2

      @extractedgold LB Nextgen doesn't support scripts for now

      ? 1 Reply Last reply
      0
      • Ali00035A Ali00035

        @extractedgold LB Nextgen doesn't support scripts for now

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @ali-ccfakex-0 Thank you very much.

        Ali00035A 1 Reply Last reply
        0
        • ? A Former User

          @ali-ccfakex-0 Thank you very much.

          Ali00035A Offline
          Ali00035A Offline
          Ali00035
          wrote on last edited by Ali00035
          #4

          @extractedgold And the script support will be released in the future, but will not support old 1.8.9 scripts

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            This is not how scripts should be made in LiquidBounce Nextgen.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            About
            • Terms of Service
            • Privacy Policy
            • Status
            • Contact Us
            Downloads
            • Releases
            • Source code
            • License
            Docs
            • Tutorials
            • CustomHUD
            • AutoSettings
            • ScriptAPI
            Community
            • Forum
            • Guilded
            • YouTube
            • Twitter
            • D.Tube
            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups