Supply Signal Commands

Oxide Supply Signal Commands 1.3.1

Sign in to download
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 always supply.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.
Author
VisEntities
Downloads
38
First release
Last update

Ratings

5.00 star(s) 1 reviews

Also by VisEntities

Latest updates

  1. 1.3.1

    Fixed placeholder formatting.
  2. 1.3.0

    Added Run Random Command config option, allowing one random command from the list to be executed...
  3. 1.2.0

    Added a new config option to send a personalized message to the player when they throw a supply...

Latest reviews

if you are willing to experiment or learn a little more about commands, the possibilities are almost endless, one my favourites!
Back
Top