Recommended Posts

PUG MOD

CSGO (by splewis)

UPDATE : - ATTACHED NEWLY UPDATED PLUGIN AS OF May 19, 2019 10:18:14 PM AND THE NAME OF THE FILE pugsetup-487.zip. It may contains bug as it is under development stage.

Description

This is a useful plugin for managing pug games, especially 10 mans/gathers. It allows a player to type .setup into chat and select (from a menu):

  • how to choose the teams (players do it manually, random teams, captains select teams)
  • how to choose the map (use the current map, do a map vote, veto maps)
  • The goal is to allow a lightweight, easy-to-use setup system that automates as much as possible with as few dependencies as possible. However, the goal isn't fully automated - it assumes the players know each other or there is an admin. There is no mechanism for kicking players or anything similar.
  • Part of being lightweight is doing nothing that can interfere with the server's performance. When the game is actually live, the plugin is doing extremely little work - the only thing it does is read chat commands (e.g. pausing when a captain types .pause). Otherwise, there is 0 effect on gameplay and the rounds progress the same as without sourcemod on the server.
  • The goal is to make setup easier for people, not provide a comprehensive pug platform. Please keep this and the principle of keep it simple, stupid in mind when making any suggestions.

Installation

  • Since this is a sourcemod plugin, you must have sourcemod installed.
  • Note that sourcemod also requires MetaMod:Source to be on the server.
  • Installing these simply means placing their files on the game server. Uploading them over FTP (for example, using FileZilla) is all you need to do.
  • As of the panorama update, sourcemod 1.9 (v.6241 and later) is required.
  • Download pugsetup.zip and extract the files to the game server. You can simply upload the addons and cfg directories to the server's csgo directory and be done.
  • From the download, you should have installed the following (to the csgo directory):
    • addons/sourcemod/plugins/pugsetup.smx
    • addons/sourcemod/translations/ (the entire directory)
    • addons/sourcemod/configs/pugsetup/ (the entire directory)
    • cfg/sourcemod/pugsetup (the entire directory)

Once all of these are on the server, it should just work. If you want to tweak the configs, maplists, or use the addon-plugins, read on.

Sometimes it's easier to add features in a separate plugin than the core plugin. There are a few addon (optional) plugins included in the download; all of these are in the plugins/disabled directory and they are all independent of each other. To enable one, move it from the plugins/disabled directory to the plugins directory. To read the descriptions of them (which you should do before you enable them), read the Addon Plugins section.

Configuration

After installing the plugin, start the server and check cfg/sourcemod/pugsetup. There will be a file called pugsetup.cfg that you can edit to change the cvars the plugin uses. I recommend skimming this file at least to see if there's anything you want to change. You can also modify the behavior of the setup menu: each option has a default value and a display setting. The display setting controls whether the option is displayed at all - if the display for an option is turned off the default is used. You can edit addons/sourcemod/configs/pugsetup/setupoptions.cfg to do this.

Alternatively, you can edit these options ingame. For example, to turn demo recording to be always on and remove it from the setup menu, you can type:

Hidden Content

    Give reaction to this post to see the hidden content.

This changes will save to the setupoptions config file automatically.

(A side note: when a knife round occurs the command exec sourcemod/pugsetup/knife is sent to the server - so you can edit the file cfg/sourcemod/pugsetup/knife.cfg if you wish. For example, you uncomment the last 2 lines in that file to do taser+knife rounds)

You can also add more chat alias commands in addons/sourcemod/configs/pugsetup/chataliases.cfg if you wish. If players are not comfortable with english, I'd strongly recommend adding chat aliases, since those will be read by the plugin and used in chat messages when referencing commands. Just like with setup options, you can edit these in game. For example, you could type:

Hidden Content

    Give reaction to this post to see the hidden content.

This will automatically save to the chataliases config file.

