flrp's plugins
Search…
Hub
Free
Tracker
Economobs
Econoblocks
Installation & Dependencies
Permissions & Commands
Files
Frequently Asked Questions
Tutorials
Adding Chances
Managing Multiplier Groups
Premium
TrackerPlus
Challenges
Powered By
GitBook
Adding Chances
Basic Usage
To add a chance to a block, simply just add the percentage after your value. Let's add a 50% chance for $10 for every time coal is mined.
Simply add a 50 after the amount.
From this:
1
blocks
:
2
COAL_ORE
:
10
Copied!
To this:
1
blocks
:
2
COAL_ORE
:
10 50
Copied!
More Rare Chances
You are allowed to set way rarer chances than 1%. For example, down below there's a 5 in 1000 chance (or 1 in 200) for coal to give you $1000.
1
blocks
:
2
COAL_ORE
:
1000 0.5
Copied!
This example shows a 1 in 1,000,000 chance for coal to give you $100,000.
1
blocks
:
2
COAL_ORE
:
100000 0.0001
Copied!
Previous
Tutorials
Next
Managing Multiplier Groups
Last modified
5mo ago
Copy link
Contents
Basic Usage
More Rare Chances