Class TopManager
- java.lang.Object
-
- me.hsgamer.topper.spigot.plugin.manager.TopManager
-
- All Implemented Interfaces:
io.github.projectunified.minelib.plugin.base.Loadable
public class TopManager extends Object implements io.github.projectunified.minelib.plugin.base.Loadable
-
-
Constructor Summary
Constructors Constructor Description TopManager(TopperPlugin instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(UUID uuid)
void
disable()
void
enable()
DataStorageSupplier<UUID,Double>
getStorageSupplier()
Optional<NumberTopHolder>
getTopHolder(String name)
List<String>
getTopHolderNames()
-
-
-
Constructor Detail
-
TopManager
public TopManager(TopperPlugin instance)
-
-
Method Detail
-
enable
public void enable()
- Specified by:
enable
in interfaceio.github.projectunified.minelib.plugin.base.Loadable
-
disable
public void disable()
- Specified by:
disable
in interfaceio.github.projectunified.minelib.plugin.base.Loadable
-
getStorageSupplier
public DataStorageSupplier<UUID,Double> getStorageSupplier()
-
getTopHolder
public Optional<NumberTopHolder> getTopHolder(String name)
-
create
public void create(UUID uuid)
-
-