예제 #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
           + ".");
 }
예제 #2
0
 private void sendRemoveStaffMessage(CommandSender cs, String name, String plotbuild) {
   MessageUtil.sendInfoMessage(
       cs, "You removed " + name + " from staff of plotbuild " + plotbuild + ".");
 }
예제 #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() + ".");
 }
예제 #4
0
 private void sendNotStaffMessage(CommandSender cs, OfflinePlayer removedStaff, String name) {
   MessageUtil.sendErrorMessage(
       cs, removedStaff.getName() + " is not staff of plotbuild " + name + ".");
 }