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. ScriptAPI
  3. New ScriptApi Event

New ScriptApi Event

Scheduled Pinned Locked Moved ScriptAPI
scriptapieventtranslation
5 Posts 4 Posters 454 Views 2 Watching
  • 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 Offline
    B Offline
    BurningCoder
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • ChocoPie_ismeC Offline
      ChocoPie_ismeC Offline
      ChocoPie_isme
      Banned
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • Senk JuS Offline
        Senk JuS Offline
        Senk Ju
        Admin
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • As丶OneA Offline
          As丶OneA Offline
          As丶One
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • As丶OneA Offline
            As丶OneA Offline
            As丶One
            wrote on last edited by
            #5
            This post is deleted!
            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