Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
WardPearce
Senior Member
Join Date: Apr 2017
Location: New Zealand
Old 11-24-2017 , 17:46   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #571

Hey,
How can I create a message what plays once per map?
I tried myself & it spammed the chat every 2 seconds.
WardPearce is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 11-25-2017 , 03:14   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #572

Quote:
Originally Posted by WardPearce View Post
Hey,
How can I create a message what plays once per map?
I tried myself & it spammed the chat every 2 seconds.
You can’t
ESK0 is offline
WardPearce
Senior Member
Join Date: Apr 2017
Location: New Zealand
Old 11-27-2017 , 03:36   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #573

Am I able to to have a delayed message in chat for the whole server to see?
WardPearce is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 11-27-2017 , 05:21   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #574

Quote:
Originally Posted by WardPearce View Post
Am I able to to have a delayed message in chat for the whole server to see?
No there is only one global timer for all messages.
ESK0 is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-27-2017 , 13:24   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #575

I really need to fix the issue where my messages are only partially loaded.
How can I start fresh without having to rewrite all the messages?

PHP Code:
"ServerAdvertisements3"
{
  
"Settings"
  
{
    
"ServerName" "[{Lime}nudonudo{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" "240" // 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" "ingame" // 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" "{Purple}<><><><><><><><><><><><><><><><><><><><>\n{Lime}Benvenuto su nudonudo, {Purple}{PLAYERNAME}! \n Per favore rispetta le regole, consultabili tramite {Green}!rules \n {lime}Cerchiamo moderatori! \n Unisciti al nostro gruppo Steam! Scrivi {Green}!group {Default}in chat\n {Purple}<><><><><><><><><><><><><><><><><><><><>"
    "en" "{Purple}<><><><><><><><><><><><><><><><><><><><>\n{Lime}Welcome to nudonudo, {Purple}{PLAYERNAME}! \n Please follow the rules, read them with {Green}!rules \n {lime}Visit our website: http://nudonudo.it \n Join our Steam group! Type {Green}!group {Default}for more\n {Purple}<><><><><><><><><><><><><><><><><><><><>"
    "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
      
"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
      
"it" "Sei tu il RE del NOSCOPE? \n Scoprilo con {Green}!mynoscope{Default} o {Green}!noscope"
      "en" "Are you the NO SCOPE KING? Find out by typing {Green}!mynoscope{Default} or {Green}!noscope"
      "type" "T"
    
}
        
"3"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"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
      
"it" "Usa {Green}!takeknife {Default}per provare il coltello di un altro giocatore!"
      "en" "Use {Green}!takeknife {Default}to try another player's knife!"
      "type" "T"
    
}
        
"5"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"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}, {Green}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}, {Green}hitboxme"
      "type" "T"
    
}
        
"6"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"it" "Visita il nostro sito! \n Scrivi {Green}!nudo {Default}oppure vai su {Green}nudonudo.it"
      "en" "Come pay us a visit! \n Type {Green}!nudo {Default}or go to {Green}nudonudo.it"
      "type" "T"
    
}
        
"7"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"it" "Server Discord online! \n{Green}http://discord.gg/gWfRq7C{Default} nel tuo browser per accedere"
      "en" "Discord server online! \n{Green}http://discord.gg/gWfRq7C{Default} in your browser to join"
      "type" "T"
    
}
        
"8"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"it" "Mettici tra i preferiti: {Green}95.141.36.163:27016"
      "en" "Bookmark us: {Green}95.141.36.163:27016"
      "type" "T"
    
}
        
"9"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"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
      
"it" "Chi vincerŕ il round? \n Piazza la tua scommessa digitando {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
      
"it" "Unisciti al gruppo e imposta la tag {Green}nudonudo{Default}! \n Per te un {Purple}BONUS{Default} in game! Digita {Green}!group"
      "en" "Join our Steam group and set our {Green}nudonudo{Default} tag! \n An in-game {Purple}BONUS{Default} is available! Type {Green}!group"
      "type" "T"
    
}
        
"12"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"it" "Per proposte, reclami, contatti con lo staff: \n Digita {Green}!nudo {Default}oppure vai su {Green}nudonudo.it"
      "en" "Get in touch with us & keep up to date about the server: \n Type {Green}!nudo {Default}or surf to {Green}nudonudo.it"
      "type" "T"
    
}
        
