Skip to content

MickTK/PE-Daily-Reward-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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.