This 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.3.1",
"Supply Signals": [
{
"Item Name": "",
"Skin Id": 0,
"Should Explode": false,
"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"
}
]
}
]
}
Item 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.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.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.
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.