Raised This Month: $7 Target: $400
 1% 

[ANY] ServerAdvertisement3 - MultiLang | *UPDATED 05.04.2020* | *VERSION 3.1.4


Post New Thread Reply   
 
Thread Tools Display Modes
RyanHive
New Member
Join Date: Mar 2019
Old 11-14-2019 , 17:31   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #761

Hello,

One map out of two, the plugin does not display the colors.
The sentence is therefore completely green.

Where would this problem come from?


Thx
RyanHive is offline
GTAmama16
Member
Join Date: Jun 2019
Old 11-23-2019 , 17:16   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #762

hello, im pretty sure that i edit the correct .cfg file but when i type sm plugins list in consol its keep getting me the error of missing "en" translation in message 7

can you give me a quick check please ?

here are the .cfg files

Quote:
"ServerAdvertisements3"
{
"Settings"
{
"ServerName" "[{orange}SERVER{default}]" // Server tag
"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" "30.0" // Time in seconds
"Languages" "EN;TW" // 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 - Only T and C types are supported right now
"en" "{orange}************************************ *** \n{darkred}Welcome to this server {PLAYERNAME}!"
"tw" "{darkred} {PLAYERNAME}歡迎來到 {SERVERNAME} ! {lime} 祝您有個美好的一天!!"
"Delay" "5.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" "0" // Message is temporarily disabled - Default: 1
"enabledtill" "30.05.2017" // Date DD/MM/YYYY -> Message will be available till 30. May 2017
"maps" "all" //- Default: all
"en" "Current map is: {CURRENTMAP} \n Players online: {PLAYERCOUNT} \n Next map: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravity: {sv_gravity}"
"tw" "{darkred} 目前地圖是 {CURRENTMAP}"
"type" "T"
"tag" "[{darkred}SYSTEM{default}]"
}
"2"
{
"enabled" "1" // Message is enabled
"maps" "all"
"en" "{darkred} Hi welcome to {SERVERNAME} Have a nice day, The current map is (CURRENTMAP}!"
"tw" "{darkred} 你好 {Green}{PLAYERNAME}{Default} {Purple}伺服器名稱 {Blue}{SERVERNAME} ,當前的地圖為 {Grey}{CURRENTMAP}"
"type" "T"
"flag" ""
}
"3"
{
"enabled" "1"
"maps" "all"
"en" "{darkred} you can type {green}!ws {default}in chat for choosing weapon skins, {purple}!gloves {default}for choosing gloves and {lime}!knife {default}for the knives"
"tw" "{darkred} 輸入 {green} !ws {dafault} 來選擇您的武器皮膚 , {purple} !gloves {default}可以選擇手套, {lime} !knife {default{ 可以選擇刀的種類"
"type" "T"
"tag" "" // Message without tag
"flag" ""
}
"4" // Message with "ServerName" option tag
{
"enabled" "1"
"maps" "all"
"en" "join our discord for more inforamtion https://discordapp.com/invite/SrUpPjP"
"tw" "{darkred} 歡迎加入官方Discord:https://discordapp.com/invite/SrUpPjP"
"type" "T"
"flag" ""
}
"5"
{
"enabled" "1"
"maps" "all"
"en" "Please follow the follwing rules, DO NOT use any bugs or hack, the resault is getting a permanent ban!!"
"tw" "禁止使用任何外掛, bug等破壞平衡的方法 違者一律永久封鎖!!"
"type" "T"
"tag" ""
"flag" ""
}
"6"
{
"enabled" "1"
"maps" "all"
"en" "Offical Steam Group https://steamcommunity.com/groups/kennyretakehvhserver"
"tw" "歡迎加入官方Steam群組https://steamcommunity.com/groups/kennyretakehvhserver"
"type" "T"
"tag" ""
"flag" ""
}
"7"
{
"enabled" "1"
"maps" "all"
"en" "please type votekick in chat for kicking grifers"
"tw" "遇到白目來亂的請善用votekick指令踢人""
"type" "T"
"tag" ""
"flag" ""
}
"8"
{
"enabled" "1"
"maps" "all"
"en" "please type !call in chat for calling admins, you can use it to report players for griefig, hacking, etc"
"tw" "新增呼叫管理員上線插件 如果遇到白目or外掛請使用!call來呼叫管理員"
"type" "T"
"tag" ""
"flag" ""
}
"9"
{
"enabled" "1"
"maps" "all"
"en" "feel free to contact me via discord:GTAmama16#6969"
"tw" "有問題請私密我Dicsord:GTAmama16#6969"
"type" "T"
"tag" ""
"flag" ""
}
"" // HUD MESSAGE
{
"enabled" "0"
"maps" "zm_"
"en" "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"
"tw" "{darkred} 這是測試訊息"
"type" "h"
"color" "255 112 0" // RGB (R G B)
"color2" "255 255 51" // RGB (R G B)
"effect" "2" // 0,1,2
"channel" "5" // Any number
"posx" "-1.0" //left to right
"posy" "0.05" //top to bottom
"fadein" "0.2" //Fade in time
"fadeout" "0.2" //Fade out time
"holdtime" "5.0" //Message hold time
}
}
}
GTAmama16 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 11-23-2019 , 17:21   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #763

