Require DPP-Core : https://www.spigotmc.org/resources/dpp-core.121933/
Requires DPP-Core plugin version 4.0.0.10 or later.
* after version 1.0.0.1
if your config does not have Language option , add this to config
Language: English
Example :
Code (Text):
Settings:
prefix: '&f[ &6DP-RandomBox &f] '
Language: English
RandomBoxs:
test:
Drop: 1
CustomModelData: 0
Prize:
'0':
==: org.bukkit.inventory.ItemStack
v: 4189
type: WOODEN_SWORD
Coupon:
==: org.bukkit.inventory.ItemStack
v: 4189
type: BONE_MEAL
This plugin uses NMS NBT to identify coupons.
So even if you change the displayname, lore, custommodeldata of the coupon item, you can still use the coupon.
This plugin can also give the prize from mod items to player or set them as coupon items.
This plugin is simple but supports various servers. (i guess)
Command : /randombox /drb
/drb create <name> - Create a random box.
/drb prize <name> - Set the prize of the random box.
/drb cmd <name> <CustomModalData> - Set the custom model data of the random box coupon item.
if you don't want to set custom model data, set it to 0.
/drb drop <name> <amount> - Set the amount of the random box drop.
the drop is the number of random boxes that will be given when the coupon is used.
and this will give you the item in the prize setting as a slot, not a single item.
/drb coupon <name> - Set the coupon item of the random box.
/drb getcoupon <name> (username) - Give the coupon item of the random box.
/drb list - List all random boxes.
/drb delete <name> - Delete the random box.
/drb reload - config file reload.
Permissions : Command - OP Only, coupon use : drb.use
Discord :
https://discord.gg/JnMCqkn2FX
check it out my other plugins
https://github.com/darksoldier1404/DP-Plugins