По стандарту у вас все выглядит так
<?xml version="1.0" encoding="utf-8"?>
<MOTDConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ShowWarnings>true</ShowWarnings>
<Gropus>
<Group>
<Name>Default</Name>
<Messages>
<Message Text="Welcome to %servername%!" Color="yellow" />
<Message Text="There are %online% players online" Color="yellow" />
<Message Text="Enjoy and have fun!" Color="yellow" />
</Messages>
</Group>
<Group>
<Name>Vip</Name>
<Messages>
<Message Text="Welcome back, %playername%" Color="yellow" />
<Message Text="There are %online% players online" Color="yellow" />
<Message Text="We are glad that you choose this server" Color="yellow" />
<Message Text="Call a friends and play together!" Color="yellow" />
</Messages>
</Group>
<Group>
<Name>Admin</Name>
<Messages>
<Message Text="Players online: %online%" Color="yellow" />
<Message Text="Administrators online: %adminsonline%" Color="yellow" />
</Messages>
</Group>
</Gropus>
</MOTDConfiguration>
Где
<Name>Default</Name> - название группы людей или одного человека которому(м) будет показивать данное сообщение , в permission добавляем <command>motd.default</command>
например permmision
<Group>
<Id>default</Id>
<DisplayName>Guest</DisplayName>
<Members />
<Commands>
<Command>kit.Start</Command>
<Command>home</Command>
<Command>motd.Default</Command>
</Commands>
<ParentGroups />
</Group>
<Message Text="Welcome to %servername%!" Color="yellow" />
<Message Text="There are %online% players online" Color="yellow" />
<Message Text="Enjoy and have fun!" Color="yellow" />
это сообщение которые и буду показивать игрокам или одному игроку
Так же можно поставить параметры
%servername%, %playername%, %online%, %adminsonline%, %mode%, %pvp/pve%, %map%
%servername% - показывает название сервера
%playername% - показыват имя игрок (например в конфиге вы поставили "Добро пожаловать %playername%" , в игре это будет выглядит так "Добро пожаловать Крава" и так каждому свой ник)
и так далее
|