2Devs-FlightOrbs | Allow players to fly without rank! | 1.12-1.17 1.0.0

2devs, flightorbs, flying
Supported software
Supported versions
Tags
Tags
2devs flightorbs flying
o72IlCH.png






    • Almost everything configurable
    • Give players the possibility to fly!
    • Easy to configure for selling into store ( by using command )
aOTqSt4.png


5i1q29p.png


/FOA reload - To reload Configuration
/FOA give <player> <charges> - Give target player orb with specific amount of charges

7C6NrHx.png


flightorbs.admin - Admin command permission /flightorbsadmin

S6YrRD2.png


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: ":"

# 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

v5OxdYe.png


Email: [email protected]
Discord: IgniteDEV#1465
Direct Message: via SpigotMC


YQ4srmo.png

Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.