Raised This Month: $106 Target: $400
 26% 

[CSGO] Advanced Admin Commands


Post New Thread Reply   
 
Thread Tools Display Modes
Author
PeEzZ
Senior Member
Join Date: Jan 2014
Location: Hungary
Plugin ID:
5291
Plugin Version:
1.7.1
Plugin Category:
Admin Commands
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Extra commands for admins
    Old 07-22-2016 , 11:45   [CSGO] Advanced Admin Commands
    Reply With Quote #1

    Hi!
    I created an other advanced admin commands plugin, but this one is created and optimized only for Counter-Strike: Global Offensive.

    Thanks for original command authors: Super Commands (pRED*), Super Admin (TechKnow), Adv Commands (xaider), and for original custom adminmenu list (Dungeon).

    CVars:
    Code:
    sm_advadmin_admins <def. 2> - Settings of "!admins" command. | 0 - Disable the command | 1 - Show always "No Admins online." | 2 - Show the online admins
    sm_advadmin_announce <def. 2> - Join announce, 0 - Disable | 1 - Simple announce ("PeEzZ connected")| 2 - Announce with country name ("PeEzZ connected (Hungary)")
    sm_advadmin_invalid <def. 1> - Show gived/equipped item text if invalid. | 0 - Disable | 1 - Enable
    sm_advadmin_log <def. 1> - Enable the logging for plugin. | 0 - Disable | 1 - Enable (The plugin logging into the default sourcemod log file)
    Admin commands:
    Code:
    sm_extend <[+/-] minutes> - Extending the map, ADMFLAG_CHANGEMAP
    sm_clearmap - Deleting dropped weapons, items and chickens without owner from the map, ADMFLAG_GENERIC
    sm_restartgame or sm_rg <seconds> - Restarting the game after the specified seconds, ADMFLAG_GENERIC
    sm_restartround or sm_rr <seconds> - Restarting the round after the specified seconds, ADMFLAG_GENERIC
    sm_playsound <target> <sound [directories/filename.extension]> <pitch 100[50 - 250]> <volume 100[1 - 100]> <multiplier 1[1 - 10]> , - Playing a sound for the targets, with custom settings, ADMFLAG_GENERIC
    
    sm_teleport or sm_tp <target 1> <leave blank for savedlocation | @blink to aim position | target 2> - Teleporting the target to somewhere, ADMFLAG_BAN
    sm_saveloc - Saving the current position for the teleport, ADMFLAG_BAN
    (Hint: If you don't know: @me - always you | @t - terrorists | @ct - counter-terrorists | @spec - spectators | @alive - alive players | @dead - dead players | @all - all player | @aim - player, which you are looking at | @bots all bot.
    
    sm_team <target> <[1-3] | SPEC | SPECTATOR | T | CT> <[0/1] now/next round> - Set the targets team, ADMFLAG_KICK
    sm_swap <target> <[0/1] now/next round> - Swap the targets team, ADMFLAG_KICK
    sm_spec <target> <[0/1] now/next round> - Set the targets team to spectator, ADMFLAG_KICK
    sm_scramble - Scrambling the teams by scores, ADMFLAG_KICK
    
    sm_give <target> <leave blank for knife | weapon name | text> - Give something for the target, ADMFLAG_BAN - (Available weapon names below)
    sm_equip <target> <leave blank for knife | weapon name | text> - Equipping something for the targets (deleting all weapons and give the specified), ADMFLAG_BAN - (Available weapon names below)
    sm_equipments - Showing the valid equipment names in the console, available weapon names below, ADMFLAG_GENERIC
    sm_disarm <target> - Disarming the targets, ADMFLAG_BAN
    (Hint: You can give anything, invalid things always will be ignored)
    
    sm_respawn <target> - Respawning the targets, ADMFLAG_KICK
    sm_bury <target> <[0/1] bury/unbury> - Burying the targets, ADMFLAG_KICK
    
    sm_speed <target> <multiplier> - Set the speed multipiler of the targets, ADMFLAG_BAN
    sm_god <target> <[0/1] off/on> - Set godmode for the targets, ADMFLAG_BAN
    sm_helmet <target> <[0/1] off/on> - Set helmet for the targets, ADMFLAG_KICK
    
    sm_health or sm_hp <target> <[+/-] amount> - Set the health for the targets, ADMFLAG_KICK
    sm_armour <target> <[+/-] amount> - Set the armour for the targets, ADMFLAG_KICK
    sm_cash <target> <[+/-] amount> - Set the cash for the targets, ADMFLAG_BAN
    
    sm_setstats <target> <kills | assists | deaths | mvps | scores | clan> <[+/-] value> - Set the stats for the targets, ADMFLAG_BAN
    sm_teamscores <[2/3] | T | CT> <[+/-] amount> - Set the teams scores, ADMFLAG_BAN
    
    sm_spawnchicken or sm_sc <body [0-6]> <explode [-1-9999]> - Spawn one chicken on your aim position, ADMFLAG_GENERIC
    Body section: 0 - Normal chicken, 1 - Birthday, 2 - Ghost, 3 - Christmas, 4 - Bunny, 5 - Pumpkin, 6 - Zombie
    Explode section: -1 - Chicken with godmode, 0 - Normal chicken, everythning else greater than 0 is the explosion damage
    Hint: Remember, do not spam with this, or you have a risk to crash the server by too many entities!
    
    sm_spawnball - Spawn one ball on your aim position, ADMFLAG_GENERIC
    Non-Admin commands:
    Code:
    sm_admins - Showing the online admins
    (Example: if the cvar upper is "0" - this will say "Command disabled", if "1" - this will say "No admins online.", if "2" - this will say "Online admins: Bart, [R]PeEzZ")
    (Hint: Flags: [R] - have root admin flag ADMFLAG_ROOT.)
    For players have generic admin flag (ADMFLAG_GENERIC), this command always show the true, currently online admins.
    Available equipment names:
    Code:
    new String: WeaponsList[][] = //VALID WEAPON NAMES HERE
    {
    	"c4", "knife", "knifegg", "taser", "healthshot", //misc
    	"decoy", "flashbang", "hegrenade", "molotov", "incgrenade", "smokegrenade", "tagrenade", //grenades
    	"usp_silencer", "glock", "tec9", "p250", "hkp2000", "cz75a", "deagle", "revolver", "fiveseven", "elite", //pistoles
    	"nova", "xm1014", "sawedoff", "mag7", "m249", "negev", //heavy
    	"mp9", "mp7", "mp5sd", "ump45", "p90", "bizon", "mac10", //smgs
    	"ak47", "aug", "famas", "sg556", "galilar", "m4a1", "m4a1_silencer", //rifles
    	"awp", "ssg08", "scar20", "g3sg1" //snipers
    };
    new String: ItemsList[][] = //VALID ITEM NAMES HERE, HEAVYASSAULTSUIT ONLY WORKS WHEN ITS ENABLED (mp_max_armor 3 and mp_weapons_allow_heavyassaultsuit 1)
    {
    	"defuser", "cutters", //defuser and rescue kit
    	"kevlar", "assaultsuit", "heavyassaultsuit", //armors
    	"nvgs" //nightvision
    };
    Plugin requirements:
    - Latest, Stable SourceMod
    - Adminmenu plugin, if you want to use the custom adminmenu: "adminmenu_custom.txt"
    - Translation files ("common.phrases.txt", "advadmin.phrases.txt")

    Notes:
    - If you found some bug or error in the log, please report here!
    - The plugin currently not support the command executes from the server's console.
    - If you want to add some other commands, suggest and discuss here.
    - Custom adminmenu file "adminmenu_custom.txt" is not needed, but optional.
    - You can set admin activity chat messages in sourcemod's config file "cfg/sourcemod/sourcemod.cfg" with "sm_show_activity" CVar.

    Suggested commands and known following updates:
    - Balancing the teams by player amount (this will shuffle the players, and balancing the teams)

    Updates:
    (1.7.1, 2018.08.16, 18:16)
    - Added support for the new weapon: MP5-SD

    Older Updates
    Attached Files
    File Type: zip advadmin.zip (39.5 KB, 1027 views)
    File Type: sp Get Plugin or Get Source (advadmin.sp - 606 views - 47.1 KB)
    __________________
    Sorry for my bad english, correct me if i'm wrong.
    Ha magyar vagy, írj PM-et ha szeretnél valamit!
    A multifunctional guy: scripting, mapping and a bit modelling
    If you want to donate me, you can do here:
    Also: My Plugins

    Last edited by PeEzZ; 09-17-2018 at 06:35.
    PeEzZ is offline
    Sw33T3R
    Senior Member
    Join Date: Mar 2014
    Location: N/A
    Old 07-25-2016 , 10:48   Re: [CSGO] Advanced Admin Commands
    Reply With Quote #2

    Nice plugin
    How can i hide [SM] commands on chat?
    Sw33T3R is offline
    PeEzZ
    Senior Member
    Join Date: Jan 2014
    Location: Hungary
    Old 07-25-2016 , 11:34   Re: [CSGO] Advanced Admin Commands
    Reply With Quote #3

    With the default sourcemod cvar "sm_show_activity" in "cfg/sourcemod/sourcemod.cfg"
    __________________
    Sorry for my bad english, correct me if i'm wrong.
    Ha magyar vagy, írj PM-et ha szeretnél valamit!
    A multifunctional guy: scripting, mapping and a bit modelling
    If you want to donate me, you can do here:
    Also: My Plugins
    PeEzZ is offline
    Aymeric VII
    BANNED
    Join Date: Jun 2016
    Location: Hiding under my sheets
    Old 07-27-2016 , 16:49   Re: [CSGO] Advanced Admin Commands
    Reply With Quote #4

    Wheres the other commands?
    sm_melee
    sm_rr
    sm_shutdown etc, these are commands we use on a daily as well. Id suggest you add it maybe?
    Aymeric VII is offline
    PeEzZ
    Senior Member
    Join Date: Jan 2014
    Location: Hungary
    Old 07-27-2016 , 19:26   Re: [CSGO] Advanced Admin Commands
    Reply With Quote #5

    Yes, then i add just suggest what you want, sm_rr is currently in plugin now (sm_rr, sm_rg, sm_restartgame, sm_restartround)
    __________________
    Sorry for my bad english, correct me if i'm wrong.
    Ha magyar vagy, írj PM-et ha szeretnél valamit!
    A multifunctional guy: scripting, mapping and a bit modelling
    If you want to donate me, you can do here:
    Also: My Plugins

    Last edited by PeEzZ; 07-27-2016 at 19:26.
    PeEzZ is offline
    Aymeric VII
    BANNED
    Join Date: Jun 2016
    Location: Hiding under my sheets
    Old 07-27-2016 , 20:16   Re: [CSGO] Advanced Admin Commands
    Reply With Quote #6

    Quote:
    Originally Posted by PeEzZ View Post
    Yes, then i add just suggest what you want, sm_rr is currently in plugin now (sm_rr, sm_rg, sm_restartgame, sm_restartround)
    Oh, pardon that suggestion then. My dear apologies, thanks for those commands.
    Aymeric VII is offline
    shockys
    New Member
    Join Date: Jul 2016
    Old 07-30-2016 , 02:36   Re: [CSGO] Advanced Admin Commands
    Reply With Quote #7

    the commands dont seem to work for me, any fix?
    shockys is offline
    PeEzZ
    Senior Member
    Join Date: Jan 2014
    Location: Hungary
    Old 07-30-2016 , 06:07   Re: [CSGO] Advanced Admin Commands
    Reply With Quote #8

    Maybe try reinstall, from .zip, .sp only for view, plugin needs translations.
    __________________
    Sorry for my bad english, correct me if i'm wrong.
    Ha magyar vagy, írj PM-et ha szeretnél valamit!
    A multifunctional guy: scripting, mapping and a bit modelling
    If you want to donate me, you can do here:
    Also: My Plugins
    PeEzZ is offline
    Archange
    Member
    Join Date: Jul 2016
    Old 07-31-2016 , 10:10   Re: [CSGO] Advanced Admin Commands
    Reply With Quote #9

    [Google Translate]

    Hello,
    How to translate the menus?
    (I can not find them)

    Last edited by Archange; 07-31-2016 at 10:23.
    Archange is offline
    PeEzZ
    Senior Member
    Join Date: Jan 2014
    Location: Hungary
    Old 07-31-2016 , 17:22   Re: [CSGO] Advanced Admin Commands
    Reply With Quote #10

    You can translate the the adminmenu_custom.txt, just you need modify, replace all name phrases like "Set God" and save, and you done
    __________________
    Sorry for my bad english, correct me if i'm wrong.
    Ha magyar vagy, írj PM-et ha szeretnél valamit!
    A multifunctional guy: scripting, mapping and a bit modelling
    If you want to donate me, you can do here:
    Also: My Plugins

    Last edited by PeEzZ; 07-31-2016 at 17:22.
    PeEzZ is offline
    Reply


    Thread Tools
    Display Modes

    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 15:59.


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