Examples of promoteNewLeader()


Examples of com.massivecraft.factions.entity.Faction.promoteNewLeader()

    }

    // if target player is currently leader, demote and replace him
    if (targetFactionCurrentLeader == newLeader)
    {
      targetFaction.promoteNewLeader();
      msg("<i>You have demoted %s<i> from the position of faction leader.", newLeader.describeTo(usender, true));
      newLeader.msg("<i>You have been demoted from the position of faction leader by %s<i>.", usender.describeTo(newLeader, true));
      return;
    }
View Full Code Here

Examples of com.massivecraft.factions.entity.Faction.promoteNewLeader()

    }

    // Apply
    if (uplayer.getRole() == Rel.LEADER)
    {
      uplayerFaction.promoteNewLeader();
    }
    uplayerFaction.setInvited(uplayer, false);
    uplayer.resetFactionData();
  }
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.