Package net.islandearth.rpgregions.api
Interface IRPGRegionsAPI
public interface IRPGRegionsAPI
-
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.platform.bukkit.BukkitAudiencesGets the adventure implementation for the plugin.booleandebug()voidorg.bukkit.configuration.Configurationcom.google.gson.GsongetGson()PlatformScheduler<? extends IRPGRegionsAPI> Gets the scheduler used for the current platform.com.convallyria.languagy.api.language.Translatorbooleannet.kyori.adventure.text.minimessage.MiniMessageGets the MiniMessage implementation for the plugin.voidsaveResource(String path, boolean replace)
-
Method Details
-
getTranslator
com.convallyria.languagy.api.language.Translator getTranslator() -
getLogger
Logger getLogger() -
getDataFolder
File getDataFolder() -
saveResource
-
getGson
com.google.gson.Gson getGson() -
getConfig
org.bukkit.configuration.Configuration getConfig() -
getManagers
IRPGRegionsManagers getManagers() -
debug
boolean debug() -
debug
-
hasHeadDatabase
boolean hasHeadDatabase() -
adventure
net.kyori.adventure.platform.bukkit.BukkitAudiences adventure()Gets the adventure implementation for the plugin.- Returns:
- the adventure implementation
-
miniMessage
net.kyori.adventure.text.minimessage.MiniMessage miniMessage()Gets the MiniMessage implementation for the plugin.- Returns:
- the MiniMessage implementation
-
getScheduler
PlatformScheduler<? extends IRPGRegionsAPI> getScheduler()Gets the scheduler used for the current platform.- Returns:
- the scheduler for this server platform
-