This is the most up to date stable release!

Release Notes

  • Fix onListen callbacks.
  • Fixes getting the room's state
  • Prevent crashes when getting invalid variable paths

Thanks a lot, @ProGM! github.com/gamestdio/colyseus-construct3/pull/2

ACES

A list of all Actions, Conditions and Expressions supported in this addon.

Client

  • Actions

    Connect

    Open connection with server

    Disconnect

    Close connection with server

  • Conditions

    On open

    Triggered when connection with server is opened.

    On error

    Triggered when an error happened on the server.

    On close

    Triggered when connection with server is closed.

Room

  • Actions

    Join room "{0}" with options {1}, {...}.

    Join a room by name

    Send message {0} to room.

    Send message to a room

    Leave from the room

    Disconnect client from the room.

  • Conditions

    On join

    Triggered when joined successfully into a room.

    On leave

    Triggered when left from a room.

    On error

    Triggered when an error happened on the server.

    On message ({0})

    Triggered when the room broadcasts a message, or sends a message directly to this client.

    On state change

    Triggered when the state of the room changes.

    Listen for {0} ({1} operations)

    Triggered when a variable at the selected path changes.

  • Expressions

    Path

    A variable present in the path you're listening to.

    Value

    The value you're listening to. (Only avaliable during Listen)

    ValueAt

    The nested value you're listening to. (Only avaliable during Listen)

    State

    Returns a value from room's state

    SessionId

    Unique sessionId of the current user

Share

Twitter The author of this plugin gamestdio is on Patreon. If you like their addons, consider supporting them!

Download

0.9.4 Stable (36 KB)

Info

Owners