Interface BoostService


public interface BoostService
Controls temporary personal money boosts and server-wide luck boosts.
  • Method Details

    • grantMoneyBoost

      void grantMoneyBoost(@NotNull @NotNull UUID playerId, @NotNull @NotNull Duration duration)
    • hasMoneyBoost

      boolean hasMoneyBoost(@NotNull @NotNull UUID playerId)
    • getMoneyMultiplier

      double getMoneyMultiplier(@NotNull @NotNull UUID playerId)
    • grantServerLuck

      void grantServerLuck(@NotNull @NotNull Duration duration)
    • hasServerLuck

      boolean hasServerLuck()
    • getServerLuckExpiryEpochMillis

      long getServerLuckExpiryEpochMillis()