Skip to main contentDownload
https://www.leaderos.net/plugin/rust
Source Code
https://github.com/leaderos-net/rust-leaderos-connect
Installation
- Download the
LeaderosConnect.cs file.
- Upload the
LeaderosConnect.cs file to the plugins folder in your server directory.
- Restart your Rust server to initialize the plugin.
- Configure the plugin by editing the
LeaderosConnect.json file located in the /config directory.
- Website Url: The URL of your LeaderOS website (e.g.,
https://yourwebsite.com).
- Api Key: Your LeaderOS API key. You can find this under
Dashboard > Settings > API.
- Server Token: Your server token. You can find this under
Dashboard > Store > Servers > Your Server > Server Token.
- Debug Mode: Set to
true to enable debug logs, or false to disable them.
- Check Player Online: Set to
true to verify if players are online before sending commands, or false to skip this check.
- Restart your Rust server again to apply the configuration changes.
Admin Commands
/leaderos.status - Displays the current LeaderOS connection status.
/leaderos.reconnect - Reconnects to the LeaderOS socket server.
/leaderos.debug - Toggles debug mode on or off.