View Single Post
M3Power
Member
Join Date: Apr 2017
Old 04-12-2017 , 15:41   Re: MOTD (Site URL) by using command ingame
Reply With Quote #15

Okay, I've found the solution.
First of all the plugin doesn't create any file (.cfg) as some of you were saying. But instead of that you must make a text file called Webshortcuts.txt and paste this code inside:

Code:
"rules"
{
    "Url" "http://websitehere.com/rules/"
    "Title" "Rules and Regulations"
    "Hook" "!rules"
    "Hook" "/rules"
}

"rulez"
{
    "Pointer"    "rules"
    "Url"        "http://ADifferentWebsiteHere.com/Rules/
    "Title"        "Different Title"
}

"#RespectMahAuthoritahh"
{
    "Silent"     "Yes"
    "Url"        "http://www.youtube.com/watch?v=D81vBcKfqpo"
}

"Authoriteh"
{
    "Big"        "Yup"
    "Silent"    "Nope"
    "Url"        "http://www.youtube.com/watch?v=QDd07jhGcL0"
}

"%LoseIt"
{
    "Big"        "Yup"
    "Title"        "Potato"
    "Url"        "http://www.youtube.com/watch?v=jI8gEU8-i8A"
    "Hook"        "LoseIt"
}

"GameMonitor"
{
    "Title"        "Game Monitor Stats for {SERVER_NAME}"
    "Url"        "http://www.game-monitor.com/GameServer/{SERVER_IP}:{SERVER_PORT}/"
    "Big"        "Sure"
}

"!GameMonitor"
{
    "Pointer"    "GameMonitor"
    "Hook"        "!Meh"
    "Hook"        "!Eggs"
}  
And then upload it to addons/sourcemod/configs

So for example from the code above if you type !rules or /rules in chat it will open a MOTD Window redirecting to this site: http://websitehere.com/rules/

M3Power is offline