Ejemplo n.º 1
0
 private void sendOtherStaffMessage(
     CommandSender cs, OfflinePlayer staff, OfflinePlayer newStaff, String name) {
   MessageUtil.sendOfflineMessage(
       staff,
       cs.getName()
           + " removed "
           + newStaff.getName()
           + " from staff"
           + " of plotbuild "
           + name
           + ".");
 }
Ejemplo n.º 2
0
 private void sendRemoveStaffMessage(CommandSender cs, String name, String plotbuild) {
   MessageUtil.sendInfoMessage(
       cs, "You removed " + name + " from staff of plotbuild " + plotbuild + ".");
 }
Ejemplo n.º 3
0
 private void sendRemovedStaffPlayerMessage(
     CommandSender cs, OfflinePlayer newStaff, String name) {
   MessageUtil.sendOfflineMessage(
       newStaff,
       "You were removed from staff" + " of plotbuild " + name + " by " + cs.getName() + ".");
 }
Ejemplo n.º 4
0
 private void sendNotStaffMessage(CommandSender cs, OfflinePlayer removedStaff, String name) {
   MessageUtil.sendErrorMessage(
       cs, removedStaff.getName() + " is not staff of plotbuild " + name + ".");
 }