Quote:
Originally Posted by GTAmama16 View Post
hello, im pretty sure that i edit the correct .cfg file but when i type sm plugins list in consol its keep getting me the error of missing "en" translation in message 7

can you give me a quick check please ?

here are the .cfg files
Message 7 has one quotation mark - "" - the most.

Code:
"tw" "遇到白目來亂的請善用votekick指令踢人""
paulo_crash is offline
GTAmama16
Member
Join Date: Jun 2019
Old 12-01-2019 , 12:15   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #764

Quote:
Originally Posted by paulo_crash View Post
Message 7 has one quotation mark - "" - the most.

Code:
"tw" "遇到白目來亂的請善用votekick指令踢人""
well i fix it by editing under the linux instead of windows, since my server is running under linux
GTAmama16 is offline
mscorp
Junior Member
Join Date: Oct 2006
Old 12-03-2019 , 00:23   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #765

hello my friends, sorry for my english.
I´have a server with this plugin, and until a month or two ago it´s working perfectly! but now the central message is displayed as the html code:
so

<font color='#ffca18'> www.mdkonline.com.ar </font>

I made many modifications and I could not solve so that the message is seen correctly.


Please see only the message 3 configuration, the rest of the messages work perfectly.

If you have any ideas to fix it, I would appreciate it very much. Thank!!

The code cfg is this:


--------------------------------------------------------------
---------------------------------------------------------------------------
"ServerAdvertisements3"

