Server plug-in needed
-
- A regular
- Posts: 56
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Dec 12, 2013 10:16 pm
Server plug-in needed
I'm looking for an automated plug-in that will allow me to place broadcast messages in the game and have then execute every 30 seconds. Does anyone have anything they use on their server that works reliably that they can recommend?
I've already been recommended Advertisement .6 from AlliedModders but I'm not sure if this plug-in is automated as i need it or manually triggered.
Thanks in advance
I've already been recommended Advertisement .6 from AlliedModders but I'm not sure if this plug-in is automated as i need it or manually triggered.
Thanks in advance
Re: Server plug-in needed
The plugin you were recommended works fine.
All you need to do is add your advertisements to "configs/advertisements.txt". You can use the template https://forums.alliedmods.net/showthread.php?p=592536 on the plugin thread to make more.
You can then set sm_advertisements_interval in your server.cfg, this will control the time between adverts. The default is 30.
All you need to do is add your advertisements to "configs/advertisements.txt". You can use the template https://forums.alliedmods.net/showthread.php?p=592536 on the plugin thread to make more.
You can then set sm_advertisements_interval in your server.cfg, this will control the time between adverts. The default is 30.
Not a NFO employee
Re: Server plug-in needed
Thanks! Getting confirmation on what they recommended is very helpful. I'll give it a go.
Re: Server plug-in needed
Sorry, sm_advertisements_interval isn't in my server.cfg. Is that something I need to add? Also is it sm _advertismenets or sv_adertisements?
Re: Server plug-in needed
Yes
//adverts
sm_advertisements_enabled 1
sm_advertisements_interval 30
//adverts
sm_advertisements_enabled 1
sm_advertisements_interval 30
Re: Server plug-in needed
You only need to addWrangler wrote:Sorry, sm_advertisements_interval isn't in my server.cfg. Is that something I need to add? Also is it sm _advertismenets or sv_adertisements?
Code: Select all
sm_advertisements_interval
The plugin is enabled by default, so you don't need to add that.
Not a NFO employee
Re: Server plug-in needed
Thanks, I've placed the statements and will see how it goes.
Re: Server plug-in needed
Okay, I must have done something wrong because its not working.
Here is what I did
I added to the server.cfg
//advertisements
sm_advertisements_enabled 1
sm_advertisements_interval 15
An placed in the /csgo/addons/sourcemod/plugins
advertisements.smx
Did I do something wrong?
Here is what I did
I added to the server.cfg
//advertisements
sm_advertisements_enabled 1
sm_advertisements_interval 15
An placed in the /csgo/addons/sourcemod/plugins
advertisements.smx
Did I do something wrong?
Re: Server plug-in needed
Where is your advertisements.txt located? Does it have the correct format? Anything in sourcemod error logs?Wrangler wrote:Okay, I must have done something wrong because its not working.
Here is what I did
I added to the server.cfg
//advertisements
sm_advertisements_enabled 1
sm_advertisements_interval 15
An placed in the /csgo/addons/sourcemod/plugins
advertisements.smx
Did I do something wrong?
Not a NFO employee
Re: Server plug-in needed
Like a dip I forgot to upload the advertisements.txt ...it works now. DOH!
Is there a way to keep the message on screen longer?
Is there a way to keep the message on screen longer?
Re: Server plug-in needed
Sheesh, never mind. Sometimes I cause me to question myself. Thanks for the help and the patience.
Re: Server plug-in needed
BAH!
Everything works fine except for color! Can anyone see anything I've done wrong that would prevent color from working?
"Advertisements"
{
"1"
{
"type" "S"
"text" "{GREEN}Enjoying the server? CSWARS is a community. Sign up at www.cswars2014.com"
}
"2"
{
"type" "S"
"text" "{GREEN}Admins needed for late-night hours. Make contact at www.cswars2014.com to find out how to become a CSWARS Admin"
}
"3"
{
"type" "S"
"type" "{GREEN}Gamesmanship is encouraged. Disrespecting other players through excessive vulgarity or racial slurs is not."
{
"4"
"type" "S"
"type" "{GREEN}Enjoying the server? Why not become an active part of the CSWARS Gaming Community? Sign up at www.cswars2014.com"
}
}
Everything works fine except for color! Can anyone see anything I've done wrong that would prevent color from working?
"Advertisements"
{
"1"
{
"type" "S"
"text" "{GREEN}Enjoying the server? CSWARS is a community. Sign up at www.cswars2014.com"
}
"2"
{
"type" "S"
"text" "{GREEN}Admins needed for late-night hours. Make contact at www.cswars2014.com to find out how to become a CSWARS Admin"
}
"3"
{
"type" "S"
"type" "{GREEN}Gamesmanship is encouraged. Disrespecting other players through excessive vulgarity or racial slurs is not."
{
"4"
"type" "S"
"type" "{GREEN}Enjoying the server? Why not become an active part of the CSWARS Gaming Community? Sign up at www.cswars2014.com"
}
}
Re: Server plug-in needed
Is color broken for all?Wrangler wrote:BAH!
Everything works fine except for color! Can anyone see anything I've done wrong that would prevent color from working?
"Advertisements"
{
"1"
{
"type" "S"
"text" "{GREEN}Enjoying the server? CSWARS is a community. Sign up at http://www.cswars2014.com"
}
"2"
{
"type" "S"
"text" "{GREEN}Admins needed for late-night hours. Make contact at http://www.cswars2014.com to find out how to become a CSWARS Admin"
}
"3"
{
"type" "S"
"type" "{GREEN}Gamesmanship is encouraged. Disrespecting other players through excessive vulgarity or racial slurs is not."
{
"4"
"type" "S"
"type" "{GREEN}Enjoying the server? Why not become an active part of the CSWARS Gaming Community? Sign up at http://www.cswars2014.com"
}
}
Notice on your last 2 adverts you have "type" twice instead of "type" and "text"
Not a NFO employee
Re: Server plug-in needed
Yes, none of the colors work. I'll make the correction and see if that helps.
Re: Server plug-in needed
SOLUTION
It turns out that a space is needed between the opening quote and the color designator. Without the space the color doesn't register.
eg. " {GREEN}Hell0"
It turns out that a space is needed between the opening quote and the color designator. Without the space the color doesn't register.
eg. " {GREEN}Hell0"