Raised This Month: $ Target: $400
 0% 

[ND] Commander Management (1.3.0, 2012-04-21)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
1Swat2KillThemAll
SourceMod Donor
Join Date: Nov 2009
Plugin ID:
2594
Plugin Version:
1.3.0 (GNU/AGPLv3)
Plugin Category:
Admin Commands
Plugin Game:
Nuclear Dawn
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Commander Management plugin for Nuclear Dawn
    Old 10-01-2011 , 17:43   [ND] Commander Management (1.3.0, 2012-04-21)
    Reply With Quote #1

    • Description
      • This plugin enables admins to promote players to commander, demote them or even ban them from commanding altogether. (All bans are saved to an SQL database.) It also features mutiny immunity and a nifty command for players to check all applicants for commander.
    • Feature list
      • Console Variables:
        • sm_commander_manager_version PLUGIN_VERSION // [ND] Commander Management System - Version Number (Console flags: Notify and DontRecord)
      • Admin Commands (default admin flag: 'b'):
        • sm_set_commander <player> | Promotes player to commander
        • sm_demote_commander <ct|consortium|emp|empire> | Demotes the current commander.
        • sm_commander_ban <player> [<time (minutes)>] | Bans a player from commanding.
        • sm_commander_unban <player> | Unbans a player from commanding.
      • Player Commands:
        • sm_commander_list | Shows a list of players who have currently applied for commander.
        • sm_commander_bans | Opens a menu showing all commander banned players on the server.
      • Command Overrides:
        • mutiny_immunity - Grants immunity to mutiny, if absent admin flag 'b' will be used.
      • Admin Menu:
        • x. Commander Management
          • Commander Management:
            • 1. Set Commander
              • Select Team:
                • 1. Consortium
                • 2. Empire
                  • [1,2] Select Player:
                    • [1, n]. <List of players>
            • 2. Demote Commander
              • Select Commander:
                • 1. (Consortium) <Commander>
                • 2. (Empire) <Commander>
            • 3. Ban from Commander
              • Select Player:
                • [1, n]. <List of players>
                  • Select Duration:
                    • 1. this session
                    • 2. 10 minutes
                    • 3. 1 hour
                    • 4. 1 day
                    • 5. 1 week
                    • 6. 1 month
                    • 7. permanently
            • 4. Unban from Commander
              • Select Player:
                • [1, n]. <List of players>
    • Advanced Installation:
      • Put config file in "../nucleardawn/cfg/sourcemod/". (only needed for mysql)
      • Any translation files are optional.
    • Changelog
      • 2012-01-31 (v1.3.0)

        * Fixed issue with unbanning players.
        * Removed files from this thread, everything's still available on bitbucket.
      • 2012-01-31 (v1.2.2)

        * Actually uses 'startmutiny' now.
      • 2011-10-21 (v1.2.1)

        * Fixed translation phrase for admin mutiny immunity.
      • 2011-10-20 (v1.2.0)

        * Updated to use 'startmutiny' to force a commander to resign, and '_promote_to_commander' to promote a player.
      • 2011-10-06 (v1.1.3)

        * Fixed sm_commander_list.
      • 2011-10-04 (v1.1.2)

        * Fixed admin and target being switched after selecting a player to ban.
      • 2011-10-04 (v1.1.1)

        * Extended translations to menus.
      • 2011-10-02 (v1.1.0)

        * Added translations.
        * EDIT (2011-10-03): Set the plugin's URL to this page, fixed line endings.
      • 2011-10-01 (v1.0.0)

        * Initial release.
    • Plans
      • Translations, because (FlyingMongoose fancies them) "there's a market, and sourcemod supports translation FILES, implement them! >.<". - Done
    • License: GNU/AGPLV3
    • Links:

    Last edited by 1Swat2KillThemAll; 05-05-2012 at 20:56. Reason: update
    1Swat2KillThemAll is offline
    Rizla
    SourceMod Donor
    Join Date: Jun 2010
    Old 10-02-2011 , 06:58   Re: [ND] Commander Management (1.0.0, 2011-10-01)
    Reply With Quote #2

    never fail to amaze me, good work
    Rizla is offline
    Puntje
    Member
    Join Date: May 2004
    Old 10-02-2011 , 08:32   Re: [ND] Commander Management (1.1.0, 2011-10-02)
    Reply With Quote #3

    Funny to see how much influence FlyingMongoose still has in it all!

    Good job on the plugin. I'm sure we're going to treasure it!!
    __________________
    ~ Nothing travels faster then the speed of light with the possible exception of bad news, which follows it's own laws! - Douglas Adams ~
    Puntje is offline
    Send a message via ICQ to Puntje
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 10-02-2011 , 10:33   Re: [ND] Commander Management (1.1.0, 2011-10-02)
    Reply With Quote #4

    Yeah I'm a pushy SOB, but if I see something I know people will use I push the devs to do it right, else they'll end up kicking themselves in the future. Also, I'd approve this, EXCEPT for the unreleased status of the sourcemod version required to run it.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    Ultrix Prime
    Junior Member
    Join Date: Apr 2011
    Old 01-01-2012 , 20:20   Re: [ND] Commander Management (1.2.1, 2011-10-21)
    Reply With Quote #5

    Get plugin doesn't compile
    Ultrix Prime is offline
    1Swat2KillThemAll
    SourceMod Donor
    Join Date: Nov 2009
    Old 01-31-2012 , 13:57   Re: [ND] Commander Management (1.2.1, 2011-10-21)
    Reply With Quote #6

    Quote:
    Originally Posted by xcal1bur View Post
    this being updated?
    Ay, but I forgot to subscribe to this thread.

    Quote:
    Originally Posted by Ultrix Prime View Post
    Get plugin doesn't compile
    Yes it does ;)
    This was made when SM 1.4 wasn't released yet, which is why the web compiler wouldn't work.

    Quote:
    Originally Posted by Kateana View Post
    Setting and demoting commanders often crash the server with no error.
    "2011-10-20 (v1.2.0)

    * Updated to use 'startmutiny' to force a commander to resign, and '_promote_to_commander' to promote a player."

    I did not remove the legacy method (which can make the server crash when used at the wrong time) in its entirety, but rather disabled it at compile-time using "conditional compiling". I may have compiled the latest version with the wrong option though, meaning that line 93
    Code:
    #define PROBLEMS // No, don't do it. 0o
    should have been
    Code:
    //#define PROBLEMS // No, don't do it. 0o
    I've updated the plugin and I'm terribly sorry for the inconvenience :/

    Quote:
    Originally Posted by Kateana View Post
    Documentation on setting it up for MySQL
    The SQL setup (not necessarily MySQL) is quite straightforward; all you need to do is add an entry to databases.cfg and alter commander_management_nd.cfg.

    e.g.
    ../nucleardawn/addons/sourcemod/configs/databases.cfg
    Code:
    "Databases"
    {
        "driver_default"          "mysql"
        
        "default"
        {
            "driver"              "mysql"
            "host"                "localhost"
            "database"            "sourcemod"
            "user"                "root"
            "pass"                "iq3hjioea3"
            //"timeout"           "0"
            //"port"              "3306"
        }
        
        "storage-local"
        {
            "driver"              "sqlite"
            "database"            "sourcemod-local"
        }
    }
    ../nucleardawn/cfg/sourcemod/commander_management_nd.cfg
    Code:
    "Config"
    {
        "SQL"
        {
            "named_config"       "default"
        }
    }
    The plugin defaults to SQLite if commander_management_nd.cfg doesn't exist, "named_config" can't be read from it, or connecting to the specified database fails.

    Quote:
    Originally Posted by Kateana View Post
    Convar to disable admin mutiny immunity
    It uses command overrides instead of a console variable / config file. (Fixed documentation)
    1Swat2KillThemAll is offline
    Ultrix Prime
    Junior Member
    Join Date: Apr 2011
    Old 01-02-2012 , 01:40   Re: [ND] Commander Management (1.2.1, 2011-10-21)
    Reply With Quote #7

    Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

    commander_management_nd.smx(0) : error 075: input line too long (after substitut
    ions)
    commander_management_nd.smx(67) : error 010: invalid function or declaration
    Ultrix Prime is offline
    xcal1bur
    Junior Member
    Join Date: Sep 2009
    Old 01-16-2012 , 20:10   Re: [ND] Commander Management (1.2.1, 2011-10-21)
    Reply With Quote #8

    this being updated?
    xcal1bur is offline
    snelvuur
    Veteran Member
    Join Date: Jun 2008
    Location: Netherlands
    Old 01-17-2012 , 05:00   Re: [ND] Commander Management (1.2.1, 2011-10-21)
    Reply With Quote #9

    Seems to work fine here though..
    __________________
    Arguing with a fool only proves there are two
    snelvuur is offline
    xcal1bur
    Junior Member
    Join Date: Sep 2009
    Old 01-22-2012 , 16:15   Re: [ND] Commander Management (1.2.1, 2011-10-21)
    Reply With Quote #10

    Mine crashed the server on certain commands like demote commander.
    xcal1bur 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:15.


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