{

"Settings"

{

"ServerName" "[{orange}MDK{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" "40" // Time in seconds

"Languages" "SP;EN;PT" // 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

"ServerTracker" "1" // 1 = Enabled, 0 = Disabled
}
"Welcome message"
{

"Enabled" "1" // 1 = Enabled / 0 = Disabled,

"Type" "T" // Type of message - Only T and C types are supported right now

"EN" "{orange}************************************ *** \n{darkred}Welcome to our server {lime}{PLAYERNAME}! \n {lime}This server uses Easy Anticheat - download from Steam \n Author: {bluegrey}https://www.easy.ac/None/esports/\n{orange}*********************************** ****"

"SP" "{orange}************************************ *** \n{darkred}Bienvenido a nuestro server {lime}{PLAYERNAME}! \n {lime}Este server usa Easy Anticheat - instalar desde Steam \n Author: {bluegrey}https://www.easy.ac/None/esports/\n{orange}*********************************** ****"

"PT" "{orange}************************************ *** \n{darkred}Bem-vindo ao nosso servidor {lime}{PLAYERNAME}! \n {lime}Este servidor usa Easy Anticheat - instalar desde Steam \n Author: {bluegrey}https://www.easy.ac/None/esports/\n{orange}*********************************** ****"


"Delay" "5.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" // "0" Message is temporarily disabled - Default: 1

"enabledtill" "30.05.2018" // Date DD/MM/YYYY -> Message will be available till 30. May 2018

"maps" "all" //- Default: all

"EN" "Current map is: {CURRENTMAP} \n Players online: {PLAYERCOUNT} \n Friendly fire: {mp_friendlyfire} \n Gravity: {sv_gravity}"

"SP" "El mapa es: {CURRENTMAP} \n Jugadores online: {PLAYERCOUNT} \n Friendly fire: {mp_friendlyfire} \n Gravedad: {sv_gravity}"
"PT" "O mapa é: {CURRENTMAP} \n Jogadores online: {PLAYERCOUNT} \n Friendly fire: {mp_friendlyfire} \n Gravedad: {sv_gravity}"
"type" "T"

"tag" "[{lime}MDK{default}]"

"ignore_maps" "de_inferno;ar_"

}

"2"

{

"enabled" "1" // Message is enabled

"maps" "all"

"EN" "Admines online: {ADMINSONLINE}"
"SP" "Admines online: {ADMINSONLINE}"
"PT" "Admines online: {ADMINSONLINE}"

"type" "T"

"tag" "[{lime}MDK{default}]"

"ignore" "a"

"ignore_maps" "de_dust2"
}
"3"
{
"enabled" "1" // Message is enabled
"maps" "all"
"EN" "Visita <font color='#ffca18'> www.mdkonline.com.ar </font>"
"SP" "Visita <font color='#ffca18'> www.mdkonline.com.ar </font>"
"PT" "Visita <font color='#ffca18'> www.mdkonline.com.ar </font>"
"type" "C"
"tag" "" // Message without tag
}

"4" // Message with "ServerName" option tag
{
"enabled" "1" // Message is enabled


"maps" "all"

"EN" "Message 4"

"SP" "grupo Steam: {bluegrey} http://steamcommunity.com/groups/mdkonline \n grupo Facebook: {bluegrey} https://www.facebook.com/groups/mdkonline/ \n {lime} En MDK las skins son de sus dueños - musica, insultos o mangueo de skins puede causar ban"
"PT" "grupo Steam: {bluegrey} http://steamcommunity.com/groups/mdkonline \n grupo Facebook: {bluegrey} https://www.facebook.com/groups/mdkonline/ \n {lime} En MDK las skins son de sus dueños - musica, insultos o mangueo de skins puede causar ban"

"type" "t"

}

"5" // HUD MESSAGE

{

"enabled" "1"

"maps" "zm_"

"EN" "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"

"CZ" "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"

"type" "h"

"color" "255 112 0" // RGB (R G B)

"color2" "255 255 51" // RGB (R G B)

"effect" "2" // 0,1,2

"channel" "5" // Any number

"posx" "-1.0" //left to right

"posy" "0.05" //top to bottom

"fadein" "0.2" //Fade in time

"fadeout" "0.2" //Fade out time

"holdtime" "5.0" //Message hold time

}

}

}
mscorp is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 12-03-2019 , 00:28   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #766

Quote:
Originally Posted by mscorp View Post
hello my friends, sorry for my english.
I´have a server with this plugin, and until a month or two ago it´s working perfectly! but now the central message is displayed as the html code:
so

<font color='#ffca18'> www.mdkonline.com.ar </font>

I made many modifications and I could not solve so that the message is seen correctly.


Please see only the message 3 configuration, the rest of the messages work perfectly.

If you have any ideas to fix it, I would appreciate it very much. Thank!!

The code cfg is this:


--------------------------------------------------------------
---------------------------------------------------------------------------
"ServerAdvertisements3"

