

Ideally the lower the ping the better the game experience you'll have, as there will be less latency and less lag. Ping is the delay for a round trip between your game client and your Multi Theft Auto (MTA:SA) server, measured in milliseconds Proceed by authorizing the bot for the guild of your choice and you're done.Why choose our Multi Theft Auto (MTA:SA) server hosting Lower pings Then continue to replace the client_id field in the URL below and navigate to that page: Navigate to your bot application on the following page and note the client id:

You (better said: the guild owner) have to authorize every bot user. This application doesn't magically add your bot(s) to your guild(s). You can start the relay with node app.js, but you should consider using pm2 to restart (the passphrase and port must be equal to the discord config.xml on your MTA:SA server). Src/ to src/config.json and edit it to fit your setup You have to run the command npm install in the srcĭirectory to download the node.js modules required by the application. The relay code needs a little preparation before you can run it. I neverīothered to keep the code compatible with older releases of node.js, which might be an issue on some distributions. The relay server connects to Discord as a bot user and starts a socket server listening for connections. On the other hand, discord-events is listening for events on the MTA:SA server to send these to the relay The resource discord is responsible for message transfer between your MTA:SA server and the Discord relay. The resources themselves require no special setup, you only have to edit the discord/config.xml to fit your setup.

The discord resource requires the socket module on your MTA:SA server. Note: The recent code update has breaking changes to your config.json, please replace server with guild, thanks. Connects MTA:SA servers and Discord channels by sending messages/commands back and forth.
