Commands
- oxmin.giveflag "player name" "flag"
- oxmin.takeflag "player name" "flag"
Note: Player names with spaces MUST be enclosed in quotations.
So now we know the basic commands lets go through the flags you can give your admins.
Flags
- all
Automatically grants all flags (apart from banned), but it counts as a single flag. - banned
Prevents a player from joining the server, and is given to them when they are /ban'd. - canban
Allows player to use the /ban command to ban players. - cancallairdrop
Allows player to use the /airdrop command to call an airdrop. - cangive
Allows player to use the /give command to give items to self. - cangod
Allows player to use the /god command to enable/disable godmode on self. - cankick
Allows player to use the /kick command to kick players from the server. - canlua
Allows player to execute Lua directly from their console. - canteleport
Allows player to use the /tp command to teleport to players or teleport them to their current location. - godmode
Prevents a player from receiving any hurt/damage, and is given to them when they are in /godmode. - reserved
Oxide reserves 5 player slots by default, this is editable in the config file - give players the "reserved" flag so they can use them.
1. Log into your steam and your rcon.
2. Go into console (F1) and type : oxmin.giveflag "BobJoE" "all" (remeber CaSe Senstive) Bob should now have all flags!
Lets say you only wanted togive BobJoE the ability to ban, kick, god and teleport to players, you would then type in the following:
- oxmin.giveflag "BobJoE" "canban"
- oxmin.giveflag "BobJoE" "cankick"
- oxmin.giveflag "BobJoE" "canteleport"
- oxmin.giveflag "BobJoE" "cangod"
Doing these will only allow bob the ability to do those commands.
After sorting out what flags you want to have or your admins we can go into what chat commands are used. Simply press "T" (or what ever your chat key is) and type in the following:
Chat Commands
- /kick "player name"
Requires flag "cankick"
Immediately kicks the target player - /ban "player name"
Requires flag "canban"
Immediately kicks and bans the target player permanently - /unban "player name"
Requires flag "canban"
Unbans the target player - /lua "code"
Requires flag "canlua"
Executes a line of Lua code - /god
Requires flag "cangod"
Gives the caller the "godmode" flag - /airdrop
Requires flag "cancallairdrop"
Calls an airdrop - /give "item name" "quantity"
Gives the caller the specified item - /help
Fills the caller's chat with help text (drawn from "SendHelpText" hook) - /who
Displays the number of players currently online - /tp "player name"
Requires flag "canteleport"
Teleports the caller to the target player
Notes
- Player names are case sensitive, but can be partial
- Oxmin bans are different from standard Rust bans
As a cool side note to oxmin you are able to put in some commands that will allow the server to see who joins and leaves and a welcome message for the users, to find this follow these steps:
1. Launch TCadmin.
2. Go to Configuration Files

3. Open save\oxide\data\cfg_oxmin.txt

4. Once you have opened this you will see the following code:
Config
The default configuration file generated upon server start is as follows.
Code (text):
{
"showconnectedmessage":true,
"chatname":"Oxmin",
"helptext":["Welcome to the server!","This server is powered by the Oxide Modding API for Rust.","Use /who to see how many players are online."],
"reservedslots":5,
"showdisconnectedmessage":true,
"showwelcomenotice":true,
"welcomenotice":"Welcome to the server %s! Type /help for a list of commands."
}
- showconnectedmessage - Determines whether the "Player has joined the game" message shows or not
- chatname - Determines the name of the plugin in the chat box
- helptext - Determines the text shown (in addition to the OnHelpText hook) when the /help command is executed
- reservedslots - Determines the number of reserved slots to use
- showdisconnectedmessage - Determines whether the "Player has left the game" message shows or not
- showwelcomenotice - Determines whether the welcome notice is shown to new players or not
- welcomenotice - The text to show new players in the welcome notice