Package nl.minetopiasdb.api
Class API
java.lang.Object
nl.minetopiasdb.api.API
Some of the old MinetopiaSDB v1 API methods.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.milkbowl.vault.economy.Economy
getEcon()
Get the Vault economy hook.static boolean
hasScoreboard
(org.bukkit.entity.Player player) Check if a player has the scoreboard enabled.static void
toggleScoreboard
(org.bukkit.entity.Player player) Toggle the scoreboard for the provided playerstatic void
updateScoreboard
(org.bukkit.entity.Player player) Update the scoreboard content for the provided player.static void
updateScoreboardTitle
(org.bukkit.entity.Player player) Update the scoreboard title for the provided player.
-
Constructor Details
-
API
public API()
-
-
Method Details
-
hasScoreboard
public static boolean hasScoreboard(org.bukkit.entity.Player player) Check if a player has the scoreboard enabled.- Parameters:
player
- player- Returns:
- true if scoreboard is enabled.
-
toggleScoreboard
public static void toggleScoreboard(org.bukkit.entity.Player player) Toggle the scoreboard for the provided player- Parameters:
player
- player
-
updateScoreboard
public static void updateScoreboard(org.bukkit.entity.Player player) Update the scoreboard content for the provided player.- Parameters:
player
- player
-
updateScoreboardTitle
public static void updateScoreboardTitle(org.bukkit.entity.Player player) Update the scoreboard title for the provided player.- Parameters:
player
- player
-
getEcon
public static net.milkbowl.vault.economy.Economy getEcon()Get the Vault economy hook.- Returns:
- Vault economy hook for easier integration.
-