By default the plugin uses the cfg/sourcemod/pugsetup/live.cfg config when going live. You are free to change this file all you want (or change which file is used via the sm_pugsetup_live_cfg cvar). (Note: if you use knife rounds, make sure mp_give_player_c4 1 is in this file!)

Enabling GOTV

You need to enable gotv to use the demo-recording feature. Adding the following to your server.cfg will work:

Hidden Content

    Give reaction to this post to see the hidden content.

Of course, you can tweak the values.

Commands

Some commands that are important are (all of these are actually sm_ commands for console, but most people use the ! chat command):

Hidden Content

    Give reaction to this post to see the hidden content.

You can also type !ready instead of .ready, or !capt instead of .capt, etc.

Note: above are actually only chat aliases of the commands - the "true" command of .ready is the console command sm_ready. This is true for all pugsetup commands. Being able to type !ready, /ready, or .ready in chat are simply for convenience.

These are some helper commands for automation purposes the bypass requiring a player to press any menus:

Hidden Content

    Give reaction to this post to see the hidden content.

Other admin level commands are:

Hidden Content

    Give reaction to this post to see the hidden content.

The command pugstatus (which is only a console command) will dump pug match state information, including setup options, pug leader, captains, etc.

ConVars

These are put in an autogenerated file at cfg/sourcemod/pugsetup.cfg, once the plugin starts it will autogenerate that file with these cvars and values.

Hidden Content

    Give reaction to this post to see the hidden content.

Addon plugins

pugsetup_autokicker

This plugin kicks players that join when the game is already live, and players not selected by captains when using captain-player selection. It also offers admin immunity. You can tweak its behavior by editing cfg/sourcemod/pugsetup_autokicker.cfg.

pugsetup_teamnames

This plugin sets team names/flag according to the players on the team. Here's how it works

  • you run the sm_name command in console to associate a player with a team name and flag (example: sm_name splewis "splewises terrible team" "US")
  • when the game goes live, the plugin picks a name/flag randomly from the players on each team
  • when running the sm_name command, the syntax is: sm_name <player> <teamname> <teamflag>
  • note that the team flags are the 2-letter country codes
  • the team names/flags are stored using the clientprefs API, so a database for clientprefs must be set (it is by default)

pugsetup_teamlocker

This plugin blocks players from joining full teams when a game is live.

pugsetup_hostname

This plugin adds some tags to the server hostname depending on the pug status, examples: "[LIVE 11-5]" and "[NEED 3]".

pugsetup_rwsbalancer

This plugin implements a simple rws calculation scheme and adds an option to the .setup menu to use autobalanced teams. When using captains, the players with the 2 highest RWS values will be made captains. You can tweak its behavior by editing cfg/sourcemod/pugsetup_rwsbalancer.cfg.

pugsetup_chatmoney

This plugin prints out the team members' money to chat on round starts, you can tweak its behavior by editing cfg/sourcemod/pugsetup_chatmoney.cfg.

pugsetup_damageprinter

This plugin adds a .dmg command that also prints damage done/taken from players on round ends. You can disable the usage of the .dmg command with sm_pugsetup_damageprint_allow_dmg_command 0 and change the format of the messages with sm_pugsetup_damageprint_format by editing cfg/sourcemod/pugsetup_damageprint.cfg.

Download Link

Hidden Content

    Give reaction to this post to see the hidden content.

  • Like 36
  • Thanks 6
  • Confused 1
  • Sad 1

Share this post


Link to post
Share on other sites
  • Admin unfeatured this topic
  • 1 month later...
20 hours ago, Alex XMX said:

ty

anytime :)

Share this post


Link to post
Share on other sites
  • 1 month later...
  • 2 months later...
  • 2 weeks later...
  • 3 weeks later...
On 8/13/2019 at 11:03 PM, Admin said:

PUG MOD

CSGO

UPDATE : - ATTACHED NEWLY UPDATED PLUGIN AS OF May 19, 2019 10:18:14 PM AND THE NAME OF THE FILE pugsetup-487.zip. It may contains bug as it is under development stage.

