The sky presents the newest technology in calling the MEDIC

Supported Games
GameServerKingsGameServerKings

It's practically doing what the title is saying. This plugin will add chat commands to unwound you when you're wounded.

Permissions

  • 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)

If any KEY was not written correctly when running unwound.set, don't worry you will just have useless entries in your config then. :p

Configuration

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.

{
  "EcoSettings": {
    "10": 10,  < Cost 10 economics currency and is set to 10 seconds until revived >
    "100": 1  <Costs 100 economics currency and 1 = Instant revive >
  },
  "Localization": {
    "AboutToDie": "You are about to die, use /aid to call for a medic.",
    "DontTrollTheMedic": "How dare you call the medic and then don't wait for him before staying up again!",
    "MedicAlreadyCalled": "You already called for a medic, just wait for him.",
    "MedicIncompetent": "This incompetent troll of a medic is just to stupid to get you back up, we will get rid of him!",
    "MedicToLate": "Seems like your medic found some free beer on the way and won't come in time now ... I think we have to cut his salary!",
    "NotEnoughMoney": "You don't have enough money, how horrible ... You have {0} and you would need {1} so just wait the full {2} seconds for the medic.",
    "NotEnoughMoney_ForcedEco": "You don't have enough money, how horrible ... You have {0} and you would need {1}, maybe I'll come to your funeral then.",
    "NotWounded": "You're not wounded, get your extra shots somewhere else!",
    "PermissionMissing": "You have no permission to use this command, if you're wounded right now it means you're probably screwed!",
    "Survived": "The claws of death failed to claim you this time!",
    "TheMedicIsComing": "The medic is coming for you ... that means if you can survive another {0} seconds."
  },
  "Settings": {
    "CanCallMedicOncePerWounded": true,
    "ChanceTheMedicSavesYou": 100,
    "EnableCurrency": false,
    "EnableEconomics": true,
    "EnablePopups": false,
    "EnableServerRewards": false,
    "ForceCurrency": false,
    "StartHealth": 50.0,  <This sets the /aid health amount>
    "WaitTillMedic": 5
  },
  "Version": "1.0.20"
}
This plugin is unlicensed and the original author reserves all rights to it.

The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.

Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.

31.6K downloads
19 watchers

importedunmaintained