Servers and RCON Connection
RCON (Remote Console) is the protocol Tirify uses to send commands to a game server. When a player purchases a product, the system issues an RCON command to the server and the player receives the item instantly.
How to connect a server
-
Admin panel → your store → Servers → "Add server"
-
Fill in:
- Server name — how it appears on the storefront
- IP address — public IP of the game server
- Game Port — the port players connect to (not RCON!)
- RCON Port — the RCON port (usually game port + 1, or a dedicated port)
- RCON Password — password from the server configuration
-
Save. The system will verify the connection.
Plugin installation
Rust servers require the TirifyRUST plugin (C# Oxide plugin).
Installation steps
- Download
TirifyRUST.csfrom the admin panel (Servers → "Download plugin") - Place it in the
oxide/plugins/folder on your server - In the plugin config, set:
ApiUrl: https://api.tirify.shopStoreId: <your store ID>RconSecret: <secret key from admin panel>
- Reload the plugin:
oxide.reload TirifyRUST
What the plugin does
- Handshake — registers the server with Tirify (IP + port)
- Receives baskets — commands for item delivery
- Reports player balance — checks the wallet
- Wipe schedule — notifies about wipes
RCON commands
You specify the RCON command in the product settings. The system substitutes {player}.
Syntax
give <item> {player} <qty>
addgroup {player} <group>
removegroup {player} <group>
Rust examples
# Give an item
give AK47 {player} 1
give ammo.rifle {player} 128
# Grant a privilege
addgroup {player} vip
addgroup {player} premium
# Give resources
give wood {player} 5000
give stones {player} 5000
Use the item's ShortName or ItemID. Reference: Rust Item List.
Plugin Secret
Plugin Secret is the key the plugin uses to sign requests to the API. It is generated in the admin panel.
- Create new — "Generate secret" button on the server page
- View — the secret is shown ONCE. Copy it and save it to the plugin config
- Rotation — you can generate a new secret. The old one stops working after 60 seconds (grace period)
Never share the Plugin Secret with third parties. It grants full access to your store's plugin API. Treat it like a password.
Server status
The server status is shown on the storefront (left rail):
| Status | Meaning |
|---|---|
ONLINE | Server is running, online count known |
OFFLINE | Server is not responding |
UNKNOWN | Status not yet determined (first launch) |
The system automatically detects and updates server status.
Target server
A product can be linked to a specific server (targetServerId):
- If set — the product is shown ONLY on that server
- If
null— shown on all servers in the store - The server filter on the storefront respects this linking
Next steps
- Orders and delivery — how delivery works
- Wipe schedule — how to configure wipes
- Statistics — store analytics