Skip to content

jonteohr/VIPRespawns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VIPRespawns Build Status Chat on Gitter Releases Branch

Sourcemod plugin. Allowing players with A-flag respawn x times per map!
AlliedMods

Usage

Players with the a-flag gets 3 respawns per map.
To respawn, you simply use the command !vipspawn when dead.
You can also check how many respawns you have left via !spawnsleft.
A menu available via !vip, as long as it has not been disabled in config.

Downloads

Releases
Website

Installation

Simply download the viprespawn.smx file via the link above and drag the file to /addons/sourcemod/plugins.

Then execute command in server console:
sm plugins load viprespawn

To mod the plugin you will need the colors include.

Configuration

The config-file is located in root/csgo/cfg/sourcemod/viprespawns.cfg. In there you can change some options.

This is how the config looks like:

// This file was auto-generated by SourceMod (v1.8.0.5998)
// ConVars for plugin "viprespawn.smx"

// Enable the VIP-menu called with !vip?
// (0 = Disable, 1 = Enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_enable_vip_menu "1"

// Amount of times a user is allowed to respawn per map
// -
// Default: "3"
sm_respawn_amount "3"

// How many players needs to be alive in order to respawn
// Set 0 to allow all the time.
// - 
// Default: "3"
sm_minimum_players_alive "3"

// Should the sm_minimum_players_alive only count players playing on a specific side?
// 0 = Disable. 1 = Track terrorists. 2 = Track counter-terrorists.
// -
// Default: "0"
sm_minimum_players_alive_side "0"

Translation

Want to help translate the plugin?
Create a Pull request and edit the viprespawn.phrases.txt with your language added. Or you can create a ticket with and write which language you're fluent within!

Credits

Props to B2SX for creating the base-code for respawns!
What I did was clean the code a bit and added some more end-user friendly properties.