Raised This Month: $255 Target: $400
 63% 

Notices

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


Post New Thread Reply   
 
Thread Tools Display Modes
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 07-19-2017 , 23:47   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #501

Quote:
Originally Posted by Obyboby View Post
Hey man, is !sa3r supposed to say something when I use it? I'm not sure whether it's working and my messages are being reloaded...
Thats what its supposed to do.
__________________
Feel free to add me for private plugins My steam profile.
ESK0 is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 07-21-2017 , 10:39   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #502

Quote:
Originally Posted by ESK0 View Post
Thats what its supposed to do.
Yes, I must be doing something wrong cause my messages weren't being updated, like I was seeing messages that were like one week old, and weren't in the CFG anymore, is that possible?

Should I try and do a fresh install?
__________________
Obyboby is offline
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 07-21-2017 , 13:50   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #503

Quote:
Originally Posted by Obyboby View Post
Yes, I must be doing something wrong cause my messages weren't being updated, like I was seeing messages that were like one week old, and weren't in the CFG anymore, is that possible?

Should I try and do a fresh install?
Yes, sure.. try it.. but I only read from thee .cfg SO idk why you dont have them now.
__________________
Feel free to add me for private plugins My steam profile.
ESK0 is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 07-25-2017 , 17:18   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #504

I got a huge problem where the plugin only displays the first 3 messages I set in my CFG. Any idea why?

Code:
"ServerAdvertisements3"
{
  "Settings"
  {
    "ServerName" "[{Lime}EZGAMING{default}]" // Server tag
    "MySQL" "0" // If 1 -> Messages will be loaded from MySQL
    "ServerType" "default" // Only if MySQL is 1 -> Simply divide messages to groups (e.g. 3 servers uses ServerType surf and 2 servers uses jailbreak)
    "Time" "180" // Time in seconds
    "Languages"  "EN;IT" // List of languages / Keep the main language first (If player connect from Country you did not translated. He will get messages in language which is the first in list).
    "Default language" "geoip" // Value = "geoip" or "ingame"
    "Log expired messages" "0" // 1 = Enabled -> Messages are loged in Sourcemod's error log
  }
  "Welcome Message"
  {
    "Enabled" "1" // 1 = Enabled / 0 = Disabled,
    "Type" "T" // Type of message - T, H, C
    "it" "{orange}*************************************** \n{darkred}Benvenuto su EZGAMING {PLAYERNAME}! \n Per favore rispetta le regole, consultabili tramite !rules \n {lime}Visita il nostro sito ezgamingita.altervista.org \n {orange}***************************************"
    "en" "{orange}*************************************** \n{darkred}Welcome to EZGAMING {PLAYERNAME}! \n Please follow the rules, read them with !rules \n {lime}Visit our website ezgamingita.altervista.org\n {orange}***************************************"
    "Delay" "15.0" // Time in seconds after is client connected to server to show message
    "flags" "" // Client with this flag will get welcome message - Keep empty for all
  }
  "Messages"
  {
        "1"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Verifica le tue prestazioni scrivendo {Green}rank"
      "en" "Check out your performance by typing {Green}rank"
      "type" "T"
    }
        "2"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Sei tu il RE del NOSCOPE? \n Scoprilo con {Green}!mynoscop{Default} o {Green}!noscop"
      "en" "Are you the NO SCOPE KING? Find out by typing {Green}!mynoscop{Default} or {Green}!noscop"
      "type" "T"
    }
        "3"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Scrivi {Green}top {Default}per visualizzare i primi 10 giocatori in classifica!"
      "en" "Type {Green}top {Default} to see the top10 rank"
      "type" "T"
    }
  } 
  "4"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Usa {Purple}!takeknife {Default} per provare il coltello di un altro giocatore!"
      "en" "Use {Purpel}!takeknife {Default} to try another player's knife!"
      "type" "T"
    }
    "5"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Comandi RankMe: {Green}rank{Default}, {Green}next{Default}, {Green}top{Default}, {Green}tophs{Default} \n {Green}topweapon{Default}, {Green}topkills{Default}, {Green}topmvp{Default}, {Purple}hitboxme"
      "en" "RankMe commands: {Green}rank{Default}, {Green}next{Default}, {Green}top{Default}, {Green}tophs{Default} \n {Green}topweapon{Default}, {Green}topkills{Default}, {Green}topmvp{Default}, {Purple}hitboxme"
      "type" "T"
    }
      "6"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Visita il nostro sito! \n {Green}ezgamingita.altervista.org"
      "en" "Come pay us a visit! \n {Green}ezgamingita.altervista.org"
      "type" "H"
    }
      "7"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "TeamSpeak 3 server IP: {Green}95.141.36.163:9992"
      "en" "TeamSpeak 3 server IP: {Green}95.141.36.163:9992"
      "type" "T"
    }
          "8"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Aggiungi il server ai preferiti: {Green}95.141.36.163:27016"
      "en" "Bookmark our server: {Green}95.141.36.163:27016"
      "type" "T"
    }
              "9"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Il profilo Steam deve esser {Green}pubblico{Default} per permettere ai moderatori le dovute verifiche"
      "en" "Please keep your Steam profile {Green}public{Default} at all times while playing here"
      "type" "T"
    }
                  "10"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Chi vincerÓ il round? \n Piazza la tua scommessa con {Green}bet"
      "en" "Who's going to win this round? Place your bets by typing {Green}bet"
      "type" "T"
    }
                      "11"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Unisciti al gruppo e imposta la tag {Green}ezgamingita{Default}! \n Per te un {Purple}BONUS{Default} in game!"
      "en" "Join our Steam group and set our {Green}ezgamingita{Default} tag! \n An in-game {Purple}BONUS{Default} is available!"
      "type" "T"
    }
}

Also aren't those numbers before the messages really annoying?
I mean: "1" "2" etc..if, say, I delete message number "3", I would have to change all the next messages (4 becomes 3, 5 becomes 4, etc)
Maybe I don't need to put them in order at all? lol

edit: OH CRAP. I just noticed that extra } in the code. LOL I'm so retarded fixing rn! What about the other question tho?

Another question: since "Enabled" is set to 1 by default, can I remove it from the messages I plan to keep active at all times? Stupid question, sorry.. xD
__________________

Last edited by Obyboby; 07-25-2017 at 17:27.
Obyboby is offline
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 07-25-2017 , 23:49   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #505

Quote:
Originally Posted by Obyboby View Post
I got a huge problem where the plugin only displays the first 3 messages I set in my CFG. Any idea why?

Code:
"ServerAdvertisements3"
{
  "Settings"
  {
    "ServerName" "[{Lime}EZGAMING{default}]" // Server tag
    "MySQL" "0" // If 1 -> Messages will be loaded from MySQL
    "ServerType" "default" // Only if MySQL is 1 -> Simply divide messages to groups (e.g. 3 servers uses ServerType surf and 2 servers uses jailbreak)
    "Time" "180" // Time in seconds
    "Languages"  "EN;IT" // List of languages / Keep the main language first (If player connect from Country you did not translated. He will get messages in language which is the first in list).
    "Default language" "geoip" // Value = "geoip" or "ingame"
    "Log expired messages" "0" // 1 = Enabled -> Messages are loged in Sourcemod's error log
  }
  "Welcome Message"
  {
    "Enabled" "1" // 1 = Enabled / 0 = Disabled,
    "Type" "T" // Type of message - T, H, C
    "it" "{orange}*************************************** \n{darkred}Benvenuto su EZGAMING {PLAYERNAME}! \n Per favore rispetta le regole, consultabili tramite !rules \n {lime}Visita il nostro sito ezgamingita.altervista.org \n {orange}***************************************"
    "en" "{orange}*************************************** \n{darkred}Welcome to EZGAMING {PLAYERNAME}! \n Please follow the rules, read them with !rules \n {lime}Visit our website ezgamingita.altervista.org\n {orange}***************************************"
    "Delay" "15.0" // Time in seconds after is client connected to server to show message
    "flags" "" // Client with this flag will get welcome message - Keep empty for all
  }
  "Messages"
  {
        "1"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Verifica le tue prestazioni scrivendo {Green}rank"
      "en" "Check out your performance by typing {Green}rank"
      "type" "T"
    }
        "2"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Sei tu il RE del NOSCOPE? \n Scoprilo con {Green}!mynoscop{Default} o {Green}!noscop"
      "en" "Are you the NO SCOPE KING? Find out by typing {Green}!mynoscop{Default} or {Green}!noscop"
      "type" "T"
    }
        "3"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Scrivi {Green}top {Default}per visualizzare i primi 10 giocatori in classifica!"
      "en" "Type {Green}top {Default} to see the top10 rank"
      "type" "T"
    }
  } 
  "4"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Usa {Purple}!takeknife {Default} per provare il coltello di un altro giocatore!"
      "en" "Use {Purpel}!takeknife {Default} to try another player's knife!"
      "type" "T"
    }
    "5"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Comandi RankMe: {Green}rank{Default}, {Green}next{Default}, {Green}top{Default}, {Green}tophs{Default} \n {Green}topweapon{Default}, {Green}topkills{Default}, {Green}topmvp{Default}, {Purple}hitboxme"
      "en" "RankMe commands: {Green}rank{Default}, {Green}next{Default}, {Green}top{Default}, {Green}tophs{Default} \n {Green}topweapon{Default}, {Green}topkills{Default}, {Green}topmvp{Default}, {Purple}hitboxme"
      "type" "T"
    }
      "6"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Visita il nostro sito! \n {Green}ezgamingita.altervista.org"
      "en" "Come pay us a visit! \n {Green}ezgamingita.altervista.org"
      "type" "H"
    }
      "7"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "TeamSpeak 3 server IP: {Green}95.141.36.163:9992"
      "en" "TeamSpeak 3 server IP: {Green}95.141.36.163:9992"
      "type" "T"
    }
          "8"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Aggiungi il server ai preferiti: {Green}95.141.36.163:27016"
      "en" "Bookmark our server: {Green}95.141.36.163:27016"
      "type" "T"
    }
              "9"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Il profilo Steam deve esser {Green}pubblico{Default} per permettere ai moderatori le dovute verifiche"
      "en" "Please keep your Steam profile {Green}public{Default} at all times while playing here"
      "type" "T"
    }
                  "10"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Chi vincerÓ il round? \n Piazza la tua scommessa con {Green}bet"
      "en" "Who's going to win this round? Place your bets by typing {Green}bet"
      "type" "T"
    }
                      "11"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "it" "Unisciti al gruppo e imposta la tag {Green}ezgamingita{Default}! \n Per te un {Purple}BONUS{Default} in game!"
      "en" "Join our Steam group and set our {Green}ezgamingita{Default} tag! \n An in-game {Purple}BONUS{Default} is available!"
      "type" "T"
    }
}

