Class SignHandler

java.lang.Object
com.bencodez.votingplugin.signs.SignHandler

public class SignHandler extends Object
The Class SignHandler.
  • Constructor Details

    • SignHandler

      public SignHandler(VotingPluginMain plugin, String sign, org.bukkit.Location location, org.bukkit.Location skullLocation, String data, int position)
  • Method Details

    • checkSkulls

      public void checkSkulls()
      Check skulls.
    • checkValidSign

      public void checkValidSign()
      Check valid sign.
    • getRightClickMessage

      public String getRightClickMessage()
      Gets the right click message.
      Returns:
      the right click message
    • isLocationSame

      public boolean isLocationSame(org.bukkit.Location loc)
      Checks if is location same.
      Parameters:
      loc - the loc
      Returns:
      true, if is location same
    • isSkullSet

      public boolean isSkullSet()
    • noNameAvailable

      public boolean noNameAvailable()
    • removeSign

      public void removeSign()
      Removes the sign.
    • storeSign

      public void storeSign()
      Store sign.
    • updateLines

      public void updateLines()
      Update lines.
    • updateSign

      public void updateSign(int delay)
      Update sign.
      Parameters:
      delay - the delay
    • updateSkulls

      public void updateSkulls(org.bukkit.Location loc1, org.bukkit.Location loc2)
    • getData

      public String getData()
    • setData

      public void setData(String data)
    • getLocation

      public org.bukkit.Location getLocation()
    • setLocation

      public void setLocation(org.bukkit.Location location)
    • getSign

      public String getSign()
    • setSign

      public void setSign(String sign)
    • getSkullLocation

      public org.bukkit.Location getSkullLocation()
    • setSkullLocation

      public void setSkullLocation(org.bukkit.Location skullLocation)
    • isValid

      public boolean isValid()
    • setValid

      public void setValid(boolean valid)