Class LuckPermsContexts

java.lang.Object
com.palmergames.bukkit.towny.hooks.LuckPermsContexts
All Implemented Interfaces:
net.luckperms.api.context.ContextCalculator<org.bukkit.entity.Player>

public class LuckPermsContexts extends Object implements net.luckperms.api.context.ContextCalculator<org.bukkit.entity.Player>
  • Constructor Details

    • LuckPermsContexts

      public LuckPermsContexts(@NotNull @NotNull Towny plugin)
  • Method Details

    • registerContexts

      public void registerContexts()
    • unregisterContexts

      public void unregisterContexts()
    • calculate

      public void calculate(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull net.luckperms.api.context.ContextConsumer contextConsumer)
      Specified by:
      calculate in interface net.luckperms.api.context.ContextCalculator<org.bukkit.entity.Player>
    • estimatePotentialContexts

      public net.luckperms.api.context.ContextSet estimatePotentialContexts()
      Specified by:
      estimatePotentialContexts in interface net.luckperms.api.context.ContextCalculator<org.bukkit.entity.Player>