Also aren't those numbers before the messages really annoying?
I mean: "1" "2" etc..if, say, I delete message number "3", I would have to change all the next messages (4 becomes 3, 5 becomes 4, etc)
Maybe I don't need to put them in order at all? lol

edit: OH CRAP. I just noticed that extra } in the code. LOL I'm so retarded fixing rn! What about the other question tho?

Another question: since "Enabled" is set to 1 by default, can I remove it from the messages I plan to keep active at all times? Stupid question, sorry.. xD
Yes, you can remove "Enabled" from all messages.. and "maps" also.. well the order is not really important... You can replace numbers with whatever you can imagine..
__________________
Feel free to add me for private plugins My steam profile.
ESK0 is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 07-26-2017 , 01:57   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #506

Quote:
Originally Posted by ESK0 View Post
Yes, you can remove "Enabled" from all messages.. and "maps" also.. well the order is not really important... You can replace numbers with whatever you can imagine..
great, thanks!!
__________________
Obyboby is offline
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 07-26-2017 , 05:57   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #507

Quote:
Originally Posted by Obyboby View Post
great, thanks!!
You are welcome.
__________________
Feel free to add me for private plugins My steam profile.
ESK0 is offline
Lord_Rofl
Senior Member
Join Date: Aug 2006
Location: Bad Pyrmont, Germany
Old 08-05-2017 , 05:18   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #508

is mysql fully functional? would be cool
Lord_Rofl is offline
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 08-05-2017 , 06:32   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #509

Quote:
Originally Posted by Lord_Rofl View Post
is mysql fully functional? would be cool
Not yet
__________________
Feel free to add me for private plugins My steam profile.
ESK0 is offline
red4911
Senior Member
Join Date: Sep 2010
Location: Russia
Old 08-14-2017 , 15:11   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #510

How to add messages to mysql database? Should the table be created automatically in the database?
red4911 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 03:17.


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