by Leeizazombie » 19 Jul 2014, 07:21
Here are some suggestions:
You can use the following message to show messages to operators only:
- Code: Select all
Player.GlobalMessageOps("Hello Ops!");
or alternatively you can send a message to all players with a certain permission or higher:
So for example, I made a rank called "HeadOperator" And it has permission 90, but I don't want operators to see the message, so check out the code:
- Code: Select all
Player.players.ForEachSync(pl =>
{
if (pl.group.Permission >= (LevelPermission)90)
{
pl.SendMessage(message); //Sends the message to each of the players with 90+
}
});
Hope I helped!
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)
Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting