Raised This Month: $51 Target: $400
 12% 

[CS:GO] RockTheMode (1.1.4)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sheepdude
SourceMod Donor
Join Date: Aug 2012
Location: Chicago
Plugin ID:
3248
Plugin Version:
1.1.4
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Enables players to change the current game mode.
    Old 09-16-2012 , 03:03   [CS:GO] RockTheMode (1.1.4)
    Reply With Quote #1

    RockTheMode

    Version 1.1.4


    Table of Contents
    ----------------------------------------------------
    Description
    Commands and Cvars
    Requirements
    Installation
    Dependencies
    Credits
    Changelog
    Command Overrides
    Notes
    Complementary Plugins
    Download


    Description
    ----------------------------------------------------
    Change the mode by popular vote! RockTheMode creates a vote for Casual, Competitive,
    Arms Race, Demolition, or DeathMatch after enough players have voted to RockTheMode.
    Then the current map is restarted with the newly voted game mode. Admins are also given the
    ability to change the mode immediately.


    Commands and Cvars
    ----------------------------------------------------
    Vote commands:
    say rockthemode
    say rtm

    sm_rtm
    !rtm
    /rtm


    Commands:
    sm_rtm_mode <mode> - (ADMFLAG_CHANGEMAP) Restarts the map with the given mode. (Acceptable arguments: casual, competitive, armsrace, arms_race, demolition) (Command override: sm_rtm)
    sm_rtm_forcevote - (ADMFLAG_CHANGEMAP) Forces a RockTheMode vote. (Command override: sm_rtm)

    Convars:
    sm_rtm_version - Plugin version.
    sm_rtm_enable - (Default 1) Enable or disable plugin (1 - enable, 0 - disable).
    sm_rtm_needed - (Default 0.6) Percentage of players needed for RockTheMode vote.
    sm_rtm_minplayers - (Default 0) Number of players required before plugin will be enabled.
    sm_rtm_initialdelay - (Default 20.0) Time, in seconds, before the first RockTheMode vote can be held.
    sm_rtm_initialwindow - (Default 240.0) Time, in seconds, after map start to disable RockTheMode voting.
    sm_rtm_interval - (Default 240.0) Time, in seconds, after a failed RockTheMode vote before another can be held.
    sm_rtm_allow_casual - (Default 1) Does Casual appear on the vote (0 - no, 1 - yes)
    sm_rtm_allow_competitive - (Default 1) Does Competitive appear on the vote (0 - no, 1 - yes)
    sm_rtm_allow_armsrace - (Default 1) Does Arms Race appear on the vote (0 - no, 1 - yes)
    sm_rtm_allow_demolition - (Default 1) Does Demolition appear on the vote (0 - no, 1 - yes)
    sm_rtm_allow_deathmatch - (Default 1) Does DeathMatch appear on the vote (0 - no, 1 - yes)


    Requirements
    ----------------------------------------------------
    Counter-Strike: Global Offensive
    SourceMod 1.5.0+


    Installation
    ----------------------------------------------------
    Place rockthemode.smx into the /addons/sourcemod/plugins directory.
    Place rockthemode.phrases.txt into the /addons/sourcemod/translations directory.
    Change rockthemode settings in /csgo/cfg/sourcemod/rtm.cfg. (auto-generated on first load)


    Dependencies
    ----------------------------------------------------
    SourceMod


    Credits
    ----------------------------------------------------
    Changelog
    ----------------------------------------------------
    Spoiler
    • 1.1.4 (22 February 2013)
      -Bug fix: Plugin now looks for Next Map Mode convar in OnAllPluginsLoaded, ensuring that NMM is disabled properly.

    Command Overrides
    ----------------------------------------------------
    sm_rtm - Admins with access to this command can use sm_rtm_mode to change the mode immediately, and sm_rtm_forcevote to start a rock the mode vote immediately.

    You can use admin_groups.cfg or admin_overrides.cfg to change command permissions.

    Example admin_overrides.cfg:
    Code:
    Overrides
    {
    	"sm_rtm" "cdr"
    }
    In this example, only admins who have all three "c", "d", and "r" admin flags can use rock the mode's admin commands.


    Notes
    ----------------------------------------------------
    • Don't forget to install the translations file!
    • Admins with map changing privileges can use sm_rtm_mode <mode> to change the mode immediately. Example usage: !rtm_mode Casual.
    • You can change which modes appear on the vote by editing the configuration file located in /csgo/cfg/sourcemod/rtm.cfg.
    • Use sm_rtm_initialwindow <seconds> to disable rtm voting after a certain amount of time has elapsed since map start.
    • IMPORTANT: Your server will be UNJOINABLE if your gamemodes_server.txt has not been set up to accomodate all your maps for every mode. See an example of a proper configuration here: https://forums.alliedmods.net/showpo...01&postcount=3

    Complementary Plugins
    ----------------------------------------------------
    • Next Map Mode - https://forums.alliedmods.net/showthread.php?t=199865
      - Admins can set the mode for the next map.
      - Mode is changed automatically and dynamically based on the next map in the rotation.
      - MapCycles can be changed automatically and dynamically based on the next mode in the rotation.

    Download
    ----------------------------------------------------
    Attached Files
    File Type: txt rockthemode.phrases.txt (1.2 KB, 2454 views)
    File Type: sp Get Plugin or Get Source (rockthemode.sp - 4363 views - 15.2 KB)

    Last edited by Sheepdude; 02-22-2013 at 11:08. Reason: version 1.1.4
    Sheepdude is offline
    away000
    Veteran Member
    Join Date: Sep 2010
    Old 09-17-2012 , 06:27   Re: [CS:GO] RockTheMode
    Reply With Quote #2

    Can u make so we manage via config file the possible modes, groups and maps who play each type of conf? like we can manage to make a casual and a demolition on dust2 but not be able to vote for a arms race as example....

    btw very nice work, this work correctly with the next game mode (for next map) and other things who i'm reading is causing some problems?
    __________________
    away000 is offline
    Sheepdude
    SourceMod Donor
    Join Date: Aug 2012
    Location: Chicago
    Old 09-17-2012 , 20:57   Re: [CS:GO] RockTheMode
    Reply With Quote #3

    Quote:
    Originally Posted by away000 View Post
    Can u make so we manage via config file the possible modes, groups and maps who play each type of conf?
    Version 0.9 now has a configuration file located in /csgo/cfg/sourcemod/rtm.cfg. You can change which modes appear on the vote by editing the config, or manually setting sm_rtm_allow_casual, etc.
    Sheepdude is offline
    Sheepdude
    SourceMod Donor
    Join Date: Aug 2012
    Location: Chicago
    Old 09-18-2012 , 02:42   Re: [CS:GO] RockTheMode
    Reply With Quote #4

    Final version released. I added several features which give server administrators more control over the usage of the plugin. Cheers!
    Sheepdude is offline
    fightarena
    Member
    Join Date: Nov 2011
    Old 09-21-2012 , 08:37   Re: [CS:GO] RockTheMode
    Reply With Quote #5

    this is cool, gj !
    i dont try it yet but i try and give my feadback !
    soon :p
    __________________
    German hosting Servers !!!

    quality n1




    ]

    Last edited by fightarena; 09-21-2012 at 08:37.
    fightarena is offline
    Sheepdude
    SourceMod Donor
    Join Date: Aug 2012
    Location: Chicago
    Old 09-29-2012 , 05:48   Re: [CS:GO] RockTheMode
    Reply With Quote #6

    New version out, which is necessary if you've updated to the unofficial 1.2.0 build of Next Map Mode. Other than that, just minor bug fixes and optimizations, but I did do a lot of work cleaning up the code for review.
    __________________
    Sheepdude is offline
    Sheepdude
    SourceMod Donor
    Join Date: Aug 2012
    Location: Chicago
    Old 10-03-2012 , 06:22   Re: [CS:GO] RockTheMode
    Reply With Quote #7

    Made plugin version public
    __________________
    Sheepdude is offline
    Biohazardsteven
    AlliedModders Donor
    Join Date: Nov 2010
    Old 10-04-2012 , 15:24   Re: [CS:GO] RockTheMode
    Reply With Quote #8

    Sweet plugin!
    Biohazardsteven is offline
    Sheepdude
    SourceMod Donor
    Join Date: Aug 2012
    Location: Chicago
    Old 10-14-2012 , 09:09   Re: [CS:GO] RockTheMode
    Reply With Quote #9

    Version 1.1.2 (14 October 2012)
    • Previously, rockthemode was reset and delayed if another sourcemod vote was in progress. This has been fixed.
    • Added admin command "sm_rtm_forcevote" - Forces a rockthemode vote.
    __________________
    Sheepdude is offline
    marcintojatak
    BANNED
    Join Date: Sep 2010
    Location: PL
    Old 11-11-2012 , 06:02   Re: [CS:GO] RockTheMode
    Reply With Quote #10

    its works

    cfg does not need write in console

    all in admin panel
    1 casual
    2 competitive
    3 armsrace
    4 demolition

    5 vote for change mod

    simple cfg but all works with sm admin panel



    files put in:
    csgo/addons/sourcemod/configs/adminmenu_cfgs.txt
    csgo/cfg/sourcemod/ all .cfg files
    Attached Files
    File Type: cfg 1.cfg (18 Bytes, 727 views)
    File Type: cfg 2.cfg (23 Bytes, 393 views)
    File Type: cfg 3.cfg (20 Bytes, 411 views)
    File Type: cfg 4.cfg (22 Bytes, 412 views)
    File Type: cfg allmodsvote.cfg (16 Bytes, 489 views)
    File Type: txt adminmenu_cfgs.txt (559 Bytes, 697 views)

    Last edited by marcintojatak; 06-22-2013 at 05:59.
    marcintojatak is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 07:57.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode