Skip to content

a2Labs-cc/SW2-Medic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[SwiftlyS2] Medic


Made by aga

Overview

Medic allows players to heal themselves by using chat/console commands.

  • Supports aliases: medic, medkit, doctor
  • Can enforce usage limits, minimum health threshold, permissions, and money cost

Support

Need help or have questions? Join our Discord server:

Discord

Download Shortcuts

  • 📦  Download Latest Plugin VersionClick Here
  • ⚙️  Download Latest SwiftlyS2 VersionClick Here

Installation

  1. Download/build the plugin (publish output lands in build/publish/Medic/).
  2. Copy the published plugin folder to your server:
.../game/csgo/addons/swiftlys2/plugins/Medic/
  1. Ensure the resources/ folder (translations, gamedata) is alongside the DLL.
  2. Start/restart the server.

Configuration

The plugin uses SwiftlyS2's JSON config system.

  • File name: config.jsonc
  • Section: Medic

On first run the config is created automatically.

Key Configuration Options

  • Commands: Command aliases that trigger the medic heal.
    • Default: "medic", "medkit", "doctor"
  • AccessFlag: Permission required to use the command.
    • "" (empty): everyone can use
    • "vip" (example): only players with that permission can use
  • MinHealth: Only allow healing if player's HP is <= MinHealth
  • HealHealth: Amount of HP to restore (clamped to max HP)
  • Cost: Money cost per heal (0 disables)
  • MaxUse: Uses per round
  • ShowCall: Announces to chat when someone uses medic
  • HealSuccessSound: Sound event name played on success
  • HealFailureSound: Sound event name played on failure

Building

dotnet build

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages