
Pebble's Crate
Weighted randomiser crate mod for Minecraft Fabric 1.19.2-1.20.1 Great for vote crates, premium crates and whatever else you want to use it for.
Обновлён 27 декабря 2024 г. · опубликован 3 мая 2023 г.
Pebble's Lootcrate
Pebble's Lootcrate mod for Fabric Minecraft version 1.19.2, 1.20.1 and 1.21.1
Make sure you have Fabric Language Kotlin installed!
If you would like to convert your configs from AdvancedCrates to Pebble's Crate, I have written a converter that will help speed up the process a little bit, it can be found here along with a crate config creator/editor (WIP): https://pebblescrate.sethi.tech/
Go to source:
Feel free to drop me a star on Github :)
Come try out the crates on one of the servers I manage :) IP: dynastymc.org
Permissions
For all admin commands, if you have LuckPerm installed, the following is required:
pebbles.admin.crate
Available Commands
/padmin crate Displays all available crate in the config and lets you grab a crate transformer/crate key
/padmin getcrate <name> Get a crate transformer
/padmin givekey <player> <amount> <cratename> Gives cratekey to a specific player
How to use?
After installing the mod, you may navigate to /config/pebbles-crate/crates or create the folders then create a file, for example example.json
You may use the follow example as reference for the structure:
{
"crateName": "Vanilla Items Crate",
"screenName": "&6Vanilla Items Crate",
"crateKey": {
"material": "minecraft:tripwire_hook",
"name": "&#FFBF00Vanilla Key",
"lore": [
"&#FFDC73• Opens a Vanilla Items Crate"
]
},
"prize": [
{
"name": "?BC5DDiamond",
"material": "minecraft:diamond",
"amount": 1,
"nbt": "{species:\"cobblemon:bulbasaur\",aspects:[\"shiny\"]}",
"commands": [
"give {player_name} minecraft:diamond 1"
],
"broadcast": "&6{player_name} &fhas received {prize_name} &ffrom {crate_name}",
"messageToOpener": "&6[Pebble's Crates] &f&lYou got {prize_name} &f&lfrom Vanilla Items Crate",
"lore": [
"Chance of getting the drop: {chance}%"
],
"chance": 40
},
{
"name": "&rElytra",
"material": "minecraft:elytra",
"amount": 1,
"commands": [
"give {player_name} minecraft:elytra 1"
],
"broadcast": "&6{player_name} &fhas received {prize_name} &ffrom {crate_name}",
"messageToOpener": "&6[Pebble's Crates] &f&lYou got {prize_name} &f&lfrom Vanilla Items Crate",
"lore": [
"Chance of getting the drop: {chance}%"
],
"chance": 5
},
{
"name": "&rGolden Apple",
"material": "minecraft:golden_apple",
"amount": 1,
"commands": [
"give {player_name} minecraft:golden_apple 1"
],
"broadcast": "&6{player_name} &fhas received {prize_name} &ffrom {crate_name}",
"messageToOpener": "&6[Pebble's Crates] &f&lYou got {prize_name} &f&lfrom Vanilla Items Crate",
"lore": [
"Chance of getting the drop: {chance}%"
],
"chance": 55
}
]
}
Note that the mod supports legacy formatting (e.g. ?BC5D, &4, &f, &r) as demonstrated in the example.
Todo
- Admin UI for editing the loot in-game
- Better/more error handling
- Finish writing todos
Центр версий
6 версийЧенджлог
1.1.1-1.21.1Бета1.21.1 · 27 декабря 2024 г.
- Update 1.21.1
- Supports both legacy and new NBT format
- Fix multiple crates not loading
- Better item deletion handling
1.0.4-1.20.1Релиз1.20.1 · 1 ноября 2023 г.
- Make keys drop to ground when inventory is full
1.0.3Релиз1.19.2 · 28 мая 2023 г.
- Added player accessor (@a, @e @p etc.) to give keys to multiple players
- Added ability to disable particles for specific crates through /padmin activecrates
1.0.2Релиз1.19.2 · 5 мая 2023 г.
Release 1.0.2, bug fixes, more error-handling, minor changes:
- Increased animation timer, more suspense
- Reduced volume on the drawing and reward sounds (will be customisable in the future)
- Fixed amount not applying properly when set on the crate config
- Added URL for web-editor (WIP)
- Properly handle empty/missing message and broadcast fields
1.0.1Релиз1.19.2 · 4 мая 2023 г.
- Increased draw animation timer
- Fixed issue with named paper registering empty crates
- Add URL for editing the crate config on Web-UI
- Automatically generate config folder on launch if it does not exist rather than when using crate command for the first time
Комментарии
Загружаем…

