Skip to content

Latest commit

 

History

History
728 lines (462 loc) · 26.4 KB

commands.md

File metadata and controls

728 lines (462 loc) · 26.4 KB

Commands Documentation

Commands can be executed via Discord or In-Game Team Chat. To be able to run Slash Commands in Discord, you need to be part of the designated Discord Role for the bot. If no role is set for the bot then everyone should be able to use the Slash Commands by default. To be able to run In-Game Commands, you need to be in the same In-Game Team as the hoster. In-Game Commands can only be run from Team Chat, not global chat. You can also run In-Game commands from the Discord Text-Channel commands.

Discord Slash Commands

Slash Command Description
/alarm Operations on Smart Alarms.
/alias Create an alias for a command/sequence of characters.
/blacklist Blacklist a user from using the bot.
/cctv Posts CCTV codes for a monument.
/craft Display the cost to craft an item.
/credentials Set/Clear the FCM Credentials for the user account.
/decay Display the decay time of an item.
/help Display help message.
/item Get the details of an item.
/leader Give or take the leadership from/to a team member.
/map Get the currently connected server map image.
/market Operations for In-Game Vending Machines.
/players Get player/players information based on battlemetrics.
/recycle Display the output of recycling an item.
/research Display the cost to research an item.
/reset Reset Discord channels.
/role Set/Clear a specific role that will be able to see the rustplusplus category content.
/storagemonitor Operations on Storage Monitors.
/switch Operations on Smart Switches.
/upkeep Get the upkeep cost of an item.
/uptime Display uptime of the bot and server.
/voice Operations on Voice Feature.

/alarm

Operations on Smart Alarms.

Subcommand Options Description Required
edit   Edit the properties of a Smart Alarm.  
  id The ID of the Smart Alarm. True
  image Set the image that best represent the Smart Alarm. True

Discord Slash Command alarm Image

/alias

Create an alias for a command/sequence of characters.

Subcommand Options Description Required
add   Add an alias.  
  alias The alias to use. True
  value The command/sequence of characters. True
remove   Remove an alias.  
  index The index of the alias to remove. True
show   Show all registered aliases.  

Discord Slash Command alias Image

/blacklist

Blacklist a user from using the bot.

Subcommand Options Description Required
add   Add user to the blacklist.  
  discord_user The discord user. False
  steamid The steamid of the user. False
remove   Remove user from the blacklist.  
  discord_user The discord user. False
  steamid The steamid of the user. False
show   Show blacklisted users.  

Discord Slash Command blacklist Image

/cctv

Posts CCTV codes for a monument.

Subcommand Options Description Required
  monument Rust monument. True

Discord Slash Command monument Image

/craft

Display the cost to craft an item.

Subcommand Options Description Required
  name The name of the item to craft. False
  id The id of the item to craft. False
  quantity The quantity of items to craft. False

Discord Slash Command craft Image

/credentials

Add/Remove the FCM Credentials for the user account.

Subcommand Options Description Required
add   Add FCM Credentials.  
  keys_private_key Keys Private Key. True
  keys_public_key Keys Public Key. True
  keys_auth_secret Keys Auth Secret. True
  fcm_token FCM Token. True
  fcm_push_set FCM Push Set. True
  gcm_token GCM Token. True
  gcm_android_id FCM Android ID. True
  gcm_security_token GCM Security Token. True
  gcm_app_id GCM App ID. True
  steam_id Steam ID. True
  hoster Should be hoster. False
remove   Remove FCM Credentials.  
  steam_id Steam ID. False
show   Show all registered FCM Credentials.  
set_hoster   Set the hoster.  
  steam_id Steam ID. False

Discord Slash Command credentials Image

/decay

Display the decay time of an item.

Subcommand Options Description Required
  name The name of the item. False
  id The id of the item. False
  hp THe current HP of the item. False

Discord Slash Command decay Image

/help

Display help message.

Discord Slash Command help Image

/item

Get the details of an item.

Subcommand Options Description Required
  name The name of the item. False
  id The id of the item. False

Discord Slash Command item Image

/leader

Give or take the leadership from/to a team member.

Subcommand Options Description Required
  member The name of the team member. True

Discord Slash Command leader Image

/map

Get the currently connected server map image.

Subcommand Options Description Required
all   Get the map including both monument names and markers.  
clean   Get the clean map.  
monuments   Get the map including monument names.  
markers   Get the map including markers.  

Discord Slash Command map Image

/market

Operations for In-Game Vending Machines..

Subcommand Options Description Required
search   Search for an item in Vending Machines.  
  order The order type to search for (all, buy, sell). True
  name The name of the item to search for. False
  id The ID of the item to search for. False
subscribe   Subscribe to an item in Vending Machines.  
  order The order type (all, buy, sell). True
  name The name of the item to subscribe to. False
  id The ID of the item to subscribe to. False
unsubscribe   Unsubscribe to an item in Vending Machines.  
  order The order type (all, buy, sell). True
  name The name of the item to unsubscribe to. False
  id The ID of the item to unsubscribe to. False
list   Display the subscription list.  

Discord Slash Command market Image

/players

Get player/players information based on Battlemetrics. Calling the subcommand name without the name option will display all players depending on status option. By calling the subcommand playerid, you will get more specific information about a single player.

Subcommand Options Description Required
name   Search for a player on Battlemetrics based on player name.  
  status Search for players that are online/offline/any. True
  name The name of the player. False
  battlemetricsid The Battlemetrics ID of the server (default: The connected server). False
playerid   Search for a player on Battlemetrics based on player id.  
  playerid The player id of the player. True
  battlemetricsid The Battlemetrics ID of the server (default: The connected server). False

Discord Slash Command players Image Discord Slash Command players all players Image Discord Slash Command players specific user Image

/recycle

Display the output of recycling an item.

Subcommand Options Description Required
  name The name of the item to recycle. False
  id The id of the item to recycle. False
  quantity The quantity of items to recycle. False

Discord Slash Command recycle Image

/research

Display the cost to research an item.

Subcommand Options Description Required
  name The name of the item to research. False
  id The id of the item to research. False

Discord Slash Command research Image

/reset

Reset Discord channels.

Subcommand Options Description Required
discord   Reset discord channels.  
information   Reset information channel.  
servers   Reset servers channel.  
settings   Reset settings channel.  
switches   Reset switches channels.  
alarms   Reset alarms channel.  
storagemonitors   Reset storagemonitors channel.  
trackers   Reset trackers channel.  

Discord Slash Command reset Image

/role

Set/Clear a specific role that will be able to see the rustplusplus category content.

Subcommand Options Description Required
set   Set the role.  
  role The role rustplusplus channels will be visible to. True
clear   Clear the role (to allow everyone to see the rustplusplus channels).  

Discord Slash Command role Image

/storagemonitors

Operations on Storage Monitors.

Subcommand Options Description Required
edit   Edit the properties of a Storage Monitor.  
  id The ID of the Storage Monitor. True
  image Set the image that best represent the Storage Monitor. True

Discord Slash Command storagemonitor Image

/switch

Operations on Smart Switches.

Subcommand Options Description Required
edit   Edit the properties of a Smart Switch.  
  id The ID of the Smart Switch. True
  image Set the image that best represent the Smart Switch. True

Discord Slash Command switch Image

/upkeep

Get the upkeep cost of an item.

Subcommand Options Description Required
  name The name of the item. False
  id The id of the item. False

Discord Slash Command upkeep Image

/uptime

Display uptime of the bot and server.

Subcommand Options Description Required
bot   Display uptime of bot.  
server   Display uptime of server.  

Discord Slash Command uptime Image

/voice

Operations on Voice Feature.

Subcommand Options Description Required
join   Bot Joins a Voicechannel.  
leave   Bot Leaves a Voicechannel.  

Discord Slash Command uptime Image

In-Game Commands

