Medical System

(2)

Give your medics nicer tasks or use it for pvp. Its your choice!

Features

The Medical System allows your medic to revive dead players.

It works with a custom ui and items wich will create a nice feeling.

The workshop mod can be found here and here.

A video can be found here.

Join the discord to stay informed about updates and planed features.

Configuration

Reviving:

reviveRadius defines the max radius a medic can be away to revive a player.

reviveTimeSec defines how long a medic needs to revive a player.

reviveHealth defines how much health will be added to a player when he got revived.

revivePermission defines the permission a medic needs to revive a person (default: medicalsystem.revive).

fillRadiationAfterRevive defines if the radiation should be refilled after revive.

Defibrillator:

defibrillatorID defines the ID of the defibrillator (default: 9800).

defibrillatorChargeID defines the ID of the charge effect (default: 9801)

defibrillatorZapID defines the ID of the zap effect (default: 9802)

defReviveTimeSec defines how long a medic needs to revive a player with a defibrillator.

defReviveHeath defines how much health will be added to a player when he got revived with a defibrillator.

defRevivePermission defines the permission a medic needs to revive a person with a defibrillator (default: medicalsystem.defrevive).

fillRadiationAfterDefRevive defines if the radiation should be refilled after revive with a defibrillator.

Drag:

dragDownedPermission defines the permission needed to drag downed players (default: medicalsystem.drag). useAlternativeDrag defines if the alternative drag option should be used (incase the normal mode doesnt on your server).

Medbag:

useMedbag defines if the medbag feature is enabled or not (requires mysql).

useXmlInsteadOfMySql defines if the medbag feature uses xml instead of MySql so you dont need a MySql Database.

medbagID defines the id used for the medbag storage (default: 9805).

medbagPermission defines the permission needed to use the medbag feature (default: medicalsystem.medbag).

medbagSizeX defines the width of the storage.

medbagSizeY defines the height of the storage.

medbagDatabaseAddress defines the mysql address.

medbagDatabaseUsername defines the mysql username.

medbagDatabasePassword defines the mysql password.

medbagDatabaseName defines the mysql database name.

medbagDatabaseTableName defines the mysql table name.

medbagDatabasePort defines the mysql port

medbagWhitelistedItems is a list of itemIDs that are allowed for the medbag (if the list is empty all items are allowed).

You can define it like this:

<medbagWhitelistedItems>
    <itemID>9800</itemID>
    <itemID>15</itemID>
    <itemID>394</itemID>
    <itemID>95</itemID>
    <itemID>403</itemID>
    <itemID>269</itemID>
  </medbagWhitelistedItems>

Downed:

deathTimeSec defines how long a player can be "dead" before he gets completely killed and can respawn (when committing suicide you can respawn instantly).

deadUIID defines wich ui should be used for the dead player (9770 is with suicide button and 9772 without).

downedMovementSpeed defines how fast a downed player can move (if set to 0 he cant move).

Misc:

explosionInstaKill defines if explosion directly kill a person.

notifyKiller defines if the killer and the downed player should be notified when downed / killed.

groupRevive defines if players in the same group can revive.

breakLegsAfterRevive defines if the legs of the downed player will be broken when he gets revived.

killDownedOnLogout defines if a player should be killed when he logs out.

disableCraftingWhileDowned defines if crafting is disabled while downed.

dropItemsWhenDowned defines if all items get dropped when downed.

Pay:

useUconomyPayForRevive defines if the player who revived gets paid with uconomy currency (requires Uconomy).

useExpPayForRevive defines if the player who revived gets paid with exp.

shouldDeadPlayerPay defines if the player who got revived has to pay.

payPerRevive defines how much should be paid when revived.

PvP:

canKillDowned defines if you can kill a downed player.

downedHealth defines the health a downed player has.

downedResistenceSec defines how long a player is resistent from getting finished after hes downed (should be 1 or bigger).

AdvancedZonesSupport:

useAdvancedZonesSupport defines if you want to use the AdvancedZones support.

Other:

blockedPermissionsWhileDowned is a list of permissions wich will be blocked for downed players.

ignoreKillWeaponIDs is a list of IDs wich will directly kill a player.

deathTimeMultiplier can be used to decrease / increase the deathTime based on the part of the body wich got hit.

You can define it like this:

<deathTimeMultiplier>
  <skull>1</skull>
  <spine>1</spine>
  <left_arm>1</left_arm>
  <right_arm>1</right_arm>
  <left_hand>1</left_hand>
  <right_hand>1</right_hand>
  <left_back>1</left_back>
  <right_back>1</right_back>
  <left_front>1</left_front>
  <right_front>1</right_front>
  <left_leg>1</left_leg>
  <right_leg>1</right_leg>
  <left_foot>1</left_foot>
  <right_foot>1</right_foot>
 </deathTimeMultiplier>

Usage

When you got "killed" you can use the command /medic or /112(permission**"medicalsystem.call"** is needed) (if you want another command to be added to it contact me) to call a medic to their location.

They medics with the revive permissions will be notified and a marker with the location will be added on their map.

A medic or group member (if enabled) can revive a player by using the surrender pose.

A medic can use a defibrillator to revivefaster (can be configured in the config).

A downed player can be draggedby using crouch and surrender.

AdvancedZones:

Add the flag "noDowned" to your zone with

/zone add flag MyZone noDowned

to disable being downed in this zone.

Contact

You want a custom plugin, have questions on the product or report a bug? Feel free to contact me ;)

Discord Server

Game4Freak#9591 on Discord

Game4Freak on Steam []: []: []: []: []: []: []: []: []: []: []: []: []: []: []:

Changelog (v1.3.6)

Fixed bug caused by unturned update

User Reviews

10/10 Epic Plugin! - Dec 4, 2019

Works amazing, helps everyone have more fun, and PVP is wayyyy better.

Also medics have much better jobs.

Comer

Store: Game4Freak Plugins

Price: $15



Supported payment methods: PayPal

All future updates (bug fixes, new features, etc.) are included in the price.