Description

This is a useful plugin for managing pug games, especially 10 mans/gathers. It allows a player to type .setup into chat and select (from a menu):

  • how to choose the teams (players do it manually, random teams, captains select teams)
  • how to choose the map (use the current map, do a map vote, veto maps)
  • The goal is to allow a lightweight, easy-to-use setup system that automates as much as possible with as few dependencies as possible. However, the goal isn't fully automated - it assumes the players know each other or there is an admin. There is no mechanism for kicking players or anything similar.
  • Part of being lightweight is doing nothing that can interfere with the server's performance. When the game is actually live, the plugin is doing extremely little work - the only thing it does is read chat commands (e.g. pausing when a captain types .pause). Otherwise, there is 0 effect on gameplay and the rounds progress the same as without sourcemod on the server.
  • The goal is to make setup easier for people, not provide a comprehensive pug platform. Please keep this and the principle of keep it simple, stupid in mind when making any suggestions.

Installation

  • Since this is a sourcemod plugin, you must have sourcemod installed.
  • Note that sourcemod also requires MetaMod:Source to be on the server.
  • Installing these simply means placing their files on the game server. Uploading them over FTP (for example, using FileZilla) is all you need to do.
  • As of the panorama update, sourcemod 1.9 (v.6241 and later) is required.
  • Download pugsetup.zip and extract the files to the game server. You can simply upload the addons and cfg directories to the server's csgo directory and be done.
  • From the download, you should have installed the following (to the csgo directory):
    • addons/sourcemod/plugins/pugsetup.smx
    • addons/sourcemod/translations/ (the entire directory)
    • addons/sourcemod/configs/pugsetup/ (the entire directory)
    • cfg/sourcemod/pugsetup (the entire directory)

Once all of these are on the server, it should just work. If you want to tweak the configs, maplists, or use the addon-plugins, read on.

Sometimes it's easier to add features in a separate plugin than the core plugin. There are a few addon (optional) plugins included in the download; all of these are in the plugins/disabled directory and they are all independent of each other. To enable one, move it from the plugins/disabled directory to the plugins directory. To read the descriptions of them (which you should do before you enable them), read the Addon Plugins section.

Configuration

After installing the plugin, start the server and check cfg/sourcemod/pugsetup. There will be a file called pugsetup.cfg that you can edit to change the cvars the plugin uses. I recommend skimming this file at least to see if there's anything you want to change. You can also modify the behavior of the setup menu: each option has a default value and a display setting. The display setting controls whether the option is displayed at all - if the display for an option is turned off the default is used. You can edit addons/sourcemod/configs/pugsetup/setupoptions.cfg to do this.

Alternatively, you can edit these options ingame. For example, to turn demo recording to be always on and remove it from the setup menu, you can type:

Hidden Content

  • Give reaction to this post to see the hidden content.

This changes will save to the setupoptions config file automatically.

(A side note: when a knife round occurs the command exec sourcemod/pugsetup/knife is sent to the server - so you can edit the file cfg/sourcemod/pugsetup/knife.cfg if you wish. For example, you uncomment the last 2 lines in that file to do taser+knife rounds)

You can also add more chat alias commands in addons/sourcemod/configs/pugsetup/chataliases.cfg if you wish. If players are not comfortable with english, I'd strongly recommend adding chat aliases, since those will be read by the plugin and used in chat messages when referencing commands. Just like with setup options, you can edit these in game. For example, you could type:

Hidden Content

  • Give reaction to this post to see the hidden content.

This will automatically save to the chataliases config file.

By default the plugin uses the cfg/sourcemod/pugsetup/live.cfg config when going live. You are free to change this file all you want (or change which file is used via the sm_pugsetup_live_cfg cvar). (Note: if you use knife rounds, make sure mp_give_player_c4 1 is in this file!)

Enabling GOTV

You need to enable gotv to use the demo-recording feature. Adding the following to your server.cfg will work:

