[CS:GO] Map extension by players

Post Reply
User avatar
Andreeas
Hero Member
Hero Member
Posts: 601
Joined: Wed Jan 22, 2020 8:17 pm
Jucator SA:MP ?: Nu
Nick:: Andreeas
Jucator CS ?: Nu

[CS:GO] Map extension by players

Post by Andreeas »

Map extension by players (CS:GO only)


This plugin allows players to add extra minutes to a map by typing !ext in chat. They have to earn the extra time through play time. The play time from all sessions is stored in a database. I had to modify the rtv plugin (+ extended version) to prevent other players from rtving the map afterwards. You have to use the modified versions if you want a rtv plugin on your server. HF


Database setup:
Add the following to your database.cfg (addons\sourcemod\configs\database.cfg)

Code: Select all

"player_extension"
     {
         "driver"              "sqlite"
        "host"                "localhost"
         "database"            "player_extension-sqlite"
         "user"                "root"
         "pass"                ""
     }
Server cvars:
sm_mebp_minutes - Necessary play time to receive 1 minute for a map extension
sm_mebp_max_minutes - Maximum time extension on a map
sm_mebp_disable_rtv - on/off disables rock the vote until the player map extension is expired
sm_mebp_extension_sound - on/off extension sound
sm_mebp_vip_only - on/off only vips and admins are allowed to use !ext
sm_mebp_welcome_msg - on/off welcome chat message

Download
Post Reply

Return to “General Purpose”