Event method for lighting fireworks?

  • English

2019-04-16: A new hotfix (0.9.5.7) is now available!

  • Event method for lighting fireworks?

    Hi all, and seasons greetings!

    I am trying to determine when a firework is lit, I have tried PlayerObjectInteraction, PlayerChangeObjectStatusEvent, and PlayerObjectEvent, but none seem to be called when a firework is lit. Looking through the API I do not see anything obvious to use?

    Any help would be greatly received 8o
    Medieval Realms - connect to server via server.medievalrealms.co.uk
    Medieval Realms Website
  • Sorry for the late response =O Unfortunately there is currently no method to light fireworks... it would be possible via Reflection basically, but that's quite tricky, especially due to the obfuscation of the game code...
    The next update will introduce a method to create a firework, and maybe we will also add some functions to give more and easier control over the game server via Reflection.