Config setup: RabbitMQ

Connection section

  • Type: Should be "rabbitmq" in this case.

  • Host: Your RabbitMQ Server's host.

  • Port: Not spigot-server's port, your rabbitmq server's port. Usually, 5672.

  • Password: Your rabbitmq server's password.

  • Secure: Not used for this type.

  • Username: Your RabbitMQ username.

  • VHost: Your RabbitMQ vhost. Usually "/" or same as the username.

Servers section

Servers to send commands. If you just want to listen for new commands, you can leave this section empty.

  • Host: Your RabbitMQ Server's host to send commands.

  • Port: Not spigot-server's port, your rabbitmq server's port. Usually, 5672.

  • Password: Your rabbitmq server's password.

  • Secure: Not used for this type.

  • Username: Your RabbitMQ username.

  • VHost: Your RabbitMQ vhost. Usually "/" or same as the username.

Config template

# The name you will specify to execute commands.
# eg: /sync hub <command>
serverName: "hub" # server name, can be everything.

connection:
  type: rabbitmq
  host: "sparrow.rmq.cloudamqp.com" # LoadBalanced or not, does not matter.
  port: 5672
  password: "supersecretrabbitmqpass&!&"
  secure: true # not used for this type.

  # add these sections manually if does not exist.
  username: "xorzkvyb" # Your RabbitMQ username
  vhost: "xorzkvyb" # Your RabbitMQ vhost. Usually "/" or same as the username.

servers:
  bungee:
    host: "sparrow.rmq.cloudamqp.com"
    port: 5672
    password: "supersecretrabbitmqpass&!&"
    secure: true
    username: "xorzkvyb" # Your RabbitMQ username
    vhost: "xorzkvyb" # Your RabbitMQ virtualhost. Usually "/" or same as the username.

Last updated