This Rust plugin lets you run commands whenever a supply signal is thrown. Each supply signal skin can have its own unique set of commands, making every supply signal special.
Configuration
JSON:
{
"Version": "1.4.1",
"Supply Signals": [
{
"Supply Signal Display Name": "",
"Supply Signal Skin Id": 0,
"Should Explode": false,
"Cooldown Seconds": 60,
"Run Random Command": false,
"Commands To Run": [
{
"Type": "Chat",
"Command": "Hello, my name is {PlayerName} and you can find me in grid {Grid}."
},
{
"Type": "Client",
"Command": "heli.calltome"
},
{
"Type": "Server",
"Command": "inventory.giveto {PlayerId} scrap 50"
}
],
"Global Message (Sent to Everyone)": "",
"Personal Message (Sent to Thrower)": "You triggered a special supply signal, {PlayerName}!"
}
]
}
Supply Signal Display Name- Specifies the display name of the supply signal as seen in the item info popup, not the item short name. The item short name is alwayssupply.signal, but the display name can be customized. The commands will only execute if the supply signal has the specified display name.Supply Signal Skin Id- Customize this to a specific skin id to make the commands run exclusively for supply signals with that unique skin.Should Explode- Determines if the supply signal should call in an airdrop in addition to executing the commands.Cooldown Seconds- The number of seconds each player must wait afterusing this particular supply signal config before it can trigger commands again. If 0 (or negative), there is no cooldown for that signal.Run Random Command- If set to true, only one command from the list will be chosen and run at random. If false, all commands will run.Commands To Run- A list of commands that will be executed when the supply signal is thrown.Type- The type of command to execute.Chat- Sends the command as a chat message.Server- Executes the command on the server.Client- Runs the command directly on the player's client.
Command- The command string to be executed, which can include placeholders such as{playerName},{playerId}, etc.
Global Message- A broadcast message shown to all players once the signal's commands have run.- You can leave this empty if you don't want a global broadcast.
- Supports placeholders like
{PlayerName},{Grid},{PositionX}, etc.
Personal Message- A private message shown only to the player who threw the supply signal, after its commands run.- You can leave this empty to skip sending a personal message.
- Also supports the same placeholders.
Command Placeholders
You can use the following placeholders in your commands:{PlayerId}- The player's id.{PlayerName}- The player's name.{PositionX},{PositionY},{PositionZ}- The player's coordinates.{Grid}- The player's grid location.
Localization
JSON:
{
"OnCooldown": "You must wait {0} before the commands on this supply signal can be triggered again!"
}