{

"Settings"

{

"ServerName" "[{orange}MDK{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" "40" // Time in seconds

"Languages" "SP;EN;PT" // 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

"ServerTracker" "1" // 1 = Enabled, 0 = Disabled
}
"Welcome message"
{

"Enabled" "1" // 1 = Enabled / 0 = Disabled,

"Type" "T" // Type of message - Only T and C types are supported right now

"EN" "{orange}************************************ *** \n{darkred}Welcome to our server {lime}{PLAYERNAME}! \n {lime}This server uses Easy Anticheat - download from Steam \n Author: {bluegrey}https://www.easy.ac/None/esports/\n{orange}*********************************** ****"

"SP" "{orange}************************************ *** \n{darkred}Bienvenido a nuestro server {lime}{PLAYERNAME}! \n {lime}Este server usa Easy Anticheat - instalar desde Steam \n Author: {bluegrey}https://www.easy.ac/None/esports/\n{orange}*********************************** ****"

"PT" "{orange}************************************ *** \n{darkred}Bem-vindo ao nosso servidor {lime}{PLAYERNAME}! \n {lime}Este servidor usa Easy Anticheat - instalar desde Steam \n Author: {bluegrey}https://www.easy.ac/None/esports/\n{orange}*********************************** ****"


"Delay" "5.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" // "0" Message is temporarily disabled - Default: 1

"enabledtill" "30.05.2018" // Date DD/MM/YYYY -> Message will be available till 30. May 2018

"maps" "all" //- Default: all

"EN" "Current map is: {CURRENTMAP} \n Players online: {PLAYERCOUNT} \n Friendly fire: {mp_friendlyfire} \n Gravity: {sv_gravity}"

"SP" "El mapa es: {CURRENTMAP} \n Jugadores online: {PLAYERCOUNT} \n Friendly fire: {mp_friendlyfire} \n Gravedad: {sv_gravity}"
"PT" "O mapa é: {CURRENTMAP} \n Jogadores online: {PLAYERCOUNT} \n Friendly fire: {mp_friendlyfire} \n Gravedad: {sv_gravity}"
"type" "T"

"tag" "[{lime}MDK{default}]"

"ignore_maps" "de_inferno;ar_"

}

"2"

{

"enabled" "1" // Message is enabled

"maps" "all"

"EN" "Admines online: {ADMINSONLINE}"
"SP" "Admines online: {ADMINSONLINE}"
"PT" "Admines online: {ADMINSONLINE}"

"type" "T"

"tag" "[{lime}MDK{default}]"

"ignore" "a"

"ignore_maps" "de_dust2"
}
"3"
{
"enabled" "1" // Message is enabled
"maps" "all"
"EN" "Visita <font color='#ffca18'> www.mdkonline.com.ar </font>"
"SP" "Visita <font color='#ffca18'> www.mdkonline.com.ar </font>"
"PT" "Visita <font color='#ffca18'> www.mdkonline.com.ar </font>"
"type" "C"
"tag" "" // Message without tag
}

"4" // Message with "ServerName" option tag
{
"enabled" "1" // Message is enabled


"maps" "all"

"EN" "Message 4"

"SP" "grupo Steam: {bluegrey} http://steamcommunity.com/groups/mdkonline \n grupo Facebook: {bluegrey} https://www.facebook.com/groups/mdkonline/ \n {lime} En MDK las skins son de sus dueños - musica, insultos o mangueo de skins puede causar ban"
"PT" "grupo Steam: {bluegrey} http://steamcommunity.com/groups/mdkonline \n grupo Facebook: {bluegrey} https://www.facebook.com/groups/mdkonline/ \n {lime} En MDK las skins son de sus dueños - musica, insultos o mangueo de skins puede causar ban"

"type" "t"

}

"5" // HUD MESSAGE

{

"enabled" "1"

"maps" "zm_"

"EN" "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"

"CZ" "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"

"type" "h"

"color" "255 112 0" // RGB (R G B)

"color2" "255 255 51" // RGB (R G B)

"effect" "2" // 0,1,2

"channel" "5" // Any number

"posx" "-1.0" //left to right

"posy" "0.05" //top to bottom

"fadein" "0.2" //Fade in time

"fadeout" "0.2" //Fade out time

"holdtime" "5.0" //Message hold time

}

}

}
the fix: https://github.com/Franc1sco/FixHint...sages/tree/dev
freak.exe_uLow is offline
GTAmama16
Member
Join Date: Jun 2019
Old 12-12-2019 , 05:45   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #767

well i have another problem, the plugin work great at the first 8 messages, but when i add the 9th message, it just doesnt show up, pretty sure all the format are correct, anyone else having this problem ?
GTAmama16 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-12-2019 , 12:21   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #768

Quote:
Originally Posted by GTAmama16 View Post
well i have another problem, the plugin work great at the first 8 messages, but when i add the 9th message, it just doesnt show up, pretty sure all the format are correct, anyone else having this problem ?
Put here the config you are using in the file, so we can check and help you.
paulo_crash is offline
GTAmama16
Member
Join Date: Jun 2019
Old 12-13-2019 , 08:34   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #769

