Package nl.minetopiasdb.api
Class API
java.lang.Object
nl.minetopiasdb.api.API
Some of the old MinetopiaSDB v1 API methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.milkbowl.vault.economy.Economy
getEcon()
Get the Vault economy hook.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
-
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.
-