Skip to content

A plugin for server admins in Counter-Strike: Global Offensive which allows creating custom votes.

License

Notifications You must be signed in to change notification settings

hiraeeth/CSGO-CustomVotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CS:GO Custom Votes (1.0.0)

You are free to modify code. This plugin is currently in use on my server; you can join and see how it performs.

Tip

Some things can be improved, such as setting DEFAULT_MAP automatically and managing cooldowns differently. But I'll let you handle those tasks! ❤️

Features

  • !awp / sm_awp - call an awp vote (restrict / unrestrict)
  • !changemap / sm_changemap - call a changemap vote (last map and the current map are removed from the cycle)
  • !resetcooldowns / sm_resetcooldowns - reset all cooldowns (generic_admin flag required)

Customization

  • You can change basic options at the beginning of the code.
  • Cooldowns are in minutes.
  • Sourcemod colors are used: View colors
#define AWP_COOLDOWN 3
#define CHANGEMAP_COOLDOWN 6
#define DEFAULT_MAP "de_mirage" 
#define PREFIX "\x0BALYXHVH \x08▪"

Requirements

  • You should install Custom Votes by KoNLiG. I've already added it to plugins/customvotes.smx. You can find the include file at scripting/include/customvotes.inc.
  • Additional components (while my logic relies on them, you have the flexibility to adjust their necessity): Weapon Restrict by Dr!fter and the default SourceMod "votemap".

About

A plugin for server admins in Counter-Strike: Global Offensive which allows creating custom votes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published