Raised This Month: $48 Target: $400
 12% 

[ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3


Post New Thread Reply   
 
Thread Tools Display Modes
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 11-03-2015 , 14:51   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 1.9.2015
Reply With Quote #201

Quote:
Originally Posted by GreYzZ View Post
Can you add a support that the ServerAdvertisement.cfg is getting reloaded my mapchange.
So you dont have to restart the server if you did any changes
Code:
sm plugins reload ServerAdvertisement
There you go, serveradvertisement.cfg gets reloaded and you don't have to restart your server.
__________________
sneaK is offline
Voqnum
Junior Member
Join Date: May 2015
Old 11-03-2015 , 14:51   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 1.9.2015
Reply With Quote #202

Receiving errors where only the first advert plays on repeat. Check out the .cfg here (http://pastebin.com/4d8vcmub)

Code:
// ServerAdvertisement - Help //
//
// Message Types:
//     Chat messages - Type: "T" / Colour support
//     Center text messages - Type: "C" / Support only [hex] codes / Ex: <font color='#ff0000'>This message is red</font>
//    Colours could be found at http://www.color-hex.com/
//
// Message Variables:
//    {NEXTMAP}
//    {CURRENTMAP}
//    {CURRENTTIME}
//    {TIMELEFT}
//    {ADMINSONLINE}
//    {SERVERIP}
//    {SERVERNAME}
//    {PLAYERNAME}
//
////////////////////////////////


"ServerAdvertisement"
{
    "Settings"
    {
        "Enable"    "1" // 1 for Enable, 0 Otherwise
        "Delay_between_messages"        "35" // In seconds
        "Time_Format"    "%H:%M:%S" // Hours,Minutes,Secods
        "Advertisement_tag"    "[{ORANGE}={Olive}DA{ORANGE}={DEFAULT}]" // Exmp: "[UltraGaming]"
        "Languages" "cz;sk" // These languages must be defined.
    }
    "Messages"
    {
        "1"
        {
            "default"    "Welcome to {RED}={GREEN}The Digital Alliance{RED}="
            ""        // Alt language message if applicable.
            "type"        "T" // Message will be printed in Chat.
        }
        "2"
        {
            "default"    "Visit our website {GREEN}www.ADDRESS.com"
            ""        // Alt language message if applicable.
            "type"        "T" // Message will be printed in Chat.
        }
        "3"
        {
            "default"    "The current map is {GREEN}{CURRENTMAP}"
            ""        // Alt language message if applicable.
            "type"        "T" // Message will be printed in Chat.
        }
        "4"
        {
            "default"    "Add us to your favorites {LIME}192.223.26.69:27015"
            ""        // Alt language message if applicable.
            "type"        "T" // Message will be printed in Chat.
        }
        "5"
        {
            "default"    "Now accepting applications for staff! Visit {LIME}www.ADDRESS.com {DEFAULT}to apply."
            ""        // Alt language message if applicable.
            "type"        "T" // Message will be printed in Chat.
        }
        "6"
        {
            "default"    "You're playing {DARKRED}{DEFAULT}with {GREEN}=The Digital Alliance="
            ""        // Alt language message if applicable.
            "type"        "T" // Message will be printed in Chat.
        }
    }
}
__________________
Contact Voqnum via E-mail

Contact Voqnum via Steam


CS:GO Hunger Games Server [US-Central]
Voqnum is offline
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 11-04-2015 , 10:10   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 1.9.2015
Reply With Quote #203

Quote:
Originally Posted by Voqnum View Post
Receiving errors where only the first advert plays on repeat. Check out the .cfg here (http://pastebin.com/4d8vcmub)

Code:
// ServerAdvertisement - Help //
//
// Message Types:
//     Chat messages - Type: "T" / Colour support
//     Center text messages - Type: "C" / Support only [hex] codes / Ex: <font color='#ff0000'>This message is red</font>
//    Colours could be found at http://www.color-hex.com/
//
// Message Variables:
//    {NEXTMAP}
//    {CURRENTMAP}
//    {CURRENTTIME}
//    {TIMELEFT}
//    {ADMINSONLINE}
//    {SERVERIP}
//    {SERVERNAME}
//    {PLAYERNAME}
//
////////////////////////////////


"ServerAdvertisement"
{
    "Settings"
    {
        "Enable"    "1" // 1 for Enable, 0 Otherwise
        "Delay_between_messages"        "35" // In seconds
        "Time_Format"    "%H:%M:%S" // Hours,Minutes,Secods
        "Advertisement_tag"    "[{ORANGE}={Olive}DA{ORANGE}={DEFAULT}]" // Exmp: "[UltraGaming]"
        "Languages" "cz;sk" // These languages must be defined.
    }
    "Messages"
    {
        "1"
        {
            "default"    "Welcome to {RED}={GREEN}The Digital Alliance{RED}="
            ""        // Alt language message if applicable.
            "type"        "T" // Message will be printed in Chat.
        }
        "2"
        {
            "default"    "Visit our website {GREEN}www.ADDRESS.com"
            ""        // Alt language message if applicable.
            "type"        "T" // Message will be printed in Chat.
        }
        "3"
        {
            "default"    "The current map is {GREEN}{CURRENTMAP}"
            ""        // Alt language message if applicable.
            "type"        "T" // Message will be printed in Chat.
        }
        "4"
        {
            "default"    "Add us to your favorites {LIME}192.223.26.69:27015"
            ""        // Alt language message if applicable.
            "type"        "T" // Message will be printed in Chat.
        }
        "5"
        {
            "default"    "Now accepting applications for staff! Visit {LIME}www.ADDRESS.com {DEFAULT}to apply."
            ""        // Alt language message if applicable.
            "type"        "T" // Message will be printed in Chat.
        }
        "6"
        {
            "default"    "You're playing {DARKRED}{DEFAULT}with {GREEN}=The Digital Alliance="
            ""        // Alt language message if applicable.
            "type"        "T" // Message will be printed in Chat.
        }
    }
}
Remove "" // Alt language message if applicable. from all messages.
__________________
Feel free to add me for private plugins My steam profile.
ESK0 is offline
Abusador
Member
Join Date: Sep 2015
Old 11-15-2015 , 15:38   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 1.9.2015
Reply With Quote #204

How to use 20 messages ?
Abusador is offline
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 11-16-2015 , 11:57   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 1.9.2015
Reply With Quote #205

Quote:
Originally Posted by Abusador View Post
How to use 20 messages ?
wtf really ?
__________________
Feel free to add me for private plugins My steam profile.
ESK0 is offline
Abusador
Member
Join Date: Sep 2015
Old 11-16-2015 , 14:28   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 1.9.2015
Reply With Quote #206

yes,really.
Abusador is offline
HIRAMEte0r
Member
Join Date: Oct 2013
Location: Japan
Old 12-13-2015 , 03:44   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 1.9.2015
Reply With Quote #207

When I'm running multiple servers with +sm_basepath addons/sourcemodX command, this plugin reads addons/sourcemod/configs/ServerAdvetisement.cfg ONLY.
Could you add a command like sm_advertisements_file?

Last edited by HIRAMEte0r; 12-13-2015 at 03:52.
HIRAMEte0r is offline
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 12-13-2015 , 12:25   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 1.9.2015
Reply With Quote #208

Quote:
Originally Posted by HIRAMEte0r View Post
When I'm running multiple servers with +sm_basepath addons/sourcemodX command, this plugin reads addons/sourcemod/configs/ServerAdvetisement.cfg ONLY.
Could you add a command like sm_advertisements_file?
Updated.
__________________
Feel free to add me for private plugins My steam profile.
ESK0 is offline
HIRAMEte0r
Member
Join Date: Oct 2013
Location: Japan
Old 12-13-2015 , 23:07   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 1.9.2015
Reply With Quote #209

Quote:
Originally Posted by ESK0 View Post
Updated.
Thank you so much!
HIRAMEte0r is offline
HIRAMEte0r
Member
Join Date: Oct 2013
Location: Japan
Old 12-13-2015 , 23:39   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #210

I'm sorry. but it seems that ServerAdvertisement_filepath doesn't work
HIRAMEte0r is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:12.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode