Monthly Target: $400 Donations: $131
 32% 

SM Super Commands


Post New Thread Reply   
 
Thread Tools Display Modes
Author
pRED*
Join Date: Dec 2006
Plugin ID:
63
Plugin Version:
0.31
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    297 
    Plugin Description:
    Large Selection of Admin Fun Commands
    Old 07-04-2007 , 21:52   SM Super Commands
    Reply With Quote #1

    SM Super Commands by pRED*

    Official support and any future releases will be available at: SuperCentral

    Latest version is 0.6 - See the attached zip file.
    The posted other files are still 0.52 while I finish up the transition.

    I got the idea for this from the plugin amxx super for cs1.6. Credit goes to Bmann_420 and Bo0m! for the idea..

    Large range of admin fun commands..
    Requires The admin flags Custom 4 for most commands (letter 'r')

    You need to put the plugin.supercmds.txt file into your gamedata folder and then restart your server.

    Recommended to use SM Super Menu in conjunction with this plugin (they were designed together) to make life easier. Not necessary though.

    All powers are reset each round.

    Features and Commands:

    Armour - sm_armour <player> <armour>
    HP - sm_hp <player> <hp>
    Bury - sm_bury <player>, sm_unbury <player>
    Igniting Players - sm_burn <player> <seconds>
    Give item (weapons etc) - sm_weapon <player> <itemname> (eg weapon_ak47)
    Teamswap - sm_teamswap
    Move player team - sm_team <player> <teamid> (CSS 1-spec, 2-t, 3-ct)
    Defuse Kit - sm_defuser <player> <1|0>
    NightVision - sm_nv <player> <1|0>
    Helmet - sm_helmet <player> <1|0>
    God Mode - sm_god <player> <1|0>
    Gravity - sm_gravity <player> <Float gravity multiplier> (eg 1.0 (normal), 0.5 (half))
    Extend - sm_extend <minutes>
    No Clip - sm_noclip <player> <1|0>
    Speed - sm_speed <player> <Float speed multiplier> (eg 1.0 (normal), 2.0 (double))
    Damage Done (shows damage done to other players in a hint text message)
    - Cvar: sm_showdamage <1|0>
    Respawn - sm_respawn <player>
    Shutdown - sm_shutdown (forces players to retry as well, usefull if server auto restarts)
    Connect Announce - Cvar: sm_connectannounce <1|0>
    Admin See All - Cvar: sm_adminseeall <1|0>
    Teleport - sm_teleport <player/@ALL/@CT/@T> <x/#saveloc> <y> <z>
    Client Execute - sm_exec <player/@ALL/@CT/@T> <command string>
    Get Player Location - sm_getloc <player> - leave blank for your location
    Save Player Location - sm_saveloc - Saves your current location and gives you a saveloc number to use with teleport

    Things To Do:

    - Multilinugal
    - More Commands!
    - Confirm/Fix Teamswap

    Changelog:

    0.1 - Initial Release.
    0.11 - Fixed GodMode not removing
    0.2 - Added Slay
    - Added Respawn
    - Disarm
    - Fixed team/teamswap
    - New teamswap commnad (sm_swapteam)
    0.3 - Added @ALL/@CT/@T for most commands
    - Added list of defined Admin Levels
    0.31 - Fixed teamswaping again (hopefully....?)
    - Changed method of slaying. See how this works..
    0.4 - Admin See All
    - Connect Anounce
    - Server Shutdown
    - Removed Slay and Burn (basefuncommands stole them..
    0.5 - Fixed team change in DoD:S, should work in most mods now (The-Killer)
    - Added team name support for other mods, currently CSS, DODS, HL2DM, looking into INS, PVK, Hidden, Sourceforts, Dystopia (The-Killer)
    - Added teamswap for single players (The-Killer)
    - Added Check for cstrike on cstrike specific commands(armor helmet nv defuse) (The-Killer)
    - Reorganised entire plugin to be smaller
    - Renamed Gamedata to "supercmds.gamedata.txt" - to avoid confusion with translation files
    - Fixed a dumb mistake in the gamedata file.
    - Changed to use native hint text
    - Added sm_exec, sm_teleport and sm_getloc
    )
    0.51 - Added Connected checks to the say/say_team handlers
    - Added sm_saveloc
    - Added sm_saveloc
    0.52 - Added sm_freeze <player> <1/0> 1=freeze 0=un-freeze - TechKnow (I think..)
    - Added sm_name - majority of code thanks to bl4nk
    - Updated to use new ProcessTargetString and FindTarget natives
    - Cleaned up adminseeall code
    - Added autoexec config
    0.6 - Added some crazy output config. I don't know why, someone wanted it..
    - Armour should work for hl2dm
    - OTHER STUFF THAT IVE SINCE FORGOTTEN


    INSTALLING 0.6:

    sm_super_cmds.smx -> plugins folder
    sm_super_cmds.sp -> scripting folder (optional)
    super_command_overrides.cfg -> config folder
    plugin.supercmds.txt -> translations folder
    supercmds.gamedata.txt -> gamedata folder.

    0.6 Contains a ridiculously overpowered and over complex method to let you customize the output for each and every command separately. I'm not entirely sure why I added this.

    Anyway the idea is you open up super_command_overrides.cfg (read the instructions!!). Then you edit the default value to what you want most commands to do. Then add special lines for each command you want different. Its simple really.

    I've also removed all the #define ADMIN_LEVEL stuff from the source file. EVERY SINGLE COMMAND uses 'custom4' as the admin level now (with the exception of the admin see all chat which which uses 'chat').
    If you want to change these use overrides - http://wiki.alliedmods.net/Overridin...ss_(SourceMod)
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_super_cmds.sp - 34924 views - 31.4 KB)
    File Type: txt supercmds.gamedata.txt (1.1 KB, 17585 views)
    File Type: zip Super Commands 0.6.zip (25.5 KB, 44618 views)

    Last edited by pRED*; 12-16-2008 at 20:58.
    pRED* is offline
    bobbobagan
    SourceMod Donor
    Join Date: May 2007
    Location: New Zealand
    Old 07-04-2007 , 22:09   Re: SM Super Commands
    Reply With Quote #2

    awsome... thanks dude, ill try it out

    More mani features *yay!!*
    __________________
    bobbobagan is offline
    Send a message via Skype™ to bobbobagan
    {LOD}Scarecrow
    Member
    Join Date: Dec 2004
    Location: AZ
    Old 07-04-2007 , 22:15   Re: SM Super Commands
    Reply With Quote #3

    Great plugin, but says it failed to compile, so I can't get it. Can you add slap and slay to the list??
    {LOD}Scarecrow is offline
    Send a message via AIM to {LOD}Scarecrow
    pRED*
    Join Date: Dec 2006
    Old 07-04-2007 , 22:17   Re: SM Super Commands
    Reply With Quote #4

    Try it again, compiles fine for me.

    Yup I'll try add those if you want. Also looking at beacons, no recoil (struggling..) stuff like that..
    pRED* is offline
    {LOD}Scarecrow
    Member
    Join Date: Dec 2004
    Location: AZ
    Old 07-04-2007 , 22:17   Re: SM Super Commands
    Reply With Quote #5

    Beacon would be great to add as well. Download link is working now.
    {LOD}Scarecrow is offline
    Send a message via AIM to {LOD}Scarecrow
    {LOD}Scarecrow
    Member
    Join Date: Dec 2004
    Location: AZ
    Old 07-04-2007 , 22:20   Re: SM Super Commands
    Reply With Quote #6

    Quick thought, would it be possible to be able to turn these functions on or off?
    {LOD}Scarecrow is offline
    Send a message via AIM to {LOD}Scarecrow
    pRED*
    Join Date: Dec 2006
    Old 07-04-2007 , 22:23   Re: SM Super Commands
    Reply With Quote #7

    What do you mean? Disable them entirely so no-one can use them?

    If that's what you mean open the .sp file. Find the section with lots of RegAdminCmd.

    Find the line that contains the command you dont want and add // to the start of the line. Recompile.
    pRED* is offline
    janbanan
    Member
    Join Date: Jun 2007
    Old 07-04-2007 , 22:26   Re: SM Super Commands
    Reply With Quote #8

    Oh yea baby!

    Teamswap - sm_teamswap
    Move player team - sm_team <player> <teamid> (CSS 1-spec, 2-t, 3-ct)

    Ive been waiting for this. Thank you very much!

    And i also would love some slap and slay, this is what is missing in SM for me.
    janbanan is offline
    {LOD}Scarecrow
    Member
    Join Date: Dec 2004
    Location: AZ
    Old 07-04-2007 , 22:55   Re: SM Super Commands
    Reply With Quote #9

    01 <Failed> "SM Super" (0.11) by pRED*
    02 "Admin File Reader" (1.0.0.1029) by AlliedModders LLC
    03 "Basic Commands" (1.0.0.1029) by AlliedModders LLC
    04 "Basic Chat" (1.0.0.1020) by ferret
    05 "RateChecker" (0.1) by pRED*
    06 "KnifeMug" (1.0.3) by FlyingMongoose, sslice
    07 "rtv" (1.3) by ferret
    08 "Bounty" (1.0.4.0) by Shane A. ^BuGs^ Froebel, FlyingMongoose, and stoic
    09 "Nextmap" (1.0) by pRED*, ferret
    10 "Mapchooser" (1.3) by ferret
    11 "Reserved Slots" (1.0.0.1029) by AlliedModders LLC
    12 "Anti-Flood" (1.0.0.1029) by AlliedModders LLC
    13 "ATAC" (1.2.0) by FlyingMongoose
    14 "Timeleft" (1.0) by ferret

    Not trying to be a pain, but the plugin won't start up. Is there an additional file that needs to be added?

    Last edited by {LOD}Scarecrow; 07-04-2007 at 23:03.
    {LOD}Scarecrow is offline
    Send a message via AIM to {LOD}Scarecrow
    janbanan
    Member
    Join Date: Jun 2007
    Old 07-04-2007 , 23:21   Re: SM Super Commands
    Reply With Quote #10

    Try grabbing the latest build of SM, loads fine for me with 1.0.0.1044

    However, the teamswap and playerswap crashed my server.
    Teamswap crashed server when i executed it right after freezetime was up, and playerswap worked when i swaped a player from ct -> spec -> t, but directly after i tried t -> ct, and it crashed. When i first moved, he was dead, and when it crashed, the player was alive.
    janbanan 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 03:49.


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