[CS:GO] Map extension by players
Posted: Fri Jan 24, 2020 5:22 pm
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" ""
}
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