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).
Please, if you copy the plugin and it's description to other sites, make those informations and the plugin there up-to date, thanks!
QuickTip, if you don't know: @me - always you | @!me - everyone except 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.
CVars:
Code:
sm_advadmin_admins <def. 2> - Settings of "!admins" command. | 0 - Disable the command for players without admin rights | 1 - Show always "No Admins online." for players without admin rights | 2 - Show the online admins, like "PeEzZ[R], Bob, NEPTune" sm_advadmin_announce <def. 2> - Join message, 0 - Disable | 1 - Simple ("PeEzZ connected")| 2 - Message with country ("PeEzZ connected (Hungary)") sm_advadmin_invalid <def. 1> - Show give/equip text for everyone in the chat if the item is invalid. | 0 - Disable | 1 - Enable ("Bob got the aimbot") sm_advadmin_log <def. 1> - Enable logging for the plugin. | 0 - Disable | 1 - Enable (The plugin will log into the default sourcemod file)
Admin commands:
Code:
sm_extend <map | round> <[+/-] minutes> - Extending the map or the round, ADMFLAG_CHANGEMAP sm_clearmap - Removing 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(s) 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 later to teleport, ADMFLAG_BAN
sm_team <target(s)> <[1-3] | SPEC | SPECTATOR | T | CT> <[0/1] now/next round> - Set the target(s) team, ADMFLAG_KICK sm_swap <target(s)> <[0/1] now/next round> - Swap the target(s) team, ADMFLAG_KICK sm_spec <target(s)> <[0/1] now/next round> - Set the target(s) team to spectator, ADMFLAG_KICK sm_scramble - Scrambling the teams by scores, ADMFLAG_KICK
sm_give <target(s)> <leave blank for knife | weapon name | text> - Give something for the target(s) (without removing any existing weapon), ADMFLAG_BAN - (Available weapon names below) sm_equip <target(s)> <leave blank for knife | weapon name | text> - Equipping something for the target(s) (removing all weapons and giving the specified ones), ADMFLAG_BAN - (Available weapon names below) sm_equipments - Printing the valid equipment names into the user's console, available weapon names below, ADMFLAG_GENERIC sm_disarm <target(s)> - Disarming the target(s), (removing all weapons from the target(s)) ADMFLAG_BAN (Hint: You can give anything, invalid things always will be ignored)
sm_respawn <target(s)> <[0/1] on spawn/on death pos> - Respawning the target(s), ADMFLAG_KICK sm_bury <target>(s) <[0/1] bury/unbury> - Burying/unburying the target(s), ADMFLAG_KICK
sm_speed <target(s)> <multiplier> - Set the speed multipiler of the target(s), ADMFLAG_BAN sm_god <target(s)> <[0/1] off/on> - Set godmode status for the target(s), ADMFLAG_BAN sm_helmet <target(s)> <[0/1] off/on> - Set helmet status for the target(s), ADMFLAG_KICK
sm_health or sm_hp <target(s)> <[+/-] amount> - Set the health of the target(s), ADMFLAG_KICK sm_armour <target(s)> <[+/-] amount> - Set the armour of the target(s), ADMFLAG_KICK sm_cash <target(s)> <[+/-] amount> - Set the cash of the target(s), ADMFLAG_BAN
sm_setstats <target(s)> <kills | assists | deaths | mvps | scores | clan> <[+/-] value> - Set the stats of the target(s), ADMFLAG_BAN sm_teamscores <[2/3] | T | CT> <[+/-] amount> - Set the scores of a team, ADMFLAG_BAN
sm_spawnent <chicken | ball | snow | turret | drone> <value1> <value2> - Spawning entities, like chickens or balls, ADMFLAG_BAN
For <value1> can be:
- Chicken: <body [0-6] 0 - Normal chicken, 1 - Birthday, 2 - Ghost, 3 - Christmas, 4 - Bunny, 5 - Pumpkin, 6 - Zombie> (i know its not working now, i will fix it)
For <value2> can be:
- Chicken: <explode [-1-9999]> -1 - Chicken with godmode, 0 - Normal chicken, everything else greater than 0 is the explosion damage when the chicken dies Remember, do not spam the command, or you have a risk to make the server lag or crash by too many entities!
User commands:
Code:
sm_admins - Will show the admins for users based on the "sm_advadmin_admins" convar setting (Example: if the cvar is "0" - this will say "Command disabled", for users without admin rights, if "1" - this will say "No admins online." for users without admin rights, if "2" - this will say "Online admins: Bart, [R]PeEzZ" for the users) (Hint: Flags: [R] - have root admin flag ADMFLAG_ROOT.) For players who have generic admin flag (ADMFLAG_GENERIC), this command will always show the true, currently online admins, no matter what the convar is set to.
Plugin requirements:
- Latest, Stable SourceMod
- Translation files ("common.phrases.txt", "advadmin.phrases.txt")
- Adminmenu plugin, if you want to use the custom adminmenu: "adminmenu_custom.txt" (OPTIONAL)
Notes:
- Do use the beta version please(latest)
- Just in case, if there is a new sourcemod version, try to recompile all of your plugins with the newer compiler!
- 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 based on player count
- Option to give multiple weapons at once with give and equip?
- Server console command executing support
- Support for new items (shield, etc...)
- Saving other players location for yourself to teleport to ("sm_saveloc Engie" >> will save Engie's position for later to teleport with "sm_tp <target(s)>")
- Active check when using "sm_spawnent" to prevent making the server lag/crash by too many spawned entities
- Upgrade to Counter-Strike 2?
Known bugs:
- Chicken body variants are no longer exists
- Drone & turret does not working right
Last update: (1.7.2 BETA, 2020.02.25, 19:20)
- New changes, commands, etc, the plugin is not finished yet, maybe has some bugs, but a few people requested this version.
- New command "sm_spawnent" will replace the "sm_spawnchicken", and "sm_spawnball" commands.
- Option to extend the current round with sm_extend <round> <time>
- Fixed the typo of the traslations folder in the zip
Older updates
(1.7.1, 2018.08.16, 18:16)
- Added support for the new weapon: MP5-SD
(1.7.0, 2018.07.15, 13:52) - Bugfixes
- Fixed error when @all target who not in game
- New stat modify syntax
- Added ball spawn command sm_spawnball
- New bury syntax sm_bury @me 0 to bury, 1 to unbury
- Added sound play command sm_playsound
- sm_advadmin_sound cvar is replaced and removed with #define
(1.6.5, 2018.07.08, 12:10) - Teleport update
- You can teleport your aim position with sm_teleport @me @blink
- Teleport now save/set the angles
- Translation files updated
- Replaced "sm_valid_weapons" to "sm_equipments"
- Now you can set team changes to the next round, exaple "sm_team @me T 1" - i will moved to the terrorists in the next round
- Theese commands now will be deleted:
-- sm_restartround/sm_rr, use sm_restartgame/sm_rg
-- sm_melee, use sm_equip
-- sm_frags, use sm_kills
(1.6.4, 2017.12.17, 15:20) - Bugfixes
- Updated "sm_spawnchicken" (customizable body)
- Custom adminmenu updated
- Translation files updated
- Fixed "sm_clearmap", "sm_swap" and "sm_respawn" bugs
- Version convar is removed
- The plugin has a new filename, new translation file names and new convar names!!
- Russian translation is deleted.
(1.6.3, 2017.06.29, 11:53) - Chicken update
- Updated "sm_spawnchicken" command, now you can spawn zombie chicken
- Custom adminmenu updated (added custom chickens menu)
- Translation files updated
- Some line re-translate needed in Russian translation.
(1.6.2, 2017.06.28, 20:52) - Spawn customizated chickens
- Updated "sm_spawnchicken" command, now you can spawn customized chickens
- Custom adminmenu updated (added custom chickens menu)
- Updated translation files
- "sm_clearmap" now delete chickens from the map
- Some line re-translate needed in Russian translation.
(1.6.1, 2017.01.08, 18:11) - Minor change
- Added tracking support for the plugin ("sm_advanced_admin_version")
- Some line re-translate needed in Russian translation.
(1.6.0, 2017.01.08, 16:32) - One small bugfix
- Now you can teleport/saveloc if you, or the target is dead. (@dead)
- Translation files and custom adminmenu updated.
- Some line re-translate needed in Russian translation.
(1.5.9, 2017.01.08, 15:02) - Chickens everywhere!!
- Added spawn chicken command
- Added version convar
- Translation files and custom adminmenu updated.
- Some line re-translate needed in Russian translation.
(1.5.8, 2016.10.11, 21:21) - Fixes, new syntaxes, plugin out from beta version
- Some new message syntaxes.
- Translation files updated.
- Some line re-translate needed in Russian translation.
(1.5.1, 2016.08.04, 13:28) - Syntax rebuild version, maybe this fix some code execution timed out issue.
- New command syntaxes
- Added "sm_kills" as "sm_frags"
- Translations updated, new translation sections, full "ml" translation support
- Custom adminmenu are updated, added few commands here
(1.5.0) - Maybe a stable version of plugin.
- Translation files updated.
- Custom adminmenu updated.
- Added "sm_melee" as "sm_equip".
- Command "sm_give_weapons" renamed as "sm_valid_weapons" and flag "ADMFLAG_BAN" changed to "ADMFLAG_GENERIC".
- Now some commands check the executer.
(1.3) - Bugfix update
- Custom adminmenu added for the plugin
- "sm_cash" and "sm_helmet" errors fixed
(1.2) - The swapper update
- Added "sm_swap"
- New message sending syntax
- Translation files updated
(1.1) - Give me some weapons please! WEAPONS! PLS!
- Now "sm_give_weapons" read the available weapon names inside from plugin.
- Translation files updated.
Sw33T3R
07-25-2016 09:48
Re: [CSGO] Advanced Admin Commands
Nice plugin :3
How can i hide [SM] commands on chat?
PeEzZ
07-25-2016 10:34
Re: [CSGO] Advanced Admin Commands
With the default sourcemod cvar "sm_show_activity" in "cfg/sourcemod/sourcemod.cfg"
Aymeric VII
07-27-2016 15:49
Re: [CSGO] Advanced Admin Commands
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?
PeEzZ
07-27-2016 18:26
Re: [CSGO] Advanced Admin Commands
Yes, then i add just suggest what you want, sm_rr is currently in plugin now (sm_rr, sm_rg, sm_restartgame, sm_restartround)
Aymeric VII
07-27-2016 19:16
Re: [CSGO] Advanced Admin Commands
Quote:
Originally Posted by PeEzZ
(Post 2440064)
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.
shockys
07-30-2016 01:36
Re: [CSGO] Advanced Admin Commands
the commands dont seem to work for me, any fix?
PeEzZ
07-30-2016 05:07
Re: [CSGO] Advanced Admin Commands
Maybe try reinstall, from .zip, .sp only for view, plugin needs translations.
Archange
07-31-2016 09:10
Re: [CSGO] Advanced Admin Commands
[Google Translate]
Hello,
How to translate the menus?
(I can not find them)
PeEzZ
07-31-2016 16:22
Re: [CSGO] Advanced Admin Commands
You can translate the the adminmenu_custom.txt, just you need modify, replace all name phrases like "Set God" and save, and you done