Creation of Mystics
when the /mystic create command is used, a mystic is created with default parameters. Where do these default parameters come from? Below we will look at where
Where do these default parameters come from?
config.yml
default:
particle: CLOUD
sound: BLOCK_ENDER_CHEST_OPEN
cooldown: 60 #minutes
chance: 1.0
mysticType: STONE
statics: false #Statistical mysticism
spawnMessage:
- "&fA &c&l%name &rhas appeared at coordinates {&lx&r:&b%x&f,&ly&r:&b%y&f,&lz&r:&b%z&f}!"
blockMessage: "&bMystic has not activated yet"
needDistance: 20
timeDeleteWhenDontGetItems: 3600
timeDeleteWhenDontOpen: 1800
sizeRegion: 10
flags:
- "block-break"
- "block-place"
- "interact"
blockCmd: #list of commands that cannot be used within a region
loot:
chestName: "Mystic сontents"
size: 27
cooldownSpawnItem: 10 #time in ticks required for the next item to spawn
items:
1:
chance: 1.0
range: 1-64
stack:
==: org.bukkit.inventory.ItemStack
v: 2586
type: DIAMOND
amount: 5
2:
chance: 0.7
stack:
==: org.bukkit.inventory.ItemStack
v: 2586
type: NETHERITE_SWORD
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
LUCK: 3
3:
chance: 0.5
range: 1-64
stack:
==: org.bukkit.inventory.ItemStack
v: 2586
type: GOLD_INGOT
amount: 5
4:
chance: 1.0
range: 1-64
stack:
==: org.bukkit.inventory.ItemStack
v: 2586
type: APPLE
amount: 5
hologram:
timerInHologram: true # TRUE - there will be a line "Before opening: %s"
beforeOpen:
- "&6&lFlame Mystic Chest"
- "&c&l%name &f&l- Burning with Power!"
- "&4&m-------------------------"
- "&eOpening in: &f&l%timer"
- "&4&m-------------------------"
afterOpen:
- "&6&lFlame Mystic Chest"
- "&c&l%name &f&l- The Flames Have Awakened!"
- "&a&m-------------------------"
- "&7The chest has opened!"
- "&a&m-------------------------"
spawn:
random: true
cords:
#if spawn is at random coordinates
x1: 1000
x2: 10000
z1: 1000
z2: 10000
#if spawn is at the specified coordinates
x: 200
y: 70
z: 200
timeSecond: 5 #the time it takes to activate after the first press
spawnAnimation: MYTHIC_CYCLE
startOpenAnimation: ORBIT
blockAnimation: NONE
firstOpenAnimation: NONE
Last updated