New ScriptApi Event
-
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:
if there is already a way to use that event with the script api please tell me, otherwise i think this should be added
-
what do u mean?
if you want to detect chat messages, you can use S02PacketChat -
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.
-