It's practically doing what the title is saying. This plugin will add chat commands to unwound you when you're wounded.
Optional if activated and the required plugin is installed players gan insert a number behind the ChatCommand (e.g. /aid 500) and if they have enough balance on their account the time they have to wait for the medic will get shortened or will get removed completely (won't remove the chance that the command can fail - see in config "Settings" "ChanceTheMedicSavesYou" while 100 ensures that the command will never fail).
To configure the shorteners with the Economics-Plugin see "EcoSettings"-Region in the config.
The definer (in standard "250" and "500") is the cost and the value behind is the time in seconds (in standard 5 and 0), you can edit, add or remove definers as you like (but keep in mind definers with values smaller than 0 will be ignored.)
If a player uses a non existent definer or does not have enough balance it will just use the time defined under "Settings" "WaitTillMedic".
However if "Settings" "ForceEconomics" is enabled in addition to "Settings" "EnableEconomics" and the player does not have enough money to pay one of the keys set under "EcoSettings", then he will just be left 4 dead (no my medics don't vow on a codex.)
Also if "Settings" "EnableEconomics" is set to true and the player writes "/aid ?" the routine will check for the most expensive way the player can pay to get him back up (only if "Settings" "WaitTillMedic" is higher than 0), the same will happen with "Settings" "ForceEconomics" enabled even if the player just writes "/aid".Also note that "Settings" "ForceEconomics" will only affect the way "/aid" works if "Settings" "EnableEconomics" is set to true.
Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.- unwound.canuse -- Allows player to use the /aid chat command
Chat Commands
- /aid -- Call for a medic and receive aid
- /aid amount -- Call for a medic and receive aid using economics currency
- /aid 10 - Uses the below config setup to take 10 currency out and takes 10 seconds to revive.
Console Commands
- unwound.recreate -- Delete the config and creates a new one with default values
- unwound.load -- If you changed the config manually, this will reload it
- unwound.set [1stKEY] [2ndKEY] [VALUE] -- Change the config values via console (config will be reloaded afterward)
Configuration
The settings and options can be configured in the Unwound file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Optional if activated and the required plugin is installed players gan insert a number behind the ChatCommand (e.g. /aid 500) and if they have enough balance on their account the time they have to wait for the medic will get shortened or will get removed completely (won't remove the chance that the command can fail - see in config "Settings" "ChanceTheMedicSavesYou" while 100 ensures that the command will never fail).
To configure the shorteners with the Economics-Plugin see "EcoSettings"-Region in the config.
The definer (in standard "250" and "500") is the cost and the value behind is the time in seconds (in standard 5 and 0), you can edit, add or remove definers as you like (but keep in mind definers with values smaller than 0 will be ignored.)
If a player uses a non existent definer or does not have enough balance it will just use the time defined under "Settings" "WaitTillMedic".
However if "Settings" "ForceEconomics" is enabled in addition to "Settings" "EnableEconomics" and the player does not have enough money to pay one of the keys set under "EcoSettings", then he will just be left 4 dead (no my medics don't vow on a codex.)
Also if "Settings" "EnableEconomics" is set to true and the player writes "/aid ?" the routine will check for the most expensive way the player can pay to get him back up (only if "Settings" "WaitTillMedic" is higher than 0), the same will happen with "Settings" "ForceEconomics" enabled even if the player just writes "/aid".Also note that "Settings" "ForceEconomics" will only affect the way "/aid" works if "Settings" "EnableEconomics" is set to true.