Skip to content

Instantly share code, notes, and snippets.

@iGabyTM
Last active September 16, 2021 07:58
Show Gist options
  • Save iGabyTM/13437ba214c53504ad81a33968f29e2a to your computer and use it in GitHub Desktop.
Save iGabyTM/13437ba214c53504ad81a33968f29e2a to your computer and use it in GitHub Desktop.
⭐[TokenEnchant] Greed Pack | Key, Money & Tokens⭐
Potions:
KeyGreed:
event_map:
BlockBreakEvent: HIGH
TEBlockExplodeEvent: HIGH # @since 1.0.2
price: 10
max: 10
occurrence: always
#
# Available options
#
# • CrateReloaded - https://spigotmc.org/resources/861/ or https://spigotmc.org/resources/3663/
# • CrazyCrates-Physical - https://spigotmc.org/resources/17599/
# • CrazyCrates-Virtual
#
cratesPlugin: CrazyCrates-Physical
messages:
#
# If enabled, the messages will be sent as an actionbar
# @sine 1.0.1
#
sendAsActionbar: false
#
# Placeholders
#
# • {amount} - the amount of keys received
# • {key} - the key name
# • {key_display_name} - the key display name
#
# The HEX format for 1.16 and above is <#RRGGBB> @since 1.0.2
#
receive: '&eYou have received &f{amount}x {key}'
#
# From here you can enable / disable certain events
# @since 1.0.3
#
events:
BlockBreakEvent: true
TEBlockExplodeEvent: true
tiers:
T1:
#
# This tier will cover all levels between 1 and 5 (inclusive)
#
levels:
from: 1
to: 5
keys:
Basic:
#
# The player can receive between 1 and 2 Basic keys
#
min: 1
max: 2
#
# The chance to get this type of key (or rarity) out of 100
#
chance: 50
Common:
min: 1
max: 2
chance: 50
#
# The list of blocks that will give keys
# if the list is empty this condition is ignored
#
countedBlocks: []
#
# The chance to get a key
#
chance: 20 # 20%
Potions:
MoneyGreed:
event_map:
BlockBreakEvent: HIGH
TEBlockExplodeEvent: HIGH # @since 1.0.2
price: 10
max: 10
occurrence: always
messages:
#
# If enabled, the messages will be sent as an actionbar
# @sine 1.0.1
#
sendAsActionbar: false
#
# Placeholders
#
# • {amount} - the amount of money (1234)
# • {amount_commas} - the amount of money formatted with commas (1,234)
# • {amount_formatted} - the amount of money formatted with letters (1k)
#
# The HEX format for 1.16 and above is <#RRGGBB> @since 1.0.2
#
receive: '&aYou have received &n{amount_commas}&c$ from your MoneyGreed enchantment!'
#
# From here you can enable / disable certain events
# @since 1.0.3
#
events:
BlockBreakEvent: true
TEBlockExplodeEvent: true
tiers:
T1:
#
# This tier will cover all levels between 1 and 5 (inclusive)
#
levels:
from: 1
to: 5
#
# The player can receive between 100 and 200 money (decimals are supported)
#
range:
min: 100
max: 200
#
# The list of blocks that will give tokens
# if the list is empty this condition is ignored
#
countedBlocks: []
#
# The chance to get money
#
chance: 20 # 20%
Potions:
TokenGreed:
event_map:
BlockBreakEvent: HIGH
TEBlockExplodeEvent: HIGH # @since 1.0.2
price: 10
max: 10
occurrence: always
messages:
#
# If enabled, the messages will be sent as an actionbar
# @sine 1.0.1
#
sendAsActionbar: false
#
# Placeholders
#
# • {amount} - the amount of tokens (1234)
# • {amount_commas} - the amount of tokens formatted with commas (1,234)
# • {amount_formatted} - the amount of tokens formatted with letters (1k)
#
# The HEX format for 1.16 and above is <#RRGGBB> @since 1.0.2
#
receive: '&cYou have received &n{amount}&c Tokens from your TokenGreed enchantment!'
#
# From here you can enable / disable certain events
# @since 1.0.3
#
events:
BlockBreakEvent: true
TEBlockExplodeEvent: true
tiers:
T1:
#
# This tier will cover all levels between 1 and 5 (inclusive)
#
levels:
from: 1
to: 5
#
# The player can receive between 100 and 200 tokens
#
range:
min: 100
max: 200
#
# The list of blocks that will give tokens
# if the list is empty this condition is ignored
#
countedBlocks: []
#
# The chance to get tokens
#
chance: 20 # 20%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment