### Install Project Dependencies Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/installation.md Install all necessary Node.js dependencies for the project using npm. ```bash npm install ``` -------------------------------- ### Get Server Player Information Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Get information about currently online players on the server, including playtime, based on Battlemetrics. You can get all players or information for a specific player by name. ```bash !players ``` ```bash !player ``` -------------------------------- ### Get Online Players Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Retrieve a list of players who are currently online in your team. ```bash !online ``` -------------------------------- ### Run the bot using Docker Compose Source: https://github.com/alexemanuelol/rustplusplus/blob/master/README.md This command starts the bot using Docker Compose. Ensure your docker-compose.yml file has the correct values for DISCORD_CLIENT_ID and DISCORD_TOKEN. ```bash $ docker-compose up -d ``` -------------------------------- ### Get Server Population Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Retrieve the current server population, including the queue size and maximum player capacity. ```bash !pop ``` -------------------------------- ### Get Offline Players Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Retrieve a list of players who are currently offline in your team. ```bash !offline ``` -------------------------------- ### Get Recent Connection Events Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Retrieves recent connection events for the team or a specific teammate. ```rustplus !connections ``` ```rustplus !connection Alle ``` -------------------------------- ### Control Smart Switch via In-Game Chat (Toggle) Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/smart_devices.md Use this command to toggle the state of a Smart Switch from the in-game teamchat. The custom command prefix is determined during setup. ```rustplusplus !sw ``` -------------------------------- ### Get Helicopter Information Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Retrieve information about the Patrol Helicopter, including its location and timing details. ```bash !heli ``` -------------------------------- ### Get CargoShip Information Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Retrieves information about the CargoShip, including its location and timing for the egress stage. ```rustplus !cargo ``` -------------------------------- ### Get Large Oil Rig Information Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Retrieve information about the Large Oil Rig, such as the time until the crate unlocks and the time since the last trigger. ```bash !large ``` -------------------------------- ### Get AFK Players Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Retrieves a list of players currently marked as AFK (inactive for over 5 minutes). ```rustplus !afk ``` -------------------------------- ### Get Recent Death Events Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Retrieves recent death events for the team or a specific teammate. ```rustplus !deaths ``` ```rustplus !death Alle ``` -------------------------------- ### Get Smart Switch Status via In-Game Chat Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/smart_devices.md Query the current status of a Smart Switch directly from the in-game teamchat. This helps in monitoring the device's state. ```rustplusplus !sw status ``` -------------------------------- ### Get Chinook 47 Information Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Retrieves information about the Chinook 47 helicopter, including its location and time since last on map. ```rustplus !chinook ``` -------------------------------- ### Get Longest Alive Player or Teammate Alive Time Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Retrieves the player with the longest alive time or the alive time of a specific teammate. ```rustplus !alive ``` ```rustplus !alive Alle ``` -------------------------------- ### Get Recent In-Game Events Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Retrieve recent in-game events. You can specify the number of events or filter by event type like cargo, heli, small, large, or chinook. ```bash !events ``` ```bash !events 3 ``` ```bash !events cargo ``` ```bash !events cargo 2 ``` -------------------------------- ### Run the bot Source: https://github.com/alexemanuelol/rustplusplus/blob/master/README.md To run the bot, execute this command from the repository root. ```bash $ npm start run ``` -------------------------------- ### Manage Notes Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Create and manage notes about important in-game information. Use 'add' to create a note with text or 'remove' to delete a note by its ID. List all notes with '!notes'. ```bash !note add ``` ```bash !note remove ``` -------------------------------- ### Clone Rustplusplus Repository Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/installation.md Clone the project repository from GitHub and navigate into the project directory. ```bash git clone https://github.com/alexemanuelol/rustplusplus.git cd rustplusplus ``` -------------------------------- ### Control Smart Switch via In-Game Chat (Turn On) Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/smart_devices.md Forcefully turn ON a Smart Switch using its custom command. This is useful for immediate activation. ```rustplusplus !sw on ``` -------------------------------- ### Update the repository (Windows) Source: https://github.com/alexemanuelol/rustplusplus/blob/master/README.md Use this command to update the repository on Windows. ```bash $ update.bat ``` -------------------------------- ### Run the bot using Docker Source: https://github.com/alexemanuelol/rustplusplus/blob/master/README.md This command runs the bot using Docker, mounting necessary directories and setting environment variables for Discord client ID and token. Ensure you use the correct values for DISCORD_CLIENT_ID and DISCORD_TOKEN. ```bash $ docker run --rm -it -v ${pwd}/credentials:/app/credentials -v ${pwd}/instances:/app/instances -v ${pwd}/logs:/app/logs -e RPP_DISCORD_CLIENT_ID=111....1111 -e RPP_DISCORD_TOKEN=token --name rpp ghcr.io/alexemanuelol/rustplusplus ``` -------------------------------- ### Update the repository (Linux/macOS) Source: https://github.com/alexemanuelol/rustplusplus/blob/master/README.md Use this command to update the repository on Linux or macOS. ```bash $ ./update.sh ``` -------------------------------- ### Manage Map Markers Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Set custom markers on the map for navigation. Use 'add' to create a marker, 'remove' to delete one by ID, or specify a marker name to navigate to it. List all markers with '!markers'. ```bash !marker add ``` ```bash !marker remove ``` ```bash !marker ``` -------------------------------- ### Control Smart Switch via In-Game Chat (Turn On with Timer) Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/smart_devices.md Turn ON a Smart Switch and automatically turn it OFF after a specified duration. Ideal for timed operations. ```rustplusplus !sw on 60s ``` -------------------------------- ### In-Game Market Operations Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Search for items in vending machines or subscribe/unsubscribe to item alerts. Use 'search', 'sub', 'unsub', or 'list' subcommands. ```bash !market search sell Thompson ``` ```bash !market sub sell m249 ``` ```bash !market sub all Scrap ``` ```bash !market unsub sell m249 ``` ```bash !market list ``` -------------------------------- ### Check Item Decay Time Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Display the decay time of an item. You can specify the item name and optionally a quantity. ```bash !decay ``` ```bash !decay Sheet Metal Door ``` ```bash !decay Tug Boat 100 ``` ```bash !decay armored wall 450 ``` -------------------------------- ### Display Crafting Cost Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Displays the resource cost required to craft a specified item. Quantity is optional. ```rustplus !craft ``` ```rustplus !craft Assault Rifle 10 ``` ```rustplus !craft rocket 100 ``` -------------------------------- ### Control Smart Switch via In-Game Chat (Toggle with Timer) Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/smart_devices.md Toggle a Smart Switch and automatically revert its state after a specified duration. Useful for temporary activations. ```rustplusplus !sw 60s ``` -------------------------------- ### Control Smart Switch via In-Game Chat (Turn Off) Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/smart_devices.md Forcefully turn OFF a Smart Switch using its custom command. This is useful for immediate deactivation. ```rustplusplus !sw off ``` -------------------------------- ### Control Smart Switch via In-Game Chat (Turn Off with Timer) Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/smart_devices.md Turn OFF a Smart Switch and automatically turn it ON after a specified duration. Useful for timed deactivations followed by reactivation. ```rustplusplus !sw off 60s ``` -------------------------------- ### Manage Team Leadership Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Give or take team leadership. Calling the command alone grants leadership to the caller. You can also assign leadership to a specific team member by name. ```bash !leader ``` -------------------------------- ### Mute Bot in Team Chat Source: https://github.com/alexemanuelol/rustplusplus/blob/master/docs/commands.md Mute the bot from sending messages in the In-Game Team Chat. This affects command responses, event notifications, timers, and Smart Device notifications. ```bash !mute ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.