Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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 1.4k 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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            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