Skip to Content
Game plugins

Rust

The FluteRustConnect plugin for Oxide/uMod and Carbon: install, link to the site, items and blueprints, groups, bans, wipes, reports and the in-game menu.

Your Rust server is integrated with the site through the GameLink plugin, which keeps the server and the site in sync. The site delivers purchased items and blueprints, gives Oxide or Carbon groups, bans players and hears about wipes.

PlatformArchiveSetup commandSite module
Oxide/uMod, Carbonflute-rust-oxide-<VERSION>.zipflute.setup <site url> <token>RustKit

Releases are on GitHub. The server page in the admin also offers the latest build with a "Download" button.

What you get

The plugin tells the site who is online and in which groups, plus the map, seed, world size, wipe date, FPS, entity count and join queue. The site answers with commands: give an item, a group or money, ban, message a player. Each command runs once, even after a restart.

In the gameWhat the site needs
linking Steam to an account, sign-in link, balance, menu, online playersthe engine alone
bans and chat blocksthe Sentinel module
player statisticsthe Stats module
/report reportsthe Reports module
groups and privilegesthe GiveCore module
wipesthe Wipes module
online players on the monitoring pagethe Monitoring module
items and blueprints in the shop and rewardsthe RustKit module and a module built on Rewards (Shop, cases, rewards)

Requirements

Oxide/uMod or Carbon. The plugin is a single .cs file with no dependencies, and the server needs no open ports. It compiles against Oxide 2.0.7900 and Carbon 2.0.264. For money the server needs Economics or Server Rewards; everything else works without them.

Install

Download flute-rust-oxide-<VERSION>.zip, take FluteRustConnect.cs out of it and put it in the plugins folder. Oxide and Carbon compile it themselves on load.

oxide/
├── plugins/FluteRustConnect.cs
├── config/FluteRustConnect.json        written on the first load
└── lang/en/FluteRustConnect.json       player messages, also ru and uk

After loading, the console shows Not connected to a site yet. Run in the server console: flute.setup <site url> <server token>.

Issue a token

Open AdminServers, then your server and its "Plugins" tab. Click "Issue token" and copy the command from the window. The step is covered in detail in connecting a server.

Run the command in the server console

flute.setup https://<YOUR_DOMAIN> <SERVER_TOKEN>

The command works only in the server console. In game chat, even for an admin, it answers flute.setup runs only in the server console.

The plugin answers Saved. Connecting to …, then Connected to https://<YOUR_DOMAIN> (server #N). On the "Plugins" tab the status turns to "Connected", and "What the plugin reports" shows the FluteRustConnect version, the players, TPS and the supported actions.

flute.status shows the address, the last sync, the last error and the queue at any time.

The token is kept in FluteRustConnect.json and never printed, but the console and RCON log the command you typed. If other people read that log, put the address and token into the config and reload the plugin. You can also keep them out of files: set FLUTE_SITE_URL and FLUTE_SERVER_TOKEN for the server process. They win over the config, and flute.setup is refused while they are set.

Account linking

The site knows a player by their SteamID64. NPCs and bots never reach the site.

The player gets a code on the site in "Profile → Settings → Linked accounts", with the "Get code" button. In game they type /link CODE and confirm the link on the site. Then /balance and /login work. The one-time sign-in link is given only when "Allow signing in from the game" is on in the server's link settings. The game cannot open a browser, so the link arrives in chat, in the F1 console and in a field it can be copied from.

What each feature does

Items and blueprints

Item delivery comes with the RustKit module. The plugin puts any amount of an item into the inventory, splits it into stacks, sets a skin and a custom name, or teaches the blueprint. A delivery either goes through whole or waits: with no room the player sees "No room for your delivery: free N more inventory slot(s). It will arrive by itself once there is room." With "Drop at the feet" the rest lands next to the player.

While the player is offline, asleep, dead or wounded, the delivery waits. One delivery is at most 100 stacks. Kits are not a separate action: build the product from several items, or send your kit plugin's console command.

Groups and privileges

Needs the GiveCore module. The plugin sets Oxide or Carbon permission groups. A group with an end date is removed on time, even while the site is down. The group must exist first:

oxide.group add vip

On Carbon it is c.group add vip. The plugin sends its list of groups to the site. The site cannot give groups listed in Groups the site may never grant (admin by default) or any group holding oxide.* or *.admin permissions.

Money

Money goes through Economics or Server Rewards, whichever is loaded. On the site this is the "Server credits" reward; its "Plugin currency" field picks the plugin by the config key: empty or economics goes to Economics, rp to Server Rewards. Server Rewards takes whole amounts only.

Bans and mutes

