Jump to content

Documentation?

Pending 2.2.6

USTECH
  • in Kits
USTECH

Posted

Is there any documentation on how to use this or examples of all the fields? 

I am using Warmode PVE/PVP plugin and would like to add a Kit for Flag Change which will change the players Flag from PVE to PVP or PVP to PVE with the command. 

Things I'm wondering can a admin command be run in a kit?  How would I run the command ? 

Warmode Commands

/flag

Allows players to switch between PvE and PvP

Requires the warmode.flag permission

You can change this command in the config (I thought if I cant run an admin command I will change this command name to something someone wouldn't guess) 

 

/warmode.setpayer <player> <pve|pvp>

Manually sets the mode of the given player

Requires warmode.admin permission

Mevent

Posted

Hi! Yes, you can run commands through kits! 👋

For your Warmode Flag Kit:

In your kit configuration (oxide/data/Kits.json😞

  "Use commands on receiving?": true,
  "Commands on receiving (via '|')": "flag %steamid%"

 

Key Points:

  • "Use commands on receiving?": true - Enables commands
  • %steamid% - Gets replaced with player's Steam ID
  • Multiple commands: separate with | like "command1|command2"
  • Commands run as the server (not a player)
  • Like 1
1.8m

Downloads

Total number of downloads.

8.4k

Customers

Total customers served.

126.6k

Files Sold

Total number of files sold.

2.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.