Plugin Overview
OmnesaDice is a dynamic Minecraft plugin that brings a thrilling chance-based system to your server. Players can throw a dice to test their luck and earn different rewards depending on the result. The plugin is fully customizable, making it easy to adapt to any server concept, gameplay style, or in-game economy while adding excitement and replay value.
Dependencies:
Vault
Config:
Config
dice:
cost: 100.0
minimum-cost: 50.0
item:
name: '&#FFD700&lOmnesaDice'
lore:
- '&#AAAAAA Right-click to throw the dice!'
- '&#AAAAAA Cost: &#FFFF00$100'
custom-model-data: 0
animation:
duration-ticks: 60
rotation-speed: 15.0
height: 2.0
hologram:
duration-ticks: 100
height-offset: 1.9
return-delay-ticks: 100
faces:
1: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmUyMmMyOThlN2M2MzM2YWYxNzkwOWFjMWYxZWU2ODM0YjU4YjFhM2NjOTlhYmEyNTVjYTdlYWViNDc2MTczIn19fQ=='
2: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzFiN2E3M2ZjOTM0YzlkZTkxNjBjMGZkNTlkZjZlNDJlZmQ1ZDAzNzhlMzQyYjY4NjEyY2ZlYzNlODk0ODM0YSJ9fX0='
3: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWJlNjc3YTFlMTYzYTlmOWUwYWZjZmNkZTBjOTUzNjU1NTM0NzhmOTlhYjExMTUyYTRkOTdjZjg1ZGJlNjZmIn19fQ=='
4: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWYyOTk2ZWZjMmJiMDU0ZjUzZmIwYmQxMDZlYmFlNjc1OTM2ZWZlMWZlZjQ0MWY2NTNjMmRjZTM0OTczOGUifX19'
5: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTBkMmEzY2U0OTk5ZmVkMzMwZDNhNWQwYTllMjE4ZTM3ZjRmNTc3MTk4MDg2NTczOTZkODMyMjM5ZTEyIn19fQ=='
6: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDFhMmMwODg2MzdmZWU5YWUzYTM2ZGQ0OTZlODc2ZTY1N2Y1MDlkZTU1OTcyZGQxN2MxODc2N2VhZTFmM2U5In19fQ=='
rewards:
1:
chance: 35.0
type: "normal"
commands:
- 'eco give %player% 50'
messages:
- '7FF55You rolled a &#FFFF5517FF55!'
- '7FF55You received &#FFFF55$507FF55!'
2:
chance: 25.0
type: "normal"
commands:
- 'eco give %player% 150'
messages:
- '7FF55You rolled a &#FFFF5527FF55!'
- '7FF55You received &#FFFF55$1507FF55!'
3:
chance: 20.0
type: "normal"
commands:
- 'eco give %player% 250'
messages:
- '7FF55You rolled a &#FFFF5537FF55!'
- '7FF55You received &#FFFF55$2507FF55!'
4:
chance: 12.0
type: "normal"
commands:
- 'eco give %player% 500'
messages:
- '7FF55You rolled a &#FFFF5547FF55!'
- '7FF55You received &#FFFF55$5007FF55!'
5:
chance: 7.0
type: "normal"
commands:
- 'eco give %player% 1000'
messages:
- '7FF55You rolled a &#FFFF5557FF55!'
- '7FF55You received &#FFFF55$10007FF55!'
6:
chance: 1.0
type: "delete"
commands:
- 'eco give %player% 5000'
messages:
- '&#FFD700&l*** JACKPOT ***'
- '7FF55You rolled a &#FFFF5567FF55!'
- '7FF55You received &#FFFF55$50007FF55!'
- '&#FFA500Bonus number rolled! The dice has been destroyed!'
messages:
prefix: '&#FFD700[OmnesaDice] &r'
insufficient-funds: '&#FF5555You need $%cost% to throw the dice!'
cooldown: '&#FF5555Please wait %seconds% seconds before throwing again!'
no-permission: '&#FF5555You do not have permission to use this!'
dice-given: '7FF55You received an OmnesaDice!'
reload: '7FF55Configuration reloaded!'
vault-not-found: '&#FF5555Vault economy not found!'
sounds:
throw: ENTITY_SNOWBALL_THROW
land: BLOCK_ANVIL_LAND
reward: ENTITY_PLAYER_LEVELUP
jackpot: UI_TOAST_CHALLENGE_COMPLETE
particles:
spinning: ENCHANT
landing: EXPLOSION
cooldown-seconds: 3
Permissions:
omnesadice.use - Use the dice (default: true)
omnesadice.admin - Admin commands (default: op)