SOCKETS

This module allows servers under the control of a proxy server to exchange information via sockets.

For the module to work, you need to install Skcrew on a proxy server ( Velocity or BungeeCord ).

Velocity is the recommended choice for a proxy server. BungeeCord is supported; however, Velocity is the preferred choice.

BungeeCord is supported but it is not recommended.

To configure the proxy server:

  • For Velocity , edit the velocity.toml file and specify the port for opening the server socket.
  • For BungeeCord , edit the config.yml file and specify the port for opening the server socket.

On the back-end server, specify the address of the proxy server and the port of the open server socket.

Configuration on a proxy server

socket-server-port: 1337

Configuration on a back-end server

sockets:
  enabled: false
  server-address: "127.0.0.1"
  server-port: 1337
  client-autoreconnect-time: 5

client-autoreconnect-time - describes the time after which the game server will try to reconnect if the proxy server is disabled.

EXPRESSIONS
CONDITIONS
EFFECTS
EVENTS
SIGNALS
WEB API