In-Game Command Description
afk Get the currently afk players in your team.
alive Get the player with the longest time alive.
cargo Get information about CargoShip (Location, time till enters egress stage, time since last on map).
chinook Get information about Chinook 47 (Location, time since last on map).
connection/connections Get recent connection events.
craft Display the cost to craft an item.
death/deaths Get recent death events.
decay Display the decay time of an item.
events Get recent events.
heli Get information about Patrol Helicopter (Location, time since last downed, time since last on map).
large Get information about Large Oil Rig (Time till crate unlocks, time since last trigger).
leader Give/Take the Team Leadership.
marker Set custom markers anywhere on the map.
market Search for items in vending machines or subscribe/unsubscribe to items.
mute Mute the bot from the In-Game Team Chat.
note/notes Create notes about meaningful things.
offline Get the currently offline players in your team.
online Get the currently online players in your team.
player/players Get the names and playtime of the currently online players on the server (Based on Battlemetrics).
pop Get the current population of the server including queue size and max population.
prox Get the distance to the three closest teammates.
recycle Display the output of recycling an item.
research Display the cost to research an item.
send Send a message to a discord user.
small Get information about Small Oil Rig (Time till crate unlocks, time since last trigger).
steamid Get the steamid of a teammate.
team Get the names of all members in the team.
time Get the current time In-Game and time till day/night.
timer Set custom timers that will notify whenever the timer have expired.
tr Translate a text to another language.
trf Translate a text from one language to another.
tts Send a Text-To-Speech message to the Discord teamchat channel.
unmute Unmute the bot from the In-Game Team Chat.
upkeep Get the upkeep time of all connected tool cupboard monitors.
uptime Display uptime of the bot and server.
wipe Get the time since it was wiped.

afk

Get the currently afk players in your team. Definition of AFK for this command is inactivity (No change in XY-coordinate) for more than 5 minutes.
Command: !afk

In-Game Command afk Image

alive

Get the player with the longest time alive or the alive time of a teammate.
Command: !alive
Command: !alive Alle

In-Game Command alive Image

cargo

Get information about CargoShip (Location, time till enters egress stage, time since last on map).
Command: !cargo

In-Game Command cargo Image

chinook

Get information about Chinook 47 (Location, time since last on map).
Command: !chinook

In-Game Command chinook Image

connection/connections

Get recent connection events of the team or from a specific teammate.
Command: !connections
Command: !connection Alle

In-Game Command connection Image

craft ingame

Display the cost to craft an item (Quantity is optional).
Command: !craft <item-name> <quantity>
Command: !craft Assault Rifle 10
Command: !craft rocket 100

In-Game Command craft Image

death/deaths

Get recent death events of the team or from a specific teammate.
Command: !deaths
Command: !death Alle

In-Game Command death Image

decay ingame

Display the decay time of an item.
Command: !decay
Command: !decay Sheet Metal Door
Command: !decay Tug Boat 100
Command: !decay armored wall 450

In-Game Command decay Image

events

Get recent In-Game events. Available events are cargo, heli, small, large, chinook
Command: !events - Get last 5 events
Command: !events 3 - Get last 3 events
Command: !events cargo - Get last 5 events from cargo
Command: !events cargo 2 - Get last 2 events from cargo

In-Game Command events Image

heli

Get information about Patrol Helicopter (Location, time since last downed, time since last on map).
Command: !heli

In-Game Command heli Image

large

Get information about Large Oil Rig (Time till crate unlocks, time since last trigger).
Command: !large

In-Game Command large Image

leader

Give/Take the Team Leadership. Calling the leader command alone will give the caller leadership. You can also give the leadership to a team member by writing the name or part of the name after the command.
This command only works if the current leader is the person that setup the bot.

Subcommand Description Required
<team_member_name> The name or part of the name of a team member (!leader <name>). False

In-Game Command leader Image

marker

Set custom markers anywhere on the map. This command can be very useful for small stash locations. Place down a small stash, create a marker on that spot and be able to navigate back to that exact place at a later stage. To list all registered markers, run !markers.

Subcommand Description Required
add Add a custom marker (!marker add <name>). False
remove Remove a custom marker (!marker remove <id>). False
<marker_name> Calling with the name of the marker will let you navigate to that marker (!marker <name>). False

