/PE-Daily-Reward-System

Pokémon Essentials plugin.

Primary LanguageRubyMIT LicenseMIT

Essentials Version

Daily Reward System

Rewards obtainable through daily logins.

Overview

  • Give rewards to the player based on: login number, consecutive logins and date
  • Fully customizable

Instructions

Define rewards

Rewards shall be defined in rewards.rb.

You can find useful instructions here: Essentials Docs Wiki.

Informations

Information Description
pbDailyReward Give rewards to the player. Returns true if the player was enabled to reedem the reward, false if they already redeemed it.
DailyReward.reset Reset the login counter.
DailyReward.last_login Return the date of the last login.
DailyReward.logins Return the number of logins.
DailyReward.consecutive Return the number of consecutive logins.

Installation: instructions.

Inspired by Custom Daily Reward for Minecraft.