Raised This Month: $32 Target: $400
 8% 

[ANY] Admin-Tools [work in progress][updated to work with any game]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Plugin ID:
3776
Plugin Version:
1.6
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    10 
    Plugin Description:
    Collection of mighty admin commands
    Old 07-24-2013 , 18:20   [ANY] Admin-Tools [work in progress][updated to work with any game]
    Reply With Quote #1

    Admin-Tools
    Collection of mighty admin commands

    Description:
    First of all: This plugin is still in development, it contains many errors, it even can crash your server when used without care! So watch out and be sure to know what you do - you've been warned!

    This plugin adds many admin commands and tries to be an single plugin replacement for all those one command plugins out there.
    So this means, I've searched around the forum and added all the cool commands which can now be found in Admin-Tools.
    Screenshots:

    Requirements for server admins:
    • Sourcemod 1.5 or higher
    Requirements for developers:
    • Sourcemod 1.5 or higher
    • Git & github.com account etc.
    • SMLIB:feature-pluginmanager (just clone the admin-tools repo, it contains the latest version)
    Known Issues:
    https://github.com/bcserv/admin-tools/issues
    How to report issues:
    Please, search what you'd like to report here first: https://github.com/bcserv/admin-tools/issues
    You can't find it? Then continue to read the following - lets call it guide lines.
    1. What game are you running the plugin on. (CSS, HL2DM, TF2, etc...)
    2. What the problem is:
      • The server is crashing, lagging, etc.
      • The plugin isn't loading.
      • The plugin isn't working as you expect it.
      • ...
    3. Optional: What the server console prints, when you type the following into it without "" (if you can't access the server console directly use HLSW):
      1. "plugin_print"
      2. "meta list"
      3. "sm plugins list"
      4. "sm exts list"
    4. Search the latest error log (<moddir>/addons/sourcemod/logs/error_xxxxxx.log) that contains an error about this plugin.
    Changelog:
    https://github.com/bcserv/admin-tools/commits/master
    Plugin Commands:

    Code:
    sm cmds admin-tools
    [SM] Listing 46 commands for: Admin Tools
               [Name]            [Type]   [Help]
               sm_addoutput      admin        Adds an output to an entity. Like ent_fire <someentity> addoutput 'wait 1'
               sm_alias          admin        Creates a new alias command to shrink command chains down to a single command
               sm_armor          admin        Sets the armor of a target
               sm_armour         admin        Sets the armor of a target
               sm_balanceteam    admin        Balances the teams
               sm_bury           admin        Buries the given target
               sm_cash           admin        Set money for the given target
               sm_color          admin        Sets the render color of a target
               sm_connect        admin        Opens a connect box which the target can accept via F3 (by default)
               sm_deaths         admin        Sets the deaths of a target
               sm_debug          admin        Shows information about the entity you're looking at
               sm_disarm         admin        Removes targets weapon
               sm_event          admin        Issues a command when an event is fired
               sm_exec           admin        Execute command on target
               sm_extend         admin        Extends the current map
               sm_fexec          admin        Fake-execute command on target
               sm_firstperson    admin        Switches target to firstperson camera
               sm_future         admin        Issues a command in the future
               sm_fx             admin        Sets the render effects (fx) of a target
               sm_give           admin        Gives a item/weapon to a target
               sm_god            admin        Set god mode for the given target
               sm_health         admin        Sets the health of a target
               sm_hp             admin        Sets the health of a target
               sm_ice            admin        Freezes the given target
               sm_input          admin        Sends an input to an entity.
               sm_ksay           admin        Sends a message to the key hint box
               sm_maxhealth      admin        Sets the max health of a target
               sm_mhp            admin        Sets the max health of a target
               sm_money          admin        Set money for the given target
               sm_point          admin        Creates an pointing line in the direction you're looking at
               sm_reloadmap      admin        Reloads the current map
               sm_remove         admin        Fades out and kills the aimed entity (ignores clients)
               sm_render         admin        Sets the render mode of a target
               sm_rendercolor    admin        Sets the render color of a target
               sm_renderfx       admin        Sets the render effects (fx) of a target
               sm_rendermode     admin        Sets the render mode of a target
               sm_respawn        admin        Respawns target
               sm_score          admin        Sets the score of a target
               sm_scrambleteam   admin        Scrambles the teams
               sm_setspeed       admin        Set speed for the given target
               sm_speed          admin        Set speed for the given target
               sm_suitpower      admin        Sets the armor of a target
               sm_swapteam       admin        Swaps the teams
               sm_team           admin        Moves the target into the given team
               sm_thirdperson    admin        Switches target to thirdperson camera
               sm_time           admin        Issues a command in the future
    Some neat usage examples:
    Code:
    // server.cfg: First round on a map is knife only (CSS or CSGO).
    sm_event round_start/2 "sm_disarm @all; sm_give @all knife"
    
    // server.cfg: An admin with access to sm_ban can use sm_knifeonly to turn the current round into a knife only round.
    sm_alias sm_knifeonly sm_ban client "sm_disarm @all; sm_give @all knife"
     
    // server.cfg: Simple advertations via the keyhintbox:
    sm_future 60 0 ads
    alias ads ads1
    alias ads1 "sm_ksay @all 10 Welcome player\nhave fun!; alias ads ads2"
    alias ads2 "sm_ksay @all 10 This server is\nusing Admin-Tools.; alias ads ads3"
    alias ads3 "sm_ksay @all 10 Please be nice and\nrespect the admins!; alias ads ads4"
    alias ads4 "sm_ksay @all 10 You can use !kill\nif you are stuck.; alias ads ads5"
    alias ads5 "sm_ksay @all 10 You know how to play?\nThen help rookies - thanks!; alias ads ads1"
    
    // server.cfg: You can restart the server in 5 seconds with sm_restartserver 5
    sm_alias sm_restartserver z server sm_future #1 1 _restart
    
    // server.cfg: You can use sm_rr 5 to restart the game in 5 seconds
    sm_alias sm_rr sm_kick server mp_restartgame #1
    Source code and Versions:
    https://github.com/bcserv/admin-tools
    Download:
    https://github.com/bcserv/admin-tools/releases/
    Installation:
    Drag and drop the .smx file into your plugins folder (addons/sourcemod/plugins)
    Credits:
    Berni - He developed the very early version of Admin-Tools! Well done!
    All the plugin authors that created the commands I've just assimilated
    __________________
    [ SourceModPlugins.org ][ My Plugins ]

    Thank you for donations: [ Paypal ]

    Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]

    Last edited by Chanz; 02-02-2014 at 08:35.
    Chanz is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 07-24-2013 , 18:27   Re: [CSS] Admin-Tools (work in progress)
    Reply With Quote #2

    Looks good, could be a good substitute of advanced commands
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    checkster
    BANNED
    Join Date: Apr 2007
    Location: Norway
    Old 07-30-2013 , 03:30   Re: [CSS] Admin-Tools (work in progress)
    Reply With Quote #3

    Quote:
    Originally Posted by Franc1sco View Post
    Looks good, could be a good substitute of advanced commands
    I was just about to say that.
    checkster is offline
    micazoid
    Veteran Member
    Join Date: Oct 2010
    Location: Munich - Germany
    Old 07-30-2013 , 04:33   Re: [CSS] Admin-Tools (work in progress)
    Reply With Quote #4

    Quote:
    Originally Posted by Franc1sco View Post
    Looks good, could be a good substitute of advanced commands
    It might, if it will also run for other games not only CSS ;)
    __________________
    micazoid is offline
    Chanz
    Veteran Member
    Join Date: Aug 2008
    Location: Germany - Stuttgart
    Old 07-30-2013 , 08:49   Re: [CSS] Admin-Tools (work in progress)
    Reply With Quote #5

    Well it already works for other games, but its not tested. Some things will break without doubt, like sm_respawn which uses only the css stocks from sourcemod to respawn a player - means it will crash on a tf2 server as example.

    By the way, one of this plugins goodies is the sm_alias command.
    Spoiler

    You can put the following into your server.cfg:
    Code:
    sm_alias sm_joke anyone server sm_play @all /joke.wav
    After a map change anyone could type !joke into the chat and the /joke.wav is played.

    Also very interesting and fun to play with sm_event and sm_future.
    __________________
    [ SourceModPlugins.org ][ My Plugins ]

    Thank you for donations: [ Paypal ]

    Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]

    Last edited by Chanz; 07-30-2013 at 08:49.
    Chanz is offline
    checkster
    BANNED
    Join Date: Apr 2007
    Location: Norway
    Old 07-30-2013 , 11:08   Re: [CSS] Admin-Tools (work in progress)
    Reply With Quote #6

    About to mess around a litle with this plugin on my test server, see what will/can crash it etc, its a pretty "vanilla" sm server. If I see annything I think can help you, I'll pm you or post it Chanz.
    checkster is offline
    Allower
    Senior Member
    Join Date: Sep 2013
    Location: SourceEngine
    Old 09-11-2013 , 14:00   Re: [CSS] Admin-Tools (work in progress)
    Reply With Quote #7

    Can you update this for HL2: DM? may be DoD: S? I'll see this is pretty nice plugin.
    Allower is offline
    Chanz
    Veteran Member
    Join Date: Aug 2008
    Location: Germany - Stuttgart
    Old 10-15-2013 , 14:05   Re: [CSS] Admin-Tools (work in progress)
    Reply With Quote #8

    Updated to v1.2
    This release enables this plugin to run on all games.
    Be aware that some commands are not supported on some games.

    Download:
    https://github.com/bcserv/admin-tools/releases/
    __________________
    [ SourceModPlugins.org ][ My Plugins ]

    Thank you for donations: [ Paypal ]

    Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
    Chanz is offline
    Lord_Rofl
    Senior Member
    Join Date: Aug 2006
    Location: Bad Pyrmont, Germany
    Old 10-16-2013 , 14:16   Re: [CSS] Admin-Tools (work in progress)
    Reply With Quote #9

    Nice Plugin

    Problem: Wenn ich ingame ein alias setze bleibt er nach Mapwechsel bestehen.
    Ist das so gewollt? Wo kann ich sie wieder löschen?

    Maybe add sm_teleport; sm_tp?
    Lord_Rofl is offline
    Chanz
    Veteran Member
    Join Date: Aug 2008
    Location: Germany - Stuttgart
    Old 10-24-2013 , 11:10   Re: [ANY] Admin-Tools [work in progress][updated to work with any game]
    Reply With Quote #10

    At the moment, yes its intended to keep aliases after a map change. You can delete an alias by overwriting the alias. For example: sm_alias sm_mycommand anyone client echo This command is deactivated

    I've got an other plugin that handles all teleportation which I didn't release yet. Give me some time or use other teleport plugnis. :-)
    __________________
    [ SourceModPlugins.org ][ My Plugins ]

    Thank you for donations: [ Paypal ]

    Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
    Chanz 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 06:49.


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