Navigation

    CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    New ScriptApi Event

    ScriptAPI
    scriptapi event translation
    4
    5
    106
    Loading More Posts
    • 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.
    • B
      BurningCoder last edited by

      im thinking about making a translator script for liquidbounce right now, but my main problem is that i need a way to get every text on the screen, which is why i'd like to be able to use the "TextEvent" liquidbounce has to replace all texts with their translation

      screenshot of the event i mean in in the nameprotect module:
      8e9d7dff-7e64-4515-880c-e764f56f41ca-image.png

      if there is already a way to use that event with the script api please tell me, otherwise i think this should be added

      Reply Quote 0
        1 Reply Last reply
      • ChocoPie_isme
        ChocoPie_isme Banned last edited by

        what do u mean?
        if you want to detect chat messages, you can use S02PacketChat

        Reply Quote 0
          1 Reply Last reply
        • Senk Ju
          Senk Ju Admin last edited by

          The problem is that the text event may be called many hundreds of times per frame. Our current event system uses reflections, which in itself is not very efficient. If we had to call the JavaScript event every time a string is rendered, it would be extremely bad for performance, especially since Nashorn - the JavaScript engine we use - is not very fast. Therefore we will not be able to add this event. Sorry.

          Reply Quote 0
            1 Reply Last reply
          • As丶One
            As丶One last edited by

            https://forum.ccbluex.net/thread.php?id=2576#p15071

            Reply Quote 0
              1 Reply Last reply
            • As丶One
              As丶One last edited by

              This post is deleted!
              Reply Quote 0
                1 Reply Last reply

              Powered by NodeBB | Contributors