Class SignManager
java.lang.Object
us.ajg0702.leaderboards.displays.signs.SignManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
findSign
(org.bukkit.Location l) getNames()
getSigns()
boolean
isSignChunkLoaded
(BoardSign sign) void
reload()
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)boolean
removeSign
(org.bukkit.Location l, boolean removeText) Remove a signvoid
saveFile()
void
void
updateSign
(BoardSign sign) void
-
Constructor Details
-
SignManager
-
-
Method Details
-
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 removeremoveText
- 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
-
addSign
-
saveFile
public void saveFile() -
updateSigns
public void updateSigns() -
updateNameCache
public void updateNameCache() -
getNames
-
updateSign
-
isSignChunkLoaded
-