Skip to content

Releases: partiusfabaa/cs2-advertisement

v1.0.6.8

01 May 11:03
Compare
Choose a tag to compare

Recompiled to CSSharp v228

  1. The config has not been changed, but has been moved to the configs/plugins/ folder
  2. The colors have been changed to match the colors from CSSharp
  3. Removed the text in the panel at the end of the round. Since it doesnt work anymore

v1.0.6.7

11 Feb 07:02
Compare
Choose a tag to compare

Corrected welcome message

v1.0.6.6

09 Jan 18:49
Compare
Choose a tag to compare

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

25 Dec 10:05
Compare
Choose a tag to compare

bug fix

v1.0.6.4

18 Dec 08:44
Compare
Choose a tag to compare

1. Now you can remove anything you don't need from the configuration except Ads.
2. Now \n in Welcome Message works fine.
image
image

Update translate

12 Dec 02:39
Compare
Choose a tag to compare

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}

image
image
image
image

v1.0.6.2

11 Dec 01:19
Compare
Choose a tag to compare

A bug that incorrectly displayed the number of players on the server has been fixed

v1.0.6.1

10 Dec 19:52
Compare
Choose a tag to compare

Slightly changed the system of getting the language for the player

[BETA] Added Translation

10 Dec 03:51
fcb65ae
Compare
Choose a tag to compare

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

image

{
  "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"
  }
}

There could be mistakes.

v1.0.5.1

10 Dec 00:19
Compare
Choose a tag to compare
  1. Now, if you don't need the panel, you can remove it from the configuration
  2. A new MapsName element has been added to the configuration. Below is an example of its use
"MapsName": {
    "de_mirage": "Mirage",
    "de_dust2": "Dust II"
}

Without him

image

With him

image