Polymart is now Voxel Shop! We're upgrading many features of the site, and during this open beta you will experience occasional bugs. Learn more
Add Luckyblocks feature on your server
HIGHLY RECOMMENDED FOR PRISON SERVERS
DEPENDENCY: PlaceholderAPI required
/easyreload - reload the plugin -- aliases. /er - /easyr
/easygive <playername> <amount> -- give luckyblock to a player
Permission to break luckyblocks -- easylb.break
Permission to give luckyblocks -- easylb.give
Permission to reload plugin -- easylb.reload
Permission to receive rewards notification if the feature is enabled on config -- easylb.notify
#Author zMismo03 Version 1.3
#Customize messages of plugin
messages:
prefix: '&6&l[&f&lEasy&e&lLuckyblock&6&l] '
#Add easylb.break permission to allow players break Luckyblocks
deny_break: "&e You don't have permission to break Luckyblocks!"
#Add easylb.give permission to allow players give luckyblock to a specified user
give_usage: "&e Correct usage of command: /easygive <player> <amount>"
#Add easylb.reload permission to run /easyreload command (aliases /er, /easyr)
reload: "&e Plugin reloaded!"
no_permission: "&e You don't have permission to use this command!"
player_not_online: "&e This player is not online!"
invalid_amount: "&e Invalid amount"
#Message that shows up when the player receive luckyblocks
received: "&e You have received %amount%x luckyblock!"
#Customize the material of luckyblock, the commands and the chances of each reward below
#The sum of chances doesn't need to be 100, Easyluckyblock plugin will adapt every chances on its own
block:
material: 'PLAYER_HEAD'
texture_value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDNkNWNmYjg1MTdiY2M3MDlmMDhhNjMxMWIyNDEzYmEyYTEwOWIzYWJjOTcwMjcwMjYwZmQwOGE4MjgzMzhjNyJ9fX0="
#You can specify custom head texture value between "" if you are using PLAYER_HEAD material
#Only specify material if you don't want to use custom heads
custom_name: '&eLucky&fblock'
rewards:
1:
chance: 50
commands:
- 'give %player_name% diamond_pickaxe 1'
- 'give %player_name% diamond_sword 1'
- 'give %player_name% diamond_axe 1'
message: "&eDiamond tools for you!"
2:
chance: 35
commands:
- 'give %player_name% diamond 10'
message: "&eYou have been given 10 diamonds"
3:
chance: 10
commands:
- 'give %player_name% emerald 5'
message: "&eYou have been given 5 emeralds"
4:
chance: 5
commands:
- 'xp give %player_name% 5000'
message: "&e&lIt's your lucky day! You found 5000 XP points"
#You can add more rewards if you want (example. 4,5,6...remember to put all numbers)
notify_permission:
enabled: false
#Required permission to receive reward message and decide if feauture is enabled with true or false - (default false)
#easylb.notify permission needed if u set it to true
For every possible issues, tips or features to add to my plugins join EasyPlugins channelĀ
Don't forget to write your feedback and leave a rating!