Needs the Sentinel module. A ban from the site goes into the game's own ban list, with a duration and the moderator's name in the note. A chat block is the game's mute and needs the player on the server. Rust gives plugins no voice mute, so that action is answered unsupported_action. Bans issued on the server are sent to the site, but without the admin's name.

Statistics

Needs the Stats module. Player deaths go out with the killer, the weapon and headshots. Everything else is counted in memory and sent once a minute as player.stats.

CounterWhat it counts
animals, npcs, sleepersanimals, NPCs and sleeping players killed
helis, apcs, barrelshelicopters shot down, Bradleys destroyed, barrels broken
built, crafted, gatheredblocks and deployables placed, items crafted, resources gathered
shots, hitsshots fired and hits on players, NPCs and animals
suicidesthe kill command and deaths by the player's own hand

While the site is down the counters wait in memory. Switch off with Report player deaths and Report player statistics in the config.

Wipes

Needs the Wipes module. When the server starts on a new save, the plugin sends a wipe event with the map, seed and world size. If a wipe is planned for this server around that time, Wipes confirms it. Otherwise it records an unplanned wipe for you to check. The last wipe date also comes with every sync.

Reports

Needs the Reports module. /report opens a window where the player picks another player and a reason. /report name jumps straight to the reasons when part of the name matches one player. The site gets the map and the target's chat lines from the last 5 minutes.

In-game menu

/flute opens the site menu, /settings opens its settings directly. The menu is built on the site in AdminServersIn-game menu (In-game menu). In Rust it is text only: pages, buttons with prices, switches, confirmations and links, with no images or QR codes.

Commands and permissions

CommandWhoWhat it does
flute.setup <url> <token>server consolesaves the address and token and connects
flute.statusconsole, server adminlink state, queue, supported actions
/link CODEplayerlinks Steam to the site account
/loginplayerone-time sign-in link
/balanceplayersite balance
/flute, /settingsplayersite menu and its settings
/report [name]playerreports a player

Player commands also work in the F1 console (report), and with ! only once ! is added to Commands.ChatPrefix in oxide.config.json. Command names change in the config.

Config

oxide/config/FluteRustConnect.json (carbon/configs/ on Carbon). Reload the plugin after editing it.

oxide/config/FluteRustConnect.json
{
  "Site URL": "https://<YOUR_DOMAIN>",
  "Server token": "<SERVER_TOKEN>",
  "Allow raw console commands from the site": false,
  "Groups the site may never grant": ["admin"]
}
KeyDefaultWhat it changes
Site URL, Server token""site address and server token
Allow an http:// site URLfalseallow http://, only for a site on the same machine or network
Allow raw console commands from the sitefalselet the site run console commands. Without it only typed actions work
Console commands the site may never runquit, restart, rcon., ownerid, moderatorid, removeowner, removemoderatorblocked commands. A rule ending in a dot covers a whole group. The built-in list (exec, bind, alias, loading and granting through Oxide and Carbon) cannot be removed
Groups the site may never grantadmingroups the site will not give
Link command, Login command, Menu command, Settings command, Balance commandlink, login, flute, settings, balanceplayer command names
Player reports, Report commandtrue, reportthe report command and its name
Report reasons (code → label by language)cheat, aim, abuse, grief, otherreport reasons: the code goes to the site, the label shows in the player's language
Seconds between two reports on the same player300pause between reports on the same player
Reports one player may send per window, Report window, seconds3, 600reports one player may send per window
Chat lines of the reported player sent with a report (0-10)10how many of the target's chat lines go with a report
Economy plugin by currency (empty key = no currency named)"" and economics → Economics, rp → ServerRewardswhich money plugin takes which currency
Report player deathstruesend player deaths
Report player statisticstruesend player.stats

Troubleshooting

For any other message, use the error lookup.

the group '…' does not exist

The site gives a group the server does not have. Create it: oxide.group add <group> on Oxide or c.group add <group> on Carbon.

Message in the console or flute.statusWhat to do
Not connected to a site yetrun flute.setup with the address and token in the server console
The token must start with flute_srv_copy the token again from the window on the "Plugins" tab
http:// is refuseduse an https:// address. For a site on the same machine turn on Allow an http:// site URL
the site did not accept the keythe token was reset or revoked. Issue a new one and run flute.setup again
the signature was rejectedthe server clock is more than 60 seconds off the site's. Turn on NTP
the site did not sign its answer, the answer's signature is wrongsomething other than the site answered (a proxy on the way), the token differs, or the site needs updating. The plugin ran nothing
FLUTE_SERVER_TOKEN is set but FLUTE_SITE_URL is notset both variables, or neither
The config file is not valid JSONthe config has an error and the plugin runs on defaults. Fix the JSON

If a purchase did not reach the player, open AdminServersSent to servers (Sent to servers): it shows the reason, such as "The player is not on the server".

More

On this page