AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 05.04.2020* | *VERSION 3.1.4 (https://forums.alliedmods.net/showthread.php?t=248314)

ESK0 07-19-2017 23:47

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

Originally Posted by Obyboby (Post 2536467)
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.

Obyboby 07-21-2017 10:39

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

Originally Posted by ESK0 (Post 2536495)
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?

ESK0 07-21-2017 13:50

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

Originally Posted by Obyboby (Post 2536772)
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.

Obyboby 07-25-2017 17:18

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
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 :D 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

ESK0 07-25-2017 23:49

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

Originally Posted by Obyboby (Post 2537757)
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 :D 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..

Obyboby 07-26-2017 01:57

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

Originally Posted by ESK0 (Post 2537810)
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!!

ESK0 07-26-2017 05:57

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

Originally Posted by Obyboby (Post 2537818)
great, thanks!!

You are welcome.

Lord_Rofl 08-05-2017 05:18

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
is mysql fully functional? would be cool :)

ESK0 08-05-2017 06:32

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

Originally Posted by Lord_Rofl (Post 2539731)
is mysql fully functional? would be cool :)

Not yet

red4911 08-14-2017 15:11

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
How to add messages to mysql database? Should the table be created automatically in the database?


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

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