Skip to content

kolibrzyk/GiftDrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Drop After Kill Plugin (CS2 - CounterStrikeSharp)

A Counter-Strike 2 plugin for CounterStrikeSharp that gives players a chance to receive random rewards after getting a kill.
Each kill has a configurable chance to drop a reward, and the reward is selected randomly from a predefined list.


✨ Features

  • Random chance of receiving a reward after each kill.
  • Rewards are picked randomly from a list.
  • Fully configurable via config.json.
  • Built-in rewards (examples):
    • πŸ’° Extra cash
    • ❀️ Heal HP
    • πŸ›‘ Kevlar + Armor
    • πŸ’£ Random Grenades
    • πŸƒ Increased Speed
    • πŸŒ€ Bunnyhop
    • ⭐ Temporary VIP (from 5 minutes up to 24 hours – random duration)
    • 🎟 Credits for store/shop system
    • πŸ“ˆ Level / XP for rankup system

βš™οΈ Installation

  1. Download/clone the repository or copy DropAfterKillPlugin.cs into your plugin project:
  2. Compile your project with .NET 8.0 and CounterStrikeSharp.API.
  3. Place the built .dll into your CS2 server’s plugin folder:
  4. Restart the server or change the map.

πŸ”§ Configuration

Example config.json:

{
"DropChancePercent": 30,
"Rewards": [
 { "Type": "Cash", "Amount": 1000 },
 { "Type": "HP", "Amount": 50 },
 { "Type": "Armor", "Kevlar": true, "Helmet": true },
 { "Type": "Grenade", "List": ["weapon_hegrenade", "weapon_flashbang", "weapon_smokegrenade", "weapon_molotov"] },
 { "Type": "Speed", "Multiplier": 1.2, "Duration": 30 },
 { "Type": "Bhop", "Duration": 60 },
 { "Type": "VIP", "MinMinutes": 5, "MaxMinutes": 1440 },
 { "Type": "Credits", "Amount": 50 },
 { "Type": "XP", "Amount": 100 }
]
}
DropChancePercent β†’ % chance of a drop after each kill.

Rewards β†’ List of rewards, one is picked randomly.

VIP β†’ Random time between MinMinutes and MaxMinutes (5 min – 24 h).

Credits β†’ Gives credits to shop/store plugin (if installed).

XP β†’ Adds XP for rank/level system.

[Drop System] You received: VIP for 2 hours!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages