net.chestmc.common.extensions.constants.Plugin.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chest-server Show documentation
Show all versions of chest-server Show documentation
A spigot fork to kotlin structure and news.
The newest version!
package net.chestmc.common.extensions.constants
import com.intellectualcrafters.plot.PS
import com.sk89q.worldedit.WorldEdit
import com.sk89q.worldedit.session.SessionManager
import com.sk89q.worldguard.bukkit.RegionContainer
import com.sk89q.worldguard.bukkit.WorldGuardPlugin
import net.chestmc.common.extensions.server
import net.milkbowl.vault.economy.Economy
val PLOT_API: PS = PS.get()
val REGION_CONTAINER: RegionContainer = WorldGuardPlugin.inst().regionContainer
val ECONOMY: Economy = server.servicesManager.getRegistration(Economy::class.java).provider
val SESSION_MANAGER: SessionManager = WorldEdit.getInstance().sessionManager
© 2015 - 2025 Weber Informatics LLC | Privacy Policy