Releases: partiusfabaa/cs2-advertisement
Releases · partiusfabaa/cs2-advertisement
v1.0.6.8
v1.0.6.7
Corrected welcome message
v1.0.6.6
Now you can remove everything from the config, and leave only the ads behind
{
"Ads": [
{
"Interval": 20,
"Messages": [
{
"Chat": "Test сhat",
"Center": "Test center"
},
{
"Chat": "Test chat2",
"Center": "Test center2"
},
{
"Chat": "Test chat3",
"Center": "Test center3"
}
]
}
]
}
v1.0.6.5
bug fix
v1.0.6.4
Update translate
Now you can write both tag, text, and whatever you want in Chat and Center. Example:
{
"PrintToCenterHtml": false,
"WelcomeMessage": {
"MessageType": 0,
"Message": "{welcome_player} {BLUE}{PLAYERNAME}"
},
"Ads": [
{
"Interval": 5,
"Messages": [
{
"Chat": "{RED}T{GREEN}E{BLUE}S{PURPLE}T"
},
{
"Chat": "{map_name} {RED}{MAP}, TEST-{test}"
},
{
"Chat": "{current_time} {RED}{TIME}, TEST-{test}"
},
{
"Chat": "{players_count} {RED}{PLAYERS}/{MAXPLAYERS}, TEST-{test}"
}
]
}
],
"Panel": [
"Panel Advertising 1",
"Panel Advertising 2",
"Panel Advertising 3"
],
"DefaultLang": "US",
"LanguageMessages": {
"map_name": {
"RU": "{GRAY}Текущая карта:",
"US": "{GRAY}Current map:",
"CN": "{GRAY}当前地图:"
},
"current_time": {
"RU": "{GRAY}Текущее время:",
"US": "{GRAY}Current time:",
"CN": "{GRAY}当前时间:"
},
"players_count": {
"RU": "{GRAY}Игроков на сервере:",
"US": "{GRAY}Number of players on the server:",
"CN": "{GRAY}服务器上的玩家数量:"
},
"welcome_player": {
"RU": "{GRAY}Добро пожаловать,",
"US": "{GRAY}Welcome,",
"CN": "{GRAY}欢迎您,"
},
"test": {
"RU": "RU",
"US": "US",
"CN": "CN"
}
},
"MapsName": {
"de_mirage": "Mirage",
"de_dust": "Dust II",
"awp_lego_2_winter": "Awp Lego 2"
}
}
NOW ALL TRANSLATION NAMES, IN CHAT OR CENTER ARE USED STRICTLY WITH {} FOR EXAMPLE: {my_phrases}
v1.0.6.2
A bug that incorrectly displayed the number of players on the server has been fixed
v1.0.6.1
Slightly changed the system of getting the language for the player
[BETA] Added Translation
Now the configuration will look something like this.
Important notes, the language is determined automatically for the player. The default language is needed so that if the player has a language, for example TH(Thailand), and it is not in the config, the player will be shown the default language.
Languages here
{
"PrintToCenterHtml": false,
"WelcomeMessage": {
"MessageType": 0,
"Message": "welcome_player"
},
"Ads": [
{
"Interval": 10,
"Messages": [
{
"Chat": "map_name"
},
{
"Chat": "current_time"
}
]
}
],
"Panel": [
"Panel Advertising 1",
"Panel Advertising 2",
"Panel Advertising 3"
],
"DefaultLang": "US",
"LanguageMessages": {
"map_name": {
"RU": "{GRAY}Текущая карта: {RED}{MAP}",
"US": "{GRAY}Current map: {RED}{MAP}",
"CN": "{GRAY}当前地图: {RED}{MAP}"
},
"current_time": {
"RU": "{GRAY}Текущее время: {RED}{TIME}",
"US": "{GRAY}Current time: {RED}{TIME}",
"CN": "{GRAY}当前时间: {RED}{TIME}"
},
"welcome_player": {
"RU": "{GRAY}Добро пожаловать, {BLUE}{PLAYERNAME}",
"US": "{GRAY}Welcome, {BLUE}{PLAYERNAME}",
"CN": "{GRAY}欢迎您, {BLUE}{PLAYERNAME}"
}
},
"MapsName": {
"de_mirage": "Mirage",
"de_dust": "Dust II",
"awp_lego_2_winter": "Awp Lego 2"
}
}