BlockRewardsPro
SpigotMCReward your players for mining set amounts of blocks!
1.9k téléchargements 4.3 note
dernière v1.1.1 SpigotMC
Block Rewards Pro is a plugin used to reward players for mining. How it works is that when a player mines a certain amount of blocks, or a consecutive amount, they get rewarded!
This plugin can give randomized rewards, give a selection of rewards, or give all the rewards, and it also has an optional ActionBar feature!
In order to use the ActionBar feature (highly recommended), you must also install this plugin FOR NOW:
https://www.spigotmc.org/resources/actionbarapi.1315/
Action Bar:
Normal rewards
Consecutive rewards
UUID support
Live ActionBar compatibility (looks great!)
Live item renaming method (also looks great!)
Different rewarding methods
Blacklist for certain blocks
Whitelist for certain blocks
No adding to block count with WorldGuard flags enabled
Easy to use
Works right out of the box
Lightweight
Insanely fast support if needed
New features to come very soon!
Consecutive rewards
UUID support
Live ActionBar compatibility (looks great!)
Live item renaming method (also looks great!)
Different rewarding methods
Blacklist for certain blocks
Whitelist for certain blocks
No adding to block count with WorldGuard flags enabled
Easy to use
Works right out of the box
Lightweight
Insanely fast support if needed
New features to come very soon!
/blocks | Tells the player how many blocks they've mined
/blocks <player> | Tells the player how many blocks the selected player has mined
/blockrewardspro reload | Reloads the config.yml
blockrewardspro.others | Permission to see other players' blocks mined
blockrewardspro.reload | Permission to reload the config.yml
blockrewardspro.bypass | Permission to bypass the blacklist
blockrewardspro.bypassWhitelist | Permission to bypass the whitelist
Code (Text):
#Set this to true to use normal-mode, which will reward the player every set amount of blocks mined
#Don't set this and consecutive-mode to true at the same time!
normal-mode: true
#This is the number of blocks a player needs to mine for their rewards
#For now, if using consecutive-mode, set this to the same number as it resets at the consecutive-mode
blocks-needed-for-reward: 1000
#These are the commands the console will execute once a player has mined the above blocks
#Placeholders: %player%
rewards:
- eco give %player% 100
- eco give %player% 250
- give %player% diamond 3
- give %player% cake 1
#If random-rewards is set to true, it runs off the percent below to determine when to give the rewards
random-rewards: false
#If the above is set to true, what should the percent of getting all/an amount of the rewards be? (Out of 100)
percent: 50
#This is the amount of rewards from the list above the user will recieve once all of the requirements of the rewards are met
number-of-rewards: 2
#This option currently only works if number-of-rewards is set to 2! (Still WIP)
#This option only applies to random-rewards
#This option decides whether when chosing two random rewards, if it should choose the same reward twice or not
duplicate-rewards: true
#Set this to true to use consecutive-mode, which gives rewards every set amount of blocks mined
#Don't set this and normal-mode to true at the same time!
consecutive-mode: false
blocks:
values:
#Each number in this section is the number of blocks mined the user will have to mine for the number's set of rewards. The total blocks mined for the user will not be reset until the reset-at rewrad is ran
#You may add as many of these as you'd like!
#Do not add duplicate values
250:
randomness:
#If set to true, the rewards below will have a chance of being set off instead of being set off every time
random: false
#This is the chance mentioned above for this set of rewards
chance: 50
#This is the amount of rewards the user will recieve out of the list (random choosing)
reward-count: 2
rewards:
#These are the rewards the player will recieve for this set of blocks mined
#Placeholders: %player%
- eco give %player% 100
- eco give %player% 50
- give %player% cake 1
500:
randomness:
random: false
chance: 50
reward-count: 2
rewards:
- eco give %player% 200
- eco give %player% 100
- give %player% cake 2
#This is the last consecutive reward. Once ran it will reset the user's blocks mined
reset-at:
800:
randomness:
reward-count: 2
rewards:
- bc &l%player% has just recieved their last consecutive reward from mining!
- eco give %player% 100
- eco give %player% 50
- give %player% cake 1
#This is the message shown when a user does /blocks, ignoring the mode
#Placeholders: %player%, %blocks%, %blocksneeded%
blocks-command-self: '&d&l%player%&3&l, you have broken &c&l%blocks%&4/&c&l%blocksneeded% &3&lblocks!'
#This is the message shown when a user does /blocks <player>, ignoring the mode
#Placeholders: %targetplayer%, %targetplayerblocks%, %targetplayerblocksneeded%
blocks-command-other: '&3&l%targetplayer% has broken &d&l%targetplayerblocks%&5/&d&l%targetplayerblocksneeded% &3&lblocks!'
#This is the message that will be send when the player recieves their last cumulative reward
#Placeholders: %player%, %blocksneeded%, %rewardsgranted%
last-consecutive-reward: '&3&lCongrats &2&l%player%&3&l, you have mined &a&l%blocksneeded% &3&lblocks and have recieved &e&l%rewardsgranted%&3&l special final cumulative reward(s)!'
#This is the message that will be sent when the player recieves all of the rewards in the list
#Placeholders: %player%, %blocksneeded%
all-rewards-message: '&3&lCongrats &2&l%player%&3&l, you mined &a&l%blocksneeded%&3&l blocks and recieved your rewards!'
#This is the message that will be sent when the player recieves a certain number of rewards from the list
#Does not effect cumulative rewards
#Placeholders: %player%, %blocksneeded%, %rewardsgranted%
some-rewards-message: '&d&lCongrats &2&l%player%&d&l, you mined &a&l%blocksneeded%&d&l blocks and recieved &a&l%rewardsgranted%&d&l special rewards!'
#This message will be sent if the user does not recieve any rewards after mining the set amount of blocks
#Default color is bold red
#Placeholders: %player%, %blocksneeded%
no-reward-message: '&c&lSorry, but you did not recieve any rewards from mining %blocksneeded% blocks'
#This option requires the plugin "ActionBarAPI", which is found here: https://www.spigotmc.org/resources/actionbarapi.1315/
#EVENTUALLY THE API WILL NOT BE NEEDED
#This option will put a small message above the users hotbar every time they mine a block
actionbar: false
#This message will be send as an actionbar message every time a player mines a block
#Placeholders: %blocks%, %blocksneeded%
actionbar-message: '&3&lBlocks Broken: &d&l%blocks%&3&l/&d&l%blocksneeded%'
#This message will be sent if a user tries to perform a command that they do not have permission to perform
no-permission: '&cYou do not have permission to do that!'
#Any blocks in this list that are mined will not add onto the total blocks mined of the player
blacklist:
- GRASS
- DIRT
- RED_ROSE:4
#If whitelist-enabled is true, only blocks in this list will count towards the player's block count
whitelist-enabled: false
#The list of blocks in the whitelist | Note: adding STONE will allow all types of STONE, including Granite, etc. To keep just plain STONE, use 'STONE:0'
whitelist:
- GRASS
- DIRT
- STONE
- RED_ROSE:5
Tutorials:
English
English
1.) Make the /blocks | actionbar show the next consecutive reward not only the last one
2.) Blacklisted worlds for the block count
2.) Blacklisted worlds for the block count
Commentaires 0
Aucun commentaire pour l'instant. Sois le premier à donner ton avis.