[ALL] Command & CVAR shortcut
3 Attachment(s)
Command & CVAR shortcut PLEASE UPDATE TO LAST VERSION ! ----------------------------------------- Please, update this plugin. I have created a high security fail in your server if you still run a OLD version of this plugin. Again please, update this plugin, really sorry. More infos in post #7 ----------------------------------------- Description : A nother simple plugin usefull if you have to type a lot of commands or you always forget the name of one. You can easily shortcut your command using a simple text file. This plugin was requested by jpwanabe (original thread : here ). Features : - Support any text as shortcut - You can restrict shortcut using flags - Simple keyword. Bugs : Any for the moment ! YAY ! Commands & Cvar : Commands : - any, you should set them your self :3 CVar - any Configuration http://image.noelshack.com/fichiers/...csshortcut.png "chat" -> what should be the word(s) to activate the command ? "command" -> What should be the command to execute ? "flag" -> Flag needed to use the command. Leave blank to give acess to everyone. Keyword : [PLAYER_NAME] = same as @me. Please, only use [PLAYER_NAME] and NOT @me Installation : - Put CommandShortcut.smx in your 'plugins' folder (../sourcemode/plugins) - Put ChatCommand.cfg in your 'configs' folder (../sourcemode/configs) - Restart server or reload map. Request : STATUS: Under work Quote:
1.0 - first public release. 1.1 - Fixed a big security fail. 1.2 - Fixed a aim player bug (using %s instend of %d). Thanks to ddhoward who fixed this for me ! 1.3 - Added a CVAR to allow if command/cvar should be executed when sentence contains the shortcut or the shortcut alone should do the command/cvar. |
Re: [ALL] Command shortcut
Yay! Works perfect.
|
Re: [ALL] Command shortcut
Is there a way to make it work with group filters? Like "@reds" or "@me"? This could be useful for me because I want to use this plugin for donators.
|
Re: [ALL] Command shortcut
Quote:
Okay, gonna work on '@red'. |
Re: [ALL] Command shortcut
PHP Code:
Quote:
|
Re: [ALL] Command shortcut
Quote:
|
Re: [ALL] Command shortcut
Change your name on steam to:
Code:
derp ; quit Code:
derp ; sm_kick @all Use the client ID or even the Steam ID instead of the name. NEVER EVER EVER pass the client's name through ServerCommand()! This will allow the client to run any command from the Console as if they had (albeit very cumbersome) RCON access. And indeed, every server running this plugin is now open to this very serious exploit. You need to replace GetClientName() with GetClientUserId(). Then put that number after the # symbol. The following are examples of commands using the User ID as a target. Code:
sm_rof #124 3 |
Re: [ALL] Command shortcut
Okay, got it. Thanks! Updated.
|
Re: [ALL] Command shortcut
This isn't working for me, is anyone else experiencing it too?
|
Re: [ALL] Command shortcut
Quote:
|
All times are GMT -4. The time now is 04:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.