Native Minecraft Version:1.19Tested Minecraft Versions:
/FOA reload - To reload Configuration
/FOA give <player> <charges> - Give target player orb with specific amount of charges
flightorbs.admin - Admin command permission /flightorbsadmin
Code (YAML):
# in sec time
chargeTime: 300
# time refresh rate in sec, Larger values cause the refresh to slow down, which may cause slight de synchronization, it is best to set the "chargeTime" divisor
# this does not check did player is holding orb (this is done by events) so you don't have to worry about de synchronization here!
timeRefreshRate: 5
# setup here line number (counting from 0) -
# This option is made not to limit lore with any restrictions as if, for example, someone wanted to add some numbers in other lines
# but be sure that the line with charges counts only have numbers about max charges and current charges
loreChargePlaceholdersIndex: 4
# if false == {current_charges} / {max_charges}
# if true == {max_charges} / {current_charges}
reverseChargesRead: false
# message when charges get to 0
orbDelete: "&b&lYou used up all your orb charges!"
# message when you activate your orb with RPM + shift
orbActivate: "&b&lYour orb will let you fly for {sec} sec!"
# message when orb get deactivated for any reason
orbDeactivate: "&b&lYour orb has got deactivated with {sec} left!"
# message appear when player hold two orbs in different hands
cannotHoldTwoOrbs: "&b&lYou cannot hold two orbs!"
cannotHoldTwoOrbsSound: "ENTITY_VILLAGER_NO"
# should cancel orb on teleport ?
teleportCancel: false
# which particle will appear when activate || https://helpch.at/docs/1.17.1/org/bukkit/Particle.html
activateParticle: "SLIME"
# progress charge
chargeProgress:
- "4"
- "c"
- "e"
- "6"
- "2"
- "a"
# split char in charges line
splitChar: ":"
# for how long it should protect players after orb deactivation (in seconds)
fallDamagePreventionTime: 10
# fully configurable ItemStack
flightOrb:
==: org.bukkit.inventory.ItemStack
v: 2230
type: SLIME_BALL
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: §a§lFlight Orb §7(Shift click)
lore:
- ' '
- "§7Shift Right-Click to enable flight while"
- "§7holding this orb!"
- ' '
- '§a§lCharges: §7 {current_charges} / {max_charges}'
# after split char ":" there can be only one default ChatColor, keep that in mind, rest are chosen from "chargeProgress"
enchants:
DURABILITY: 10
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
- HIDE_UNBREAKABLE
- HIDE_DESTROYS
- HIDE_PLACED_ON
- HIDE_POTION_EFFECTS
Email: [email protected]
Discord: IgniteDEV#1465
Direct Message: via SpigotMC
- 1.12
- 1.13
- 1.14
- 1.15
- 1.16
- 1.17
- 1.18
- 1.19
- Almost everything configurable
- Give players the possibility to fly!
- Easy to configure for selling into store ( by using command )
/FOA reload - To reload Configuration
/FOA give <player> <charges> - Give target player orb with specific amount of charges
flightorbs.admin - Admin command permission /flightorbsadmin
Code (YAML):
# in sec time
chargeTime: 300
# time refresh rate in sec, Larger values cause the refresh to slow down, which may cause slight de synchronization, it is best to set the "chargeTime" divisor
# this does not check did player is holding orb (this is done by events) so you don't have to worry about de synchronization here!
timeRefreshRate: 5
# setup here line number (counting from 0) -
# This option is made not to limit lore with any restrictions as if, for example, someone wanted to add some numbers in other lines
# but be sure that the line with charges counts only have numbers about max charges and current charges
loreChargePlaceholdersIndex: 4
# if false == {current_charges} / {max_charges}
# if true == {max_charges} / {current_charges}
reverseChargesRead: false
# message when charges get to 0
orbDelete: "&b&lYou used up all your orb charges!"
# message when you activate your orb with RPM + shift
orbActivate: "&b&lYour orb will let you fly for {sec} sec!"
# message when orb get deactivated for any reason
orbDeactivate: "&b&lYour orb has got deactivated with {sec} left!"
# message appear when player hold two orbs in different hands
cannotHoldTwoOrbs: "&b&lYou cannot hold two orbs!"
cannotHoldTwoOrbsSound: "ENTITY_VILLAGER_NO"
# should cancel orb on teleport ?
teleportCancel: false
# which particle will appear when activate || https://helpch.at/docs/1.17.1/org/bukkit/Particle.html
activateParticle: "SLIME"
# progress charge
chargeProgress:
- "4"
- "c"
- "e"
- "6"
- "2"
- "a"
# split char in charges line
splitChar: ":"
# for how long it should protect players after orb deactivation (in seconds)
fallDamagePreventionTime: 10
# fully configurable ItemStack
flightOrb:
==: org.bukkit.inventory.ItemStack
v: 2230
type: SLIME_BALL
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: §a§lFlight Orb §7(Shift click)
lore:
- ' '
- "§7Shift Right-Click to enable flight while"
- "§7holding this orb!"
- ' '
- '§a§lCharges: §7 {current_charges} / {max_charges}'
# after split char ":" there can be only one default ChatColor, keep that in mind, rest are chosen from "chargeProgress"
enchants:
DURABILITY: 10
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
- HIDE_UNBREAKABLE
- HIDE_DESTROYS
- HIDE_PLACED_ON
- HIDE_POTION_EFFECTS
Email: [email protected]
Discord: IgniteDEV#1465
Direct Message: via SpigotMC