Quote:
Originally Posted by paulo_crash View Post
Put here the config you are using in the file, so we can check and help you.
Code:
"ServerAdvertisements3"
{
  "Settings"
  {
    "ServerName" "[{orange}SERVER{default}]" // Server tag
    "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" "30.0" // Time in seconds
    "Languages"  "EN;TW" // 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 - Only T and C types are supported right now
    "en" "{orange}*************************************** \n{darkred}Welcome to this server {PLAYERNAME}!"
    "tw" "{darkred} *************************************** \n{PLAYERNAME} 歡迎來到 {blue} {SERVERNAME} ! {lime} 祝您有個美好的一天!!"
    "Delay" "5.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" "0" // Message is temporarily disabled - Default: 1
      "enabledtill" "30.05.2099" // Date DD/MM/YYYY -> Message will be available till 30. May 2017
      "maps" "all" //- Default: all
      "en" "Current map is: {CURRENTMAP} \n Players online: {PLAYERCOUNT} \n Next map: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravity: {sv_gravity}"
      "tw"  "{darkred} 目前地圖是 {CURRENTMAP}"
      "type" "T"
      "tag" "[{darkred}肯尼仔]"
    }
    "2"
    {
      "enabled" "1" // Message is enabled
      "maps" "all"
      "en" "{darkred} Hi welcome to {SERVERNAME} Have a nice day, The current map is (CURRENTMAP}!"
      "tw"  "{darkred}  你好 {Green}{PLAYERNAME}{Default} {Purple}伺服器名稱 {Blue}{SERVERNAME} ,當前的地圖為 {Grey}{CURRENTMAP}"
      "type" "T"
	  "flag" ""
       "tag" "{darkred}[肯尼仔]"
    }
    "3"
    {
	  "enabled" "1"
      "maps" "all"
      "en" "{darkred} you can type {green}!ws {default}in chat for choosing weapon skins, {purple}!gloves {default}for choosing gloves and {lime}!knife {default}for the knives, {red} !guns can choose between different weapons"
      "tw"  " 輸入 {green} !ws {default} 來選擇您的武器皮膚 , {purple} !gloves {default}可以選擇手套, {lime} !knife {default} 可以選擇刀的種類, {red} !guns 可以選擇槍枝"
      "type" "T"
      "tag" "{darkred}[肯尼仔]" // Message without tag
	  "flag" ""
    }
    "4" // Message with "ServerName" option tag
    {
      "enabled" "1"
      "maps" "all"
      "en" "join our discord for more inforamtion https://discord.gg/z6nXPna"
      "tw"  "{darkred} 歡迎加入官方Discord:https://discord.gg/z6nXPna"
      "type" "t"
	  "tag" "{darkred}[肯尼仔]"
    }
	"5"
    {
	"en"	"Please follow the follwing rules, DO NOT use any bugs or hack, the resault is getting a permanent ban!!"
	"tw"	"禁止使用任何外掛, bug等破壞平衡的方法 違者一律永久封鎖!!"
	"type" "T"
	"tag" "{darkred}[肯尼仔]"
	"flag" ""
    }
	"6"
    {
	"en"	"please type !call in the chat for reporting players"
	"tw"	"新增呼叫管理員上線插件 如果遇到白目or外掛請使用!call來呼叫管理員"
	"type" "T"
	"tag" "{darkred}[肯尼仔]"
    }
	"7"
    {
	"en"	"please type votekick in chat for kicking griefers"
	"tw"	"遇到白目來亂的請善用votekick指令踢人"
	"type"	"T"
	"tag" "{darkred}[肯尼仔]"
    }
	"8"
    {
	"en"	"our offical steam group:https://steamcommunity.com/groups/kennyretakehvhserver"
	"tw"	"歡迎加入官方Steam群組https://steamcommunity.com/groups/kennyretakehvhserver"
	"type" "T"
	"tag" "{darkred}[肯尼仔]"
    }
	"9"
    {
	"en"	"type !sa3lang in chat for choosing different language for the advertisment"
	"tw"	"輸入!sa3lang來更改左下廣告語言"
	"type" T"
    }
	"10"
    {
	"en" "RankMe score will be reset at 01/01/2020"
	"tw" "RankMe分數將在01/01/2020重置"
	"type"  "T"
    }
GTAmama16 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-13-2019 , 11:17   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #770

Quote:
Originally Posted by GTAmama16 View Post
Spoiler
You are missing some "quotes" in message 9 and missing the "}" key at the end of config.

Follows the config all corrected:
Code:
"ServerAdvertisements3"
{
  "Settings"
  {
    "ServerName" "[{orange}SERVER{default}]" // Server tag
    "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" "30.0" // Time in seconds
    "Languages"  "EN;TW" // 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 - Only T and C types are supported right now
    "en" "{orange}*************************************** \n{darkred}Welcome to this server {PLAYERNAME}!"
    "tw" "{darkred} *************************************** \n{PLAYERNAME} 歡迎來到 {blue} {SERVERNAME} ! {lime} 祝您有個美好的一天!!"
    "Delay" "5.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" "0" // Message is temporarily disabled - Default: 1
      "enabledtill" "30.05.2099" // Date DD/MM/YYYY -> Message will be available till 30. May 2017
      "maps" "all" //- Default: all
      "en" "Current map is: {CURRENTMAP} \n Players online: {PLAYERCOUNT} \n Next map: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravity: {sv_gravity}"
      "tw"  "{darkred} 目前地圖是 {CURRENTMAP}"
      "type" "T"
      "tag" "[{darkred}肯尼仔]"
    }
    "2"
    {
      "enabled" "1" // Message is enabled
      "maps" "all"
      "en" "{darkred} Hi welcome to {SERVERNAME} Have a nice day, The current map is (CURRENTMAP}!"
      "tw"  "{darkred}  你好 {Green}{PLAYERNAME}{Default} {Purple}伺服器名稱 {Blue}{SERVERNAME} ,當前的地圖為 {Grey}{CURRENTMAP}"
      "type" "T"
	  "flag" ""
       "tag" "{darkred}[肯尼仔]"
    }
    "3"
    {
	  "enabled" "1"
      "maps" "all"
      "en" "{darkred} you can type {green}!ws {default}in chat for choosing weapon skins, {purple}!gloves {default}for choosing gloves and {lime}!knife {default}for the knives, {red} !guns can choose between different weapons"
      "tw"  " 輸入 {green} !ws {default} 來選擇您的武器皮膚 , {purple} !gloves {default}可以選擇手套, {lime} !knife {default} 可以選擇刀的種類, {red} !guns 可以選擇槍枝"
      "type" "T"
      "tag" "{darkred}[肯尼仔]" // Message without tag
	  "flag" ""
    }
    "4" // Message with "ServerName" option tag
    {
      "enabled" "1"
      "maps" "all"
      "en" "join our discord for more inforamtion https://discord.gg/z6nXPna"
      "tw"  "{darkred} 歡迎加入官方Discord:https://discord.gg/z6nXPna"
      "type" "t"
	  "tag" "{darkred}[肯尼仔]"
    }
	"5"
    {
	"en"	"Please follow the follwing rules, DO NOT use any bugs or hack, the resault is getting a permanent ban!!"
	"tw"	"禁止使用任何外掛, bug等破壞平衡的方法 違者一律永久封鎖!!"
	"type" "T"
	"tag" "{darkred}[肯尼仔]"
	"flag" ""
    }
	"6"
    {
	"en"	"please type !call in the chat for reporting players"
	"tw"	"新增呼叫管理員上線插件 如果遇到白目or外掛請使用!call來呼叫管理員"
	"type" "T"
	"tag" "{darkred}[肯尼仔]"
    }
	"7"
    {
	"en"	"please type votekick in chat for kicking griefers"
	"tw"	"遇到白目來亂的請善用votekick指令踢人"
	"type"	"T"
	"tag" "{darkred}[肯尼仔]"
    }
	"8"
    {
	"en"	"our offical steam group:https://steamcommunity.com/groups/kennyretakehvhserver"
	"tw"	"歡迎加入官方Steam群組https://steamcommunity.com/groups/kennyretakehvhserver"
	"type" "T"
	"tag" "{darkred}[肯尼仔]"
    }
	"9"
    {
	"en"	"type !sa3lang in chat for choosing different language for the advertisment"
	"tw"	"輸入!sa3lang來更改左下廣告語言"
	"type" "T"
    }
	"10"
    {
	"en" "RankMe score will be reset at 01/01/2020"
	"tw" "RankMe分數將在01/01/2020重置"
	"type"  "T"
    }
}
paulo_crash 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 02:20.


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