"14"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"it" "Player rumorosi o tossici in team? Digita {Green}!sm{Default} per risolvere :)"
      "en" "Toxic or noisy player in your team? Type {Green}!sm{Default} to fix that! :)"
      "type" "T"
    
}
        
"15"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"it" "Stiamo attualmente cercando moderatori. Contattare l'admin {Green}baking soda"
      "en" "We're hiring! Get in touch with {Green}baking soda{Default} for more information."
      "type" "T"
    
}
        
"16"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"it" "Se vuoi sostenerci, effettua una donazione! PayPal o Steam offer. Visita il gruppo per info"
      "en" "If you like our server, please consider donating! PayPal or Steam offers are welcome. Visit our group for more"
      "type" "T"
    
}
  }

The syntax looks fine to me....
it stops loading at message number 13.

Oh well, hang on, I actually removed number 13 (u can see it skips from 12 to 14) but it still gives the same error :/


EDIT: somehow fixed it, prolly deleting that message removed the issue
__________________

Last edited by Obyboby; 11-28-2017 at 01:03.
Obyboby is offline
mscorp
Junior Member
Join Date: Oct 2006
Old 11-27-2017 , 21:16   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #576

hello, sorry for my english, it´s my config, and the plugin don´t work. I´m not idea of programming, sorry. Only copy paste, and fill with my data. The path for the config it´s correct.

The error message is this:


20 <Failed> "ServerAdvertisements3" (3.1.3) by ESK0
Errors:
ServerAdvertisements3.smx (ServerAdvertisements3): [SA3] Unable to find Settings in addons/sourcemod/configs/ServerAdvertisements3.cfg


thanks for your sweet help!


"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" "5" // Time in seconds
"Languages" "EN;SP;PT;CZ" // 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 type supported right now
"en" "{orange}************************************ * ** \n{darkred}Welcome to this server {PLAYERNAME}! \n {lime}This server uses ServerAdvertisements3 \n Author: {bluegrey}www.steamcommunity.com/id/esk0\n{orange}******************************* ********"
"sp" "{orange}************************************ *** \n{darkred}Bienvenido a MDKonline {PLAYERNAME}!- visita www.mdkonline.com.ar\n {lime}Este server usa ServerAdvertisements3 \n Author: {bluegrey}www.steamcommunity.com/id/esk0\n{orange}******************************* ********"

"pt" "{orange}************************************ *** \n{darkred}Bem-vindo ao nosso servidor {PLAYERNAME}! \n {lime}Este servidor usa ServerAdvertisements3 \n Author: {bluegrey}www.steamcommunity.com/id/esk0\n{orange}******************************* ********"

"cz" "{orange}************************************ * ** \n{darkred}Vítej na tomto serveru {PLAYERNAME}! \n {lime}Tento server používá ServerAdvertisements3 \n Autor: {bluegrey}www.steamcommunity.com/id/esk0\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 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}"
"sp" "El mapa es: {CURRENTMAP} \n Jugadores online: {PLAYERCOUNT} \n Proximo mapa: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravedad: {sv_gravity}"
"pt" "O mapa é: {CURRENTMAP} \n Jogadores online: {PLAYERCOUNT} \n Proximo mapa: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravedad: {sv_gravity}"
"cz" "Momentálně se hraje: {CURRENTMAP} \n Počet hráčů: {PLAYERCOUNT} \n Příští mapa: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravitace: {sv_gravity}"
"type" "T"
"tag" "[{darkred}SYSTEM{default}]"
"ignore_maps" "de_inferno;ar_"
}
"2"
{
"enabled" "1" // Message is enabled
"maps" "all"
"en" "Message 2"
"sp" "Admines online: {ADMINSONLINE}"
"pt" "Admines online: {ADMINSONLINE}"
"cz" "Admini: {ADMINSONLINE}"
"type" "T"
"tag" "[{lime}VIP{default}]"
"ignore" "a"
"ignore_maps" "de_dust2"
}
"3"
{
"maps" "de_;ar_"
"en" "Message 3"
"cz" "<font color='#ff00ff'>Zpráva 3!</font>"
"type" "C"
"tag" "" // Message without tag
}
"4" // Message with "ServerName" option tag
{
"maps" "zm_"
"en" "Message 4"
"cz" "Zprava 4"
"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
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-28-2017 , 01:05   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #577

First of all it's easier to read the cfg if you post it with php or code quotes

PHP Code:
"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" "5" // Time in seconds
"Languages" "EN;SP;PT;CZ" // 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 type supported right now
"en" "{orange}************************************ * ** \n{darkred}Welcome to this server {PLAYERNAME}! \n {lime}This server uses ServerAdvertisements3 \n Author: {bluegrey}www.steamcommunity.com/id/esk0\n{orange}******************************* ********"
"sp" "{orange}************************************ *** \n{darkred}Bienvenido a MDKonline {PLAYERNAME}!- visita www.mdkonline.com.ar\n {lime}Este server usa ServerAdvertisements3 \n Author: {bluegrey}www.steamcommunity.com/id/esk0\n{orange}******************************* ********"

"pt" "{orange}************************************ *** \n{darkred}Bem-vindo ao nosso servidor {PLAYERNAME}! \n {lime}Este servidor usa ServerAdvertisements3 \n Author: {bluegrey}www.steamcommunity.com/id/esk0\n{orange}******************************* ********"

"cz" "{orange}************************************ * ** \n{darkred}Vítej na tomto serveru {PLAYERNAME}! \n {lime}Tento server používá ServerAdvertisements3 \n Autor: {bluegrey}www.steamcommunity.com/id/esk0\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 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}"
"sp" "El mapa es: {CURRENTMAP} \n Jugadores online: {PLAYERCOUNT} \n Proximo mapa: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravedad: {sv_gravity}"
"pt" "O mapa é: {CURRENTMAP} \n Jogadores online: {PLAYERCOUNT} \n Proximo mapa: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravedad: {sv_gravity}" 
"cz" "Momentálně se hraje: {CURRENTMAP} \n Počet hráčů: {PLAYERCOUNT} \n Příští mapa: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravitace: {sv_gravity}"
"type" "T"
"tag" "[{darkred}SYSTEM{default}]"
"ignore_maps" "de_inferno;ar_"
}
"2"
{
"enabled" "1" // Message is enabled
"maps" "all"
"en" "Message 2"
"sp" "Admines online: {ADMINSONLINE}" 
"pt" "Admines online: {ADMINSONLINE}"
"cz" "Admini: {ADMINSONLINE}"
"type" "T"
"tag" "[{lime}VIP{default}]"
"ignore" "a"
"ignore_maps" "de_dust2"
}
"3"
{
"maps" "de_;ar_"
"en" "Message 3"
"cz" "<font color='#ff00ff'>Zpráva 3!</font>"
"type" "C"
"tag" "" 
// Message without tag
}
"4" // Message with "ServerName" option tag
{
"maps" "zm_"
"en" "Message 4"
"cz" "Zprava 4"
"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
}
}

Plugin says it's unable to find the settings in that file so something must be messed up in the syntax in the settings section i guess

Did you save the file in the correct format as the first post says?
__________________

Last edited by Obyboby; 11-28-2017 at 01:06.
Obyboby is offline
mscorp
Junior Member
Join Date: Oct 2006
Old 11-28-2017 , 20:52   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #578

Sorry, I´unknown php. The config file edited with notepad of windows 10, and save with it. No more.

thanks!
mscorp is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-29-2017 , 02:49   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #579

Quote:
Originally Posted by mscorp View Post
Sorry, I´unknown php. The config file edited with notepad of windows 10, and save with it. No more.

thanks!
From the first post:

PHP Code:
Be careful with editing and be sure you did not forget any { } " " and/or any other symbol
I recommend Atom 
or Notepad++ for editing config.
Save config in UTF-8 without BOM
Keep language code in Settings part upper
-case (e.gEN;CZ;SK;FR etc..) 
So you should try and save it with "UTF-8 without BOM" option. If your text editor doesn't support this option, get another one :p I use Sublime Text but there are a lot of other ones you can try.
Then see if it works
__________________
Obyboby is offline
mscorp
Junior Member
Join Date: Oct 2006
Old 11-29-2017 , 14:44   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #580

ok thanks, don´t work!,
if you make a valid config for me, and send it to [email protected], I can to gift a skin for cs go, of 10/20 usd, thanks!
mscorp is offline
Reply



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 23:12.


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