AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   MOTD (Site URL) by using command ingame (https://forums.alliedmods.net/showthread.php?t=295973)

M3Power 04-11-2017 20:20

Re: MOTD (Site URL) by using command ingame
 
Quote:

Originally Posted by Cooky (Post 2511244)
Here you are.... tip: search function

https://forums.alliedmods.net/showthread.php?p=2166996

I'm using CS:S so it wouldn't fit.

Quote:

Originally Posted by Dr_Knuckles (Post 2511326)
The plugin would create the .cfg in game/cfg/sourcemod

Unfortunately as mentioned before, that didn't happened.

I've put plugin Webshortcuts.smx into /plugins folder restarted server, was looking for .cfg file but couldn't find it nowhere.

Cooky 04-12-2017 03:44

Re: MOTD (Site URL) by using command ingame
 
Quote:

Originally Posted by M3Power (Post 2511421)
I'm using CS:S so it wouldn't fit.

Uhm, next time mention it in your post...

M3Power 04-12-2017 05:47

Re: MOTD (Site URL) by using command ingame
 
Quote:

Originally Posted by Cooky (Post 2511476)
Uhm, next time mention it in your post...

Or perhaps I should try. Maybe it'll work.

Thanks anyway.

M3Power 04-12-2017 11:22

Re: MOTD (Site URL) by using command ingame
 
https://forums.alliedmods.net/showthread.php?t=173334

This one is just not working or I don't know how to make it work.
I've put WebShortcuts.smx into /plugins folder, restarted server went to look for a .cfg file but couldn't find it.

What's wrong or what am I doing wrong?

All I'd like is that when I type !forum in chat it opens MOTD with Forum page. uhm :|
I use/am trying to use this plugin for Counter Strike:Source

Any help appreciated.

M3Power 04-12-2017 16:41

Re: MOTD (Site URL) by using command ingame
 
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/



All times are GMT -4. The time now is 00:49.

Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.