DP-RandomBox icon

DP-RandomBox -----

just a simple randombox plugin



dppcore.png
Require DPP-Core : https://www.spigotmc.org/resources/dpp-core.121933/
Requires DPP-Core plugin version 4.0.0.10 or later.


desc.png

* 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)

cmd-perm.png

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
screenshot.png

2025-01-18_23.18.38.jpg
2025-01-18_23.18.52.jpg


video.png


discord.png

Discord : https://discord.gg/JnMCqkn2FX

other.png

check it out my other plugins
https://github.com/darksoldier1404/DP-Plugins
Resource Information
Author:
----------
Total Downloads: 34
First Release: Jan 17, 2025
Last Update: Jan 18, 2025
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings