Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command items - randomness #928

Open
LadyCailinBot opened this issue Dec 2, 2014 · 0 comments
Open

Command items - randomness #928

LadyCailinBot opened this issue Dec 2, 2014 · 0 comments
Labels
status:accepted This issue has been triaged and accepted type:feature-request Request for something new

Comments

@LadyCailinBot
Copy link

CRAFTBOOK-3079 - Reported by Iwitrag

Hello,

I've been thinking about this possible feature of command items.

~ RANDOMNESS ~

With this you could do something like:

when item is opened:
chance 0.5% that { those commands will happen ; exit ;}
change 1.0% that { those commands will happen ; exit ;}
and so on...

This could be great feature for RPG style servers, with lot of various boxes, event items, etc...

Example:
Christmas gift box
When used by left mouse click, this item will randomly spawn item to your inventory

when item is opened:
chance 1.5% that { give diamond ; say you got a diamond ! ; exit ; }
chance 1.0% that { give emerald ; say you got an emerald ! ; exit ; }
chance 0.5% that { give diamond block ; say you got a diamond block ! ; exit ; }
else (no possibility met) { say you was unlucky, good luck next time ! ; exit ; }

I hope you understand

@me4502 me4502 added status:accepted This issue has been triaged and accepted type:feature-request Request for something new labels Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:accepted This issue has been triaged and accepted type:feature-request Request for something new
Projects
None yet
Development

No branches or pull requests

2 participants