java.lang.Object
com.bencodez.advancedcore.api.misc.effects.ActionBar

@Deprecated public class ActionBar extends Object
Deprecated.
The Class ActionBar.
  • Constructor Details

    • ActionBar

      public ActionBar(String msg, int duration)
      Deprecated.
      Instantiates a new action bar.
      Parameters:
      msg - the msg
      duration - the duration
    • ActionBar

      public ActionBar(String msg)
      Deprecated.
      Instantiates a new action bar.
      Parameters:
      msg - the msg
  • Method Details

    • getDuration

      public int getDuration()
      Deprecated.
      Gets the duration.
      Returns:
      the duration
    • getMsg

      public String getMsg()
      Deprecated.
      Gets the msg.
      Returns:
      the msg
    • send

      public void send(org.bukkit.entity.Player... players)
      Deprecated.
      Send.
      Parameters:
      players - the players
    • sendActionBar

      public void sendActionBar(org.bukkit.entity.Player player, String message)
      Deprecated.
      Send action bar.
      Parameters:
      player - the player
      message - the message
    • sendActionBar

      public void sendActionBar(org.bukkit.entity.Player player, String message, int duration)
      Deprecated.
      Send action bar.
      Parameters:
      player - the player
      message - the message
      duration - the duration
    • sendActionBarToAllPlayers

      public void sendActionBarToAllPlayers(String message)
      Deprecated.
      Send action bar to all players.
      Parameters:
      message - the message
    • sendActionBarToAllPlayers

      public void sendActionBarToAllPlayers(String message, int duration)
      Deprecated.
      Send action bar to all players.
      Parameters:
      message - the message
      duration - the duration
    • setDuration

      public void setDuration(int duration)
      Deprecated.
      Sets the duration.
      Parameters:
      duration - the new duration
    • setMsg

      public void setMsg(String msg)
      Deprecated.
      Sets the msg.
      Parameters:
      msg - the new msg