ESK0 / ServerAdvertisement3

Very useful plugin for your server with which you can print messages to players. Messages are stored in file.
38 stars 16 forks source link

Message only for certain team #12

Closed crashzk closed 4 years ago

crashzk commented 4 years ago

Option for certain messages to be sent to the specific team.

HOW IT WILL WORK

I would configure a message in the configuration file and have the option team, then I would select which team the message would go to, and only that team would see the message

Example:

[...]
"5"
    {
      "pt" "This message appears only for CTs"
      "type" "T"
      "team" "3"   // 2 = TR | 3 = CT
    }

"6"
    {
      "pt" "This message appears only for Ts"
      "type" "T"
      "team" "2"   // 2 = TR | 3 = CT
    }
borzaka commented 4 years ago

Can you share a use case, when an advertisement is only applicable for the T team? For what would you use it?

ESK0 commented 4 years ago

I dont see any real usage..

crashzk commented 4 years ago

I have JailBreak and TTT servers, as you know they have some specific commands for each team.

Example, JB has the commands:

Anyway, these servers and other specific game modes have commands that are detrimental to a certain team.

Anyway, thanks anyway.

borzaka commented 4 years ago

That commands should managed inside the JailBreak/TTT plugins or in their extend plugins, not in this ServerAdvertisement plugin.