RewardSystem

Bukkit Plugins
666 Downloads Game Version: CB 1.1-R7

About

With this little plugin you player can get a reward in a defined frequency.

Commands

  • /getreward [reward] - Gives the reward to the using player.
  • /givereward [player] [reward] - Forces a player to get his reward.
  • /listrewards - Shows all rewards.

Features

  • Reward player.
  • Change the frequency for getting a reward.
  • Define own rewards in the config.yml
  • Modify messages.

Permissions

reward.*:
        description: Gives access to all reward commands.
        children:
            reward.me: true
            reward.list: true
    reward.me:
        description: Get your own reward.
        default: true
    reward.other: 
        description: Force other to get their reward.
        default: op
    reward.list:
        description: Get a list off all possible rewards.
        default: true

Configuration

msg: # Messages.
  reward:
    other: 
      worked: The player got his reward.
      notworked: The player can not be rewarded now.
    me: 
      worked: Here is your daily reward!
      notworked: You can not get rewarded now. 
  player:
    notonline: The player is not online.
    notplayer: You can only run this command as player.
  arg-error:
    notenough: Not enough arguments!
    tomany: To much arguments!
rewards:
  templatereward:
    cmd: /give [player] 1 1 # Command to reward the player. [player] will be replaced by the players name.
    description: Possible description.
playerLog: # Last time-stamp in config.frequence milliseconds, the player got his reward.

config:
  frequence: 86400000 # Every X milliseconds the Player can get his reward. 86400000: once a day, 3600000: once an hour.

To do

  • Force reward on login.
  • help command.

Comments

Posts Quoted: