Class SignManager

java.lang.Object
us.ajg0702.leaderboards.displays.signs.SignManager

public class SignManager extends Object
  • Constructor Details

  • Method Details

    • getSigns

      public List<BoardSign> getSigns()
    • reload

      public void reload()
    • removeSign

      public boolean removeSign(org.bukkit.Location l)
      Remove a sign Clears the text on the sign by default (schedules a task to remove the text on the next tick)
      Parameters:
      l - The location of the sign to remove
      Returns:
      If the sign was removed or not. If false, the target location was not an ajLeaderboards sign
    • removeSign

      public boolean removeSign(org.bukkit.Location l, boolean removeText)
      Remove a sign
      Parameters:
      l - The location of the sign to remove
      removeText - If a task should be scheduled to remove the sign text on the next tick
      Returns:
      If the sign was removed or not. If false, the target location was not an ajLeaderboards sign
    • findSign

      public BoardSign findSign(org.bukkit.Location l)
    • addSign

      public void addSign(org.bukkit.Location loc, String board, int pos, TimedType type)
    • saveFile

      public void saveFile()
    • updateSigns

      public void updateSigns()
    • updateNameCache

      public void updateNameCache()
    • getNames

      public Map<String,String> getNames()
    • updateSign

      public void updateSign(BoardSign sign)
    • isSignChunkLoaded

      public boolean isSignChunkLoaded(BoardSign sign)