Class SpigotTopTemplate

java.lang.Object
me.hsgamer.topper.template.topplayernumber.TopPlayerNumberTemplate
me.hsgamer.topper.spigot.plugin.template.SpigotTopTemplate
All Implemented Interfaces:
io.github.projectunified.minelib.plugin.base.Loadable

public class SpigotTopTemplate extends me.hsgamer.topper.template.topplayernumber.TopPlayerNumberTemplate implements io.github.projectunified.minelib.plugin.base.Loadable
  • Nested Class Summary

    Nested classes/interfaces inherited from class me.hsgamer.topper.template.topplayernumber.TopPlayerNumberTemplate

    me.hsgamer.topper.template.topplayernumber.TopPlayerNumberTemplate.Settings
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addQueryForwardContext(org.bukkit.plugin.Plugin plugin, String name, BiFunction<@Nullable UUID,@NotNull String,@NotNull me.hsgamer.topper.query.core.QueryResult> query)
     
    me.hsgamer.topper.agent.core.Agent
    createTask(Runnable runnable, me.hsgamer.topper.template.topplayernumber.holder.NumberTopHolder.TaskType taskType)
     
    me.hsgamer.topper.agent.core.Agent
    createUpdateTask(Runnable runnable, boolean async)
     
    Optional<me.hsgamer.topper.value.core.ValueProvider<UUID,Double>>
     
    void
     
    Function<String,me.hsgamer.topper.storage.core.DataStorage<UUID,Double>>
     
    void
    logWarning(String message, @Nullable Throwable throwable)
     
    void
    modifyAgents(me.hsgamer.topper.template.topplayernumber.holder.NumberTopHolder holder, List<me.hsgamer.topper.agent.core.Agent> agents, List<me.hsgamer.topper.agent.core.DataEntryAgent<UUID,Double>> entryAgents)
     

    Methods inherited from class me.hsgamer.topper.template.topplayernumber.TopPlayerNumberTemplate

    disable, getEntryConsumeManager, getName, getNameProviderManager, getQueryForwardManager, getSettings, getTopManager, getTopQueryManager, logWarning

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.github.projectunified.minelib.plugin.base.Loadable

    disable, load
  • Constructor Details

    • SpigotTopTemplate

      public SpigotTopTemplate(TopperPlugin plugin)
  • Method Details

    • getStorageSupplier

      public Function<String,me.hsgamer.topper.storage.core.DataStorage<UUID,Double>> getStorageSupplier()
      Specified by:
      getStorageSupplier in class me.hsgamer.topper.template.topplayernumber.TopPlayerNumberTemplate
    • createValueProvider

      public Optional<me.hsgamer.topper.value.core.ValueProvider<UUID,Double>> createValueProvider(Map<String,Object> settings)
      Specified by:
      createValueProvider in class me.hsgamer.topper.template.topplayernumber.TopPlayerNumberTemplate
    • createTask

      public me.hsgamer.topper.agent.core.Agent createTask(Runnable runnable, me.hsgamer.topper.template.topplayernumber.holder.NumberTopHolder.TaskType taskType)
      Specified by:
      createTask in class me.hsgamer.topper.template.topplayernumber.TopPlayerNumberTemplate
    • createUpdateTask

      public me.hsgamer.topper.agent.core.Agent createUpdateTask(Runnable runnable, boolean async)
      Specified by:
      createUpdateTask in class me.hsgamer.topper.template.topplayernumber.TopPlayerNumberTemplate
    • logWarning

      public void logWarning(String message, @Nullable @Nullable Throwable throwable)
      Specified by:
      logWarning in class me.hsgamer.topper.template.topplayernumber.TopPlayerNumberTemplate
    • modifyAgents

      public void modifyAgents(me.hsgamer.topper.template.topplayernumber.holder.NumberTopHolder holder, List<me.hsgamer.topper.agent.core.Agent> agents, List<me.hsgamer.topper.agent.core.DataEntryAgent<UUID,Double>> entryAgents)
      Overrides:
      modifyAgents in class me.hsgamer.topper.template.topplayernumber.TopPlayerNumberTemplate
    • enable

      public void enable()
      Specified by:
      enable in interface io.github.projectunified.minelib.plugin.base.Loadable
      Overrides:
      enable in class me.hsgamer.topper.template.topplayernumber.TopPlayerNumberTemplate
    • addQueryForwardContext

      public void addQueryForwardContext(org.bukkit.plugin.Plugin plugin, String name, BiFunction<@Nullable UUID,@NotNull String,@NotNull me.hsgamer.topper.query.core.QueryResult> query)