In-Game Command marker Image

market ingame

Search for items in vending machines or subscribe/unsubscribe to items.
Command: !market search sell Thompson
Command: !market sub sell m249
Command: !market sub all Scrap
Command: !market unsub sell m249
Command: !market list

Subcommand Description Required
search Search for an item in Vending Machines (!market search sell thompson). False
sub Subscribe to an item in Vending Machines (!market sub all thompson). False
unsub Unsubscribe to an item in Vending Machines (!market unsub sell thompson). False
list Display the subscription list (!market list). False

In-Game Command market Image

mute

Mute the bot from the In-Game Team Chat. This will mute everything the bot would normally say in Team Chat such as command response, event notifications, timers, Smart Device notifications.
Command: !mute

In-Game Command mute Image

note/notes

Create notes about meaningful things. To list all registered notes run !notes, all note ids will be presented as well.

Subcommand Description Required
add Add a note (!note add <text>). False
remove Remove a note (!note remove <id>). False

In-Game Command notes Image

offline

Get the currently offline players in your team.
Command: !offline

In-Game Command offline Image

online

Get the currently online players in your team.
Command: !online

In-Game Command online Image

player/players

Get the names and playtime of the currently online players on the server (Based on Battlemetrics). To get all the currently online players on the server run !players. To get the information from a certain player run !player <name or part of name>.

In-Game Command players Image In-Game Command player Image

pop

Get the current population of the server including queue size and max population.
Command: !pop

In-Game Command pop Image

prox

Get the distance to the three closest teammates. To get the three closest teammates run !prox. To get the distance to a team member run !prox <name or part of name>.

In-Game Command prox Image

recycle ingame

Display the output of recycling an item (Quantity is optional).
Command: !recycle <item-name> <quantity>
Command: !recycle Assault Rifle 10
Command: !recycle rocket 100

In-Game Command recycle Image

research ingame

Display the cost to research an item.
Command: !research <item-name>
Command: !research Assault Rifle
Command: !research rocket

In-Game Command research Image

send

Send a message to a discord user.
Command: !send Alle Hello my friend!

In-Game Command send Image

small

Get information about Small Oil Rig (Time till crate unlocks, time since last trigger).
Command: !small

In-Game Command small Image

steamid

Get the steamid of a teammate.

Subcommand Description Required
<team_member_name> The name or part of the name of a team member (!steamid <name>). False

In-Game Command steamid Image

team

Get the names of all members in the team.
Command: !team

In-Game Command team Image

time

Get the current time In-Game and time till day/night.
Command: !time

In-Game Command time Image

timer

Set custom timers that will notify whenever the timer have expired. To list all registered timers run !timers.
The argument <time> is used to set time in the format: 2h15m or 15m10s etc... (not space between d/h/m/s).

Subcommand Description Required
add Add a custom timer (!timer add <time> <text>). False
remove Remove a custom timer (!timer remove <id>). False

In-Game Command timer Image

tr

Translate a text from English to another language.
Command: !tr <language-code> <Text>

Subcommand Description Required
language Get the language code (!tr language <language>). False
<language-code> Translate the text to this language (!tr <language> <text>). False

In-Game Command get language code Image In-Game Command translateTo Image

trf

Translate a text from a language to another language.
Command: !trf <language-code-from> <language-code-to> <Text>

In-Game Command translateFrom Image

tts

Send a Text-To-Speech message to the Discord teamchat channel. To execute a Text-To-Speech command run !tts <text>.
Command: !tts <text>

In-Game Command tts Image

unmute

Unmute the bot from the In-Game Team Chat.
Command: !unmute

In-Game Command unmute Image

upkeep

Get the upkeep time of all connected tool cupboard monitors.
Command: !upkeep

In-Game Command upkeep Image

uptime ingame

Display the uptime of the bot and server.
Command: !uptime

In-Game Command uptime Image

wipe

Get the time since it was wiped.
Command: !wipe

In-Game Command wipe Image