I know, but I was to set rarity if possible
like:
3 = rare chance of receiving - Legendaries
2= uncommon - dragonites, starters
1= common - common ones haha
đŚ HuskyCrates [v2.0.0-PRE8] [API 5-7] - Give everyone keys, use Custom Particles, Keys, and more!
It has a probability system.
Hey everyone, expect a public release for 1.11 sometime today! It may not work properly for 1.10.2, but Iâll try.
Aaaaand the third message in a row, butâŚ
#v0.8-PRE has been released on GitHub Releases
Changelog:
its out what do you want from me
initial release?
An update has been released.
v0.8.1-PRE has been released on GitHub Releases
Changes
- Fixed
/crate <id> key [player]
- Changes how the probability system works, check readme.
How exactly does one CREATE a⌠Crate? Is there something Iâm supposed to do to a vanilla chest that I set down or something? Iâm sorry if this is question has an obvious answer but I certainly canât figure it out.
ah, feel a bit stupid now xD tyvm
An update has been released.
v0.8.2-PRE has been released on GitHub Releases
Changes
- Commands should correspond to their respective pulled item
Iâm assuming its really buggy for API 5?
Inaccuracy
on github
/crate <crate id> key [player]
Clarification was required. The impression is that there are predefined identifiers (crate id
).
/crate <crate id>
For chances, can I set say 50 commands with 10% chance, 50 comands with 50% chance and 50commands with 70% chance?
for example:
{
amount=1
chance=50
command=âpokegive %p bulbasaur sâ
id=âminecraft:diamondâ
name=âShiny Crateâ
},
{
amount=1
chance=50
command=âpokegive %p squirtle sâ
id=âminecraft:diamondâ
name=âShiny Crateâ
},
{
amount=1
chance=50
command=âpokegive %p chamander sâ
id=âminecraft:diamondâ
name=âShiny Crateâ
},
{
amount=1
chance=70
command=âpokegive %p ratata sâ
id=âminecraft:diamondâ
name=âShiny Crateâ
},
{
amount=1
chance=70
command=âpokegive %p random sâ
id=âminecraft:diamondâ
name=âShiny Crateâ
},
What? Iâm pretty sure I fixed it so it showed crate id
Plus I donât even know how thatâs vague. It doesnât seem the slightest bit confusing to me.
Thatâs not how it works, your chances all get pooled up and each one is like 50/300 or something
Slightly buggy. It works for the most part.
also, can I run 2 commands?
{
amount=1
chance=70
command1=âpokegive %p random sâ
command2=âbroadcast poopâ
id=âminecraft:diamondâ
name=âShiny Crateâ
},
Not at the moment. Thatâll probably be a feature for 0.9
Not formatted like that though.
The format of the commands is different.
/crate key [player]
â forum
/crate <crate id> key [player]
â github
You should clarify to users which one is correct.
This will provoke questions. You should explain to users what it is. Maybe in the config to write a commentary.
crates {
commandcrate { # <-- crate id bla bla bla
IMHO.
Where did I even say the command on the forumsâŚ
Edit: that was in a change log. If youâre trusting a change log to be accurate for commands and such, have fun lol