Interface AdditionsSign


public interface AdditionsSign
The custom AdditionsPlus sign class. Used for periodically updating signs for each player individually.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addLocation(org.bukkit.Location location)
    Add a sign location to the signs.
    Get a List of actions to perform when interacting with this sign.
    Get a List of sign lines.
    List<org.bukkit.Location>
    Get a List of all sign Location.
    Get the identifier of the sign.
    long
    Get the update interval of this sign.
    boolean
    hasLocation(org.bukkit.Location location)
    Check if this sign has the specific location.
    void
    removeLocation(org.bukkit.Location location)
    Remove a sign location from the signs.
    void
    Update all sign locations.
    void
    update(org.bukkit.Location location)
    Update a certain sign location for all players.
    void
    update(org.bukkit.Location location, org.bukkit.entity.Player player)
    Update a certain sign location for one player.
  • Method Details

    • getUpdateInterval

      long getUpdateInterval()
      Get the update interval of this sign.
      Returns:
      Update interval of this sign.
    • getName

      String getName()
      Get the identifier of the sign.
      Returns:
      Identifier of the sign.
    • getLines

      List<String> getLines()
      Get a List of sign lines.
      Returns:
      List of lines.
    • getLocations

      List<org.bukkit.Location> getLocations()
      Get a List of all sign Location.
      Returns:
      List of sign Location.
    • hasLocation

      boolean hasLocation(org.bukkit.Location location)
      Check if this sign has the specific location.
      Parameters:
      location - Location to check.
      Returns:
      True when found, false otherwise.
    • addLocation

      void addLocation(org.bukkit.Location location)
      Add a sign location to the signs.
      Parameters:
      location - Sign location to add.
    • removeLocation

      void removeLocation(org.bukkit.Location location)
      Remove a sign location from the signs.
      Parameters:
      location - Sign location to remove.
    • getActions

      List<String> getActions()
      Get a List of actions to perform when interacting with this sign.
      Returns:
      List of actions to perform on interaction.
    • update

      void update()
      Update all sign locations.
    • update

      void update(org.bukkit.Location location)
      Update a certain sign location for all players.
      Parameters:
      location - Location to update.
    • update

      void update(org.bukkit.Location location, org.bukkit.entity.Player player)
      Update a certain sign location for one player.
      Parameters:
      location - Location to update.
      player - Player to update for.