Hidden Content

  • Give reaction to this post to see the hidden content.

Of course, you can tweak the values.

Commands

Some commands that are important are (all of these are actually sm_ commands for console, but most people use the ! chat command):

Hidden Content

  • Give reaction to this post to see the hidden content.

You can also type !ready instead of .ready, or !capt instead of .capt, etc.

Note: above are actually only chat aliases of the commands - the "true" command of .ready is the console command sm_ready. This is true for all pugsetup commands. Being able to type !ready, /ready, or .ready in chat are simply for convenience.

These are some helper commands for automation purposes the bypass requiring a player to press any menus:

Hidden Content

  • Give reaction to this post to see the hidden content.

Other admin level commands are:

Hidden Content

  • Give reaction to this post to see the hidden content.

The command pugstatus (which is only a console command) will dump pug match state information, including setup options, pug leader, captains, etc.

ConVars

These are put in an autogenerated file at cfg/sourcemod/pugsetup.cfg, once the plugin starts it will autogenerate that file with these cvars and values.

Hidden Content

  • Give reaction to this post to see the hidden content.

Addon plugins

pugsetup_autokicker

This plugin kicks players that join when the game is already live, and players not selected by captains when using captain-player selection. It also offers admin immunity. You can tweak its behavior by editing cfg/sourcemod/pugsetup_autokicker.cfg.

pugsetup_teamnames

This plugin sets team names/flag according to the players on the team. Here's how it works

  • you run the sm_name command in console to associate a player with a team name and flag (example: sm_name splewis "splewises terrible team" "US")
  • when the game goes live, the plugin picks a name/flag randomly from the players on each team
  • when running the sm_name command, the syntax is: sm_name <player> <teamname> <teamflag>
  • note that the team flags are the 2-letter country codes
  • the team names/flags are stored using the clientprefs API, so a database for clientprefs must be set (it is by default)

pugsetup_teamlocker

This plugin blocks players from joining full teams when a game is live.

pugsetup_hostname

This plugin adds some tags to the server hostname depending on the pug status, examples: "[LIVE 11-5]" and "[NEED 3]".

pugsetup_rwsbalancer

This plugin implements a simple rws calculation scheme and adds an option to the .setup menu to use autobalanced teams. When using captains, the players with the 2 highest RWS values will be made captains. You can tweak its behavior by editing cfg/sourcemod/pugsetup_rwsbalancer.cfg.

pugsetup_chatmoney

This plugin prints out the team members' money to chat on round starts, you can tweak its behavior by editing cfg/sourcemod/pugsetup_chatmoney.cfg.

pugsetup_damageprinter

This plugin adds a .dmg command that also prints damage done/taken from players on round ends. You can disable the usage of the .dmg command with sm_pugsetup_damageprint_allow_dmg_command 0 and change the format of the messages with sm_pugsetup_damageprint_format by editing cfg/sourcemod/pugsetup_damageprint.cfg.

Download Link

 

Hidden Content

  • Give reaction to this post to see the hidden content.

thanks.

 

  • Like 1

Share this post


Link to post
Share on other sites
  • 3 weeks later...
5 hours ago, jeremy15n said:

ty

:) Spread the word around your friends... 

thanks all for your genuine feedback

Share this post


Link to post
Share on other sites
1 minute ago, wanderchannel said:

dont work

Follow the instructions properly. We have tested it before posting.

If you are having trouble with configuration then you can hire out professionals to look into your case.

Just click here

Start a new topic there!

Share this post


Link to post
Share on other sites
  • 2 months later...
17 hours ago, Kilogamb said:

Ty

:)

Share this post


Link to post
Share on other sites
  • 3 months later...
  • 2 months later...
  • 2 months later...
On 8/13/2019 at 7:33 PM, Admin said:

ty

 

On 8/13/2019 at 7:33 PM, Admin said:

dden Content

  • Give reaction to this post t

 

  • Like 1

Share this post


Link to post
Share on other sites
  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.