playerjoin

Event is fired when a player joins the proxy server.

load_balancing:
  # The type of event.
  type: "playerjoin"
  # Used to enable and disable the event.
  # Defaults to true.
  enabled: false
  # Add commands to be run.
  commands:
  - "leaf"
  # Add servers to be sent to.
  # If more than 1 server is stated the player will
  # go to the server with the least amount of players
  servers:
  - "hub1"
  - "hub2"

Last updated