Class FPlayerRoleChangeEvent

  • All Implemented Interfaces:
    org.bukkit.event.Cancellable

    public class FPlayerRoleChangeEvent
    extends FactionPlayerEvent
    implements org.bukkit.event.Cancellable
    Represents Role change of a factions player
    See Also:
    FPlayer.getRole()
    • Constructor Detail

      • FPlayerRoleChangeEvent

        public FPlayerRoleChangeEvent​(Faction faction,
                                      FPlayer fPlayer,
                                      Role from,
                                      Role to)
      • FPlayerRoleChangeEvent

        public FPlayerRoleChangeEvent​(Faction faction,
                                      FPlayer fPlayer,
                                      Role to)
    • Method Detail

      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface org.bukkit.event.Cancellable
      • setCancelled

        public void setCancelled​(boolean cancelled)
        Specified by:
        setCancelled in interface org.bukkit.event.Cancellable
      • getFrom

        public Role getFrom()
      • getTo

        public Role getTo()
      • setTo

        public void setTo​(Role to)