Tutorial Message Handlers

Discussion in 'Starbound Modding' started by Errors4l, Apr 11, 2018.

  1. Errors4l

    Errors4l Spaceman Spiff

    I've seen a couple of people ask how to work with entity messages, so I wrote some documentation over on GitHub.

    Short description of what message handlers are:
    Message handlers allow entities to receive messages, either from the same client or a remote client (other player/server), and act upon them. This allows us to various of interesting things, such as interacting with the server through stagehand messages or changing the behaviour of monsters dynamically.

    The Wiki covers topics such as:
    • How to send an entity message.
    • How to handle the response of a message handler.
    • How to handle messages and respond.
    • How to use provided utilities such as the Promise Keeper.
    Wiki: https://github.com/Silverfeelin/Starbound-MessageHandling-Demo/wiki
    Demo project (mod): https://github.com/Silverfeelin/Starbound-MessageHandling-Demo

    Suggestions are welcome!
     
    Last edited: Apr 12, 2018
    bk3k likes this.
  2. zzzcard

    zzzcard Orbital Explorer

    Thank you!
     

Share This Page