RSSy MYGO.pl Opublikowano Listopad 4, 2017 o 13:02 RSSy Udostępnij Opublikowano Listopad 4, 2017 o 13:02 Easy Web Shortcuts (V1.00)Web Shortcuts using WebFix.By Byte ? Description ? A web shortcuts plugin for CSGO (very similar to other web shortcuts plugins) which uses WebFix. This is an example plugin I made for WebFix (I literally made it in 15 minutes so it may have some bugs).? Commands ?sm_web <target> <url> - Open URL for a specific target (generic admins)sm_ews_reload - Reload Web Shortcuts (root admin)? Instructions ? Download and setup WebFix (https://forums.alliedmods.net/showthread.php?t=302597) on your server Compile easywebshortcuts.sp Copy easywebshortcuts.smx to your server. Copy easywebshortcuts.txt to /addons/sourcemod/configs/ Edit easywebshortcuts.txt with shortcuts you want (instructions inside the file) Reload the plugin, change the map or use sm_ews_reload as a root admin to update changes ? Example easywebshortcuts.txt ? HTML Code: // Easy Web Shortcuts // Configuration File // // Enter your shortcuts in this file. One per line. // Empty lines or lines begging with '//' are ignored // // Format: "trigger" "dimensions" "url" // // dimensions must either be "full" (for client max screen size), "hidden" (invisible window) or in "widthxheight" format (i.e. 1280x720) // url should start with "http://", "https://" or be the exact string "about:blank" //Forum stuff "!forums" "full" "http://www.myforumexample.com" "!vip" "1280x720" "http://www.myforumexample.com/vip" //Server "!gametracker" "full" "http://www.gametracker.com/server_info/{SERVERIP}:{SERVERPORT}/" //General "!google" "full" "http://www.google.com" "secret_command_haha" "full" "https://forums.alliedmods.net" "!funnyvideo" "hidden" "https://www.youtube.com/watch?v=dQw4w9WgXcQ" "!stop" "hidden" "about:blank" ? URL Replacements ? The following strings are replaced if they appear in the URLs specified in easywebshortcuts.txt:{SERVERIP} - Server IP Adress{SERVERPORT} - Server Port{NAME} - Client In-Game Name{USERID} - Client User ID {STEAMID} - Client Steam ID{STEAMID64} - Client Steam ID 64 (community id){IP} - Client IP Address Need more replacements? Request some!? Changelog? Code: 1.00 Initial release Attached Files EasyWebShortcuts_V1.00.zip (19.1 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się