Fade Cubes ($15)

Performance friendly, endless configuration and much mor

Introducing Phantom Cubes, offering a unique experience for your server by enhancing gameplay and boosting player retention. These cubes provide enchantment proc rate boosts, crystal extraction capabilities, and endless customizability. From messages and boosts and much more, Phantom Cubes are designed with performance in mind, ensuring smooth gameplay even for large player bases, all without compromising the player experience!

Example Default Configuration

Shown below if the default configuration you will generate upon a fresh install of Phantom Cubes, you can modify all the configurations below to your liking!

LICENSE: 'YOUR_LICENSE_HERE'

Debug: true

Config:
  ## You just have your internal enchant name as the key and the display name as the value. Otherwise it will not work.
  NameParser:
    jackhammer: 'Jackhammer'
    experiencecollector: 'Experience Collector'

  ## fadecrystals.extract.<rank_perm> - Permission to extract crystals, <rank_perm> is the rank permission in your luckperms.
  ## This means in order to extract crystals, the player must have the permission fadecrystals.extract.<rank_perm>, and it will be checked.
  CrystalExtraction:
    comet: 30
    star: 40
    commander: 50
    example: 60
    example2: 70
    example3: 90

  ## This section supports all placeholders installed on your server, below is an example of using edprison to calculate the % of boost. You can create
  ## unlimited rarity of crystals, and each rarity can have its own model, name, lore, and glow status.
  ## Supported Placeholders:
  ## -> %player% - Player's name
  ## -> %customname% - Crystal's custom name
  ## -> %amount% - Amount of boost
  ## -> %chance% - Chance of applying the crystal
  ## -> %enchant% - Enchantment name
CrystalItems:
  Common:
    Material: GRAY_DYE
    Model: 10001
    Name: '#9a9a9a&lCommon #c0c0c0&l%customname% Cube &8(&7Drag'' n Drop&8)'
    Lore:
      - "&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs"
      - ''
      - '&7Drag''n Drop this #9a9a9a%customname% #c0c0c0Cube &7into &f/cubes'
      - '&7to apply an enchant boost to your &fPickaxe!'
      - "&7"
      - '#9a9a9a┣ &fChance:#c0c0c0 %chance%% Apply Chance'
      - '#9a9a9a┣ &fBooster: &a%edprison_singlenotation_{edprison_calc_%amount%*100}%% &8[&c10% Max&8]'
      - ""
      - "&7&o(( &fDrag'n Drop&7 to apply #c0c0c0%customname% #9a9a9aCube &7&o))"
    Glow: false

  Uncommon:
    Material: BLUE_DYE
    Model: 10005
    Name: '#0847F1&lU#0F4AF1&ln#154DF2&lc#1C51F2&lo#2354F3&lm#2957F3&lm#305AF4&lo#365DF4&ln #4464F5&l%customname% #727AF9&lC#797EF9&lu#7F81FA&lb#8684FA&le &8(&7Drag'' n Drop&8)'
    Lore:
      - "&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs"
      - ''
      - '&7Drag''n Drop this #8684FA%customname% #0847F1Cube &7into &f/cubes'
      - '&7to apply an enchant boost to your &fPickaxe!'
      - "&7"
      - '#0847F1┣ &fChance:#8684FA %chance%% Apply Chance'
      - '#0847F1┣ &fBooster: &a%edprison_singlenotation_{edprison_calc_%amount%*100}%% &8[&c20% Max&8]'
      - ""
      - "&7&o(( &fDrag'n Drop&7 to apply #8684FA%customname% #0847F1Cube &7&o))"
    Glow: false

  Rare:
    Material: PURPLE_DYE
    Name: '#6C0CDD&lR#7011DF&la#7515E2&lr#791AE4&le #AE50FF&l%customname% #A142F8&lC#A547FA&lu#AA4BFD&lb#AE50FF&le &8(&7Drag'' n Drop&8)'
    Lore:
      - "&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs"
      - ''
      - '&7Drag''n Drop this #AE50FF%customname% #6C0CDDCube &7into &f/cubes'
      - '&7to apply an enchant boost to your &fPickaxe!'
      - "&7"
      - '#6C0CDD┣ &fChance:#AE50FF %chance%% Apply Chance'
      - '#6C0CDD┣ &fBooster: &a%edprison_singlenotation_{edprison_calc_%amount%*100}%% &8[&c30% Max&8]'
      - ""
      - "&7&o(( &fDrag'n Drop&7 to apply #AE50FF%customname% #6C0CDDCube &7&o))"
    Glow: false

  Unique:
    Material: YELLOW_DYE
    Name: '#F8AF0C&lU#F8B30F&ln#F9B711&li#F9BB14&lq#FABF17&lu#FAC319&le #FBCB1F&l%customname% #FEE631&lC#FEEA34&lu#FFEE36&lb#FFF239&le &8(&7Drag'' n Drop&8)'
    Lore:
      - "&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs"
      - ''
      - '&7Drag''n Drop this #FFF239%customname% #F8AF0CCube &7into &f/cubes'
      - '&7to apply an enchant boost to your &fPickaxe!'
      - "&7"
      - '#F8AF0C┣ &fChance:#FFF239 %chance%% Apply Chance'
      - '#F8AF0C┣ &fBooster: &a%edprison_singlenotation_{edprison_calc_%amount%*100}%% &8[&c40% Max&8]'
      - ""
      - "&7&o(( &fDrag'n Drop&7 to apply #FFF239%customname% #F8AF0CCube &7&o))"
    Glow: false

  Legendary:
    Material: LIME_DYE
    Model: 10003
    Name: '#10AC0E&lL#10B00E&le#11B40F&lg#11B80F&le#11BD0F&ln#12C110&ld#12C510&la#12C910&lr#13CD10&ly #14D611&l%customname% #16F313&lC#16F713&lu#17FB14&lb#17FF14&le &8(&7Drag'' n Drop&8)'
    Lore:
      - "&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs"
      - ''
      - '&7Drag''n Drop this #14D611%customname% #10AC0ECube &7into &f/cubes'
      - '&7to apply an enchant boost to your &fPickaxe!'
      - "&7"
      - '#10AC0E┣ &fChance:#14D611 %chance%% Apply Chance'
      - '#10AC0E┣ &fBooster: &a%edprison_singlenotation_{edprison_calc_%amount%*100}%% &8[&c50% Max&8]'
      - ""
      - "&7&o(( &fDrag'n Drop&7 to apply #14D611%customname% #10AC0ECube &7&o))"
    Glow: false

CrystalMenu:
  Title: '&8Pickaxe Crystals'
  Rows: 3
  Fill:
    Enable: true
    Material: GRAY_STAINED_GLASS_PANE
    Name: '&7'
  Crystals:
    Info:
      Slot: 4
      SlotName: "information"
      Requirement: '%edprison_level_rankup% >= 32323232323'
      Locked:
        Material: BOOK
        Name: '&e&lCrystal &6&lInformation'
        Lore:
          - '&8ᴄʀʏsᴛᴀʟ'
          - '&7&oWhen applying &6crystals&7&o, you will have a chance for it to be'
          - '&7&oapplied, and once applied it will boost &6enchantment &eactivations&7&o.'
        Model: 9
      Unlocked:
        Material: LIME_STAINED_GLASS_PANE
        Name: '&e&lCrystal &lSlot &7&l[&a&lUnlocked&7&l]'
        Lore:
          - '&7'
          - '&7ᴅʀᴀɢ''ɴ ᴅʀᴏᴘ ᴄʀʏsᴛᴀʟ ᴛᴏ ᴀᴘᴘʟʏ'
        Model: 0

    1:
      Slot: 11
      CrystalID: "one"
      Requirement: '%edprison_level_rankup% >= 50 && %edprison_level_prestige% >= 50'
      Locked:
        Material: EMERALD
        Name: '&c&lLocked Crystal Slot'
        Lore:
          - '&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs'
          - '&7&oCrystal slots allow you to drag'
          - '&7&oand drop any pickaxe crystal into'
          - '&7&oan unlocked slot, giving its benefits.'
          - '&7'
          - '&c&lInformation'
          - '&4&l → &c&lStatus: &fLocked'
          - '&7'
          - '&4&lRequirements'
          - '  &4&l → &cRankup Lvl. &f50'
          - '  &4&l → &cPrestige Lvl. &f50'
        Model: 45
      Unlocked:
        Material: DIAMOND
        Name: '&a&lUnlocked Crystal Slot &8(&7Drag'' n Drop&8)'
        Lore:
          - '&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs'
          - '&7&oCrystal slots allow you to drag'
          - '&7&oand drop any pickaxe crystal into'
          - '&7&oan unlocked slot, giving its benefits.'
          - '&7'
          - '&2&l → &a&lStatus: &a&lUnlocked'
          - '&7'
          - '&7&o(( &fDrag'' n Drop &7&oto apply crystal ))'
        Model: 11008
    2:
      Slot: 12
      CrystalID: "two"
      Requirement: '%edprison_level_rankup% >= 200 && %edprison_level_prestige% >= 150'
      Locked:
        Material: EMERALD
        Name: '&c&lLocked Crystal Slot'
        Lore:
          - '&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs'
          - '&7&oCrystal slots allow you to drag'
          - '&7&oand drop any pickaxe crystal into'
          - '&7&oan unlocked slot, giving its benefits.'
          - '&7'
          - '&c&lInformation'
          - '&4&l → &c&lStatus: &fLocked'
          - '&7'
          - '&4&lRequirements'
          - '  &4&l → &cRankup Lvl. &f200'
          - '  &4&l → &cPrestige Lvl. &f150'
        Model: 45
      Unlocked:
        Material: DIAMOND
        Name: '&a&lUnlocked Crystal Slot &8(&7Drag'' n Drop&8)'
        Lore:
          - '&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs'
          - '&7&oCrystal slots allow you to drag'
          - '&7&oand drop any pickaxe crystal into'
          - '&7&oan unlocked slot, giving its benefits.'
          - '&7'
          - '&2&l → &a&lStatus: &a&lUnlocked'
          - '&7'
          - '&7&o(( &fDrag'' n Drop &7&oto apply crystal ))'
        Model: 11008
    3:
      Slot: 13
      CrystalID: "three"
      Requirement: '%edprison_level_rankup% >= 500 && %edprison_level_prestige% >= 250'
      Locked:
        Material: EMERALD
        Name: '&c&lLocked Crystal Slot'
        Lore:
          - '&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs'
          - '&7&oCrystal slots allow you to drag'
          - '&7&oand drop any pickaxe crystal into'
          - '&7&oan unlocked slot, giving its benefits.'
          - '&7'
          - '&c&lInformation'
          - '&4&l → &c&lStatus: &fLocked'
          - '&7'
          - '&4&lRequirements'
          - '  &4&l → &cRankup Lvl. &f500'
          - '  &4&l → &cPrestige Lvl. &f250'
        Model: 45
      Unlocked:
        Material: DIAMOND
        Name: '&a&lUnlocked Crystal Slot &8(&7Drag'' n Drop&8)'
        Lore:
          - '&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs'
          - '&7&oCrystal slots allow you to drag'
          - '&7&oand drop any pickaxe crystal into'
          - '&7&oan unlocked slot, giving its benefits.'
          - '&7'
          - '&2&l → &a&lStatus: &a&lUnlocked'
          - '&7'
          - '&7&o(( &fDrag'' n Drop &7&oto apply crystal ))'
        Model: 11008

    4:
      Slot: 14
      CrystalID: "four"
      Requirement: '%edprison_level_rankup% >= 700 && %edprison_level_prestige% >= 350'
      Locked:
        Material: EMERALD
        Name: '&c&lLocked Crystal Slot'
        Lore:
          - '&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs'
          - '&7&oCrystal slots allow you to drag'
          - '&7&oand drop any pickaxe crystal into'
          - '&7&oan unlocked slot, giving its benefits.'
          - '&7'
          - '&c&lInformation'
          - '&4&l → &c&lStatus: &fLocked'
          - '&7'
          - '&4&lRequirements'
          - '  &4&l → &cRankup Lvl. &f700'
          - '  &4&l → &cPrestige Lvl. &f350'
        Model: 45
      Unlocked:
        Material: DIAMOND
        Name: '&a&lUnlocked Crystal Slot &8(&7Drag'' n Drop&8)'
        Lore:
          - '&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs'
          - '&7&oCrystal slots allow you to drag'
          - '&7&oand drop any pickaxe crystal into'
          - '&7&oan unlocked slot, giving its benefits.'
          - '&7'
          - '&2&l → &a&lStatus: &a&lUnlocked'
          - '&7'
          - '&7&o(( &fDrag'' n Drop &7&oto apply crystal ))'
        Model: 11008

    5:
      Slot: 15
      CrystalID: "five"
      Requirement: '%edprison_variable_changeable_hasSlotCrystal% == true'
      Locked:
        Material: EMERALD
        Name: '&c&lLocked Crystal Slot'
        Lore:
          - '&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs'
          - '&7&oCrystal slots allow you to drag'
          - '&7&oand drop any pickaxe crystal into'
          - '&7&oan unlocked slot, giving its benefits.'
          - '&7'
          - '&c&lInformation'
          - '&4&l → &c&lStatus: &fLocked'
          - '&7'
          - '&4&lRequirements'
          - '  &4&l → &cObtained from &eCrystal Slot &6Expander&c.'
        Model: 45
      Unlocked:
        Material: DIAMOND
        Name: '&a&lUnlocked Crystal Slot &8(&7Drag'' n Drop&8)'
        Lore:
          - '&8ᴘɪᴄᴋᴀxᴇ ᴄʀʏsᴛᴀʟs'
          - '&7&oCrystal slots allow you to drag'
          - '&7&oand drop any pickaxe crystal into'
          - '&7&oan unlocked slot, giving its benefits.'
          - '&7'
          - '&2&l → &a&lStatus: &a&lUnlocked'
          - '&7'
          - '&7&o(( &fDrag'' n Drop &7&oto apply crystal ))'
        Model: 11008

Messages:
  Prefix:
    Enable: true
    Value: '&b&lFade&f&lCubes &8&l» '
  ENCHANT_NOT_FOUND:
    Sound:
      Enable: true
      Value: BLOCK_ANVIL_PLACE;1.0;1.0
    Message:
      Enable: true
      Value:
        - '&4&lError! &cThe enchantment you are trying to give is not found!'
  CRYSTAL_ALREADY_USED:
    Sound:
      Enable: true
      Value: BLOCK_ANVIL_PLACE;1.0;1.0
    Message:
      Enable: true
      Value:
        - '&cThere is already a crystal of the same type in place!'
  INVALID_CRYSTAL:
    Sound:
      Enable: true
      Value: BLOCK_ANVIL_PLACE;1.0;1.0
    Message:
      Enable: true
      Value:
        - '&cThe crystal used is invalid.'
  CRYSTAL_FAILED:
    Sound:
      Enable: true
      Value: BLOCK_GLASS_BREAK;1.0;1.0
    Message:
      Enable: true
      Value:
        - '&cYour crystal failed to equip.'
  CRYSTAL_EXTRACT_FAILED:
    Sound:
      Enable: true
      Value: BLOCK_GLASS_BREAK;1.0;1.0
    Message:
      Enable: true
      Value:
        - '&cThe attempted extraction has failed.'
  CRYSTAL_APPLIED:
    Sound:
      Enable: true
      Value: ENTITY_PLAYER_LEVELUP;1.0;1.0
    Message:
      Enable: true
      Value:
        - '&aSuccessfully applied %enchant% &acrystal onto your pickaxe!'
  EXTRACT_CRYSTAL_SUCCESS:
    Sound:
      Enable: true
      Value: ENTITY_PLAYER_LEVELUP;1.0;1.0
    Message:
      Enable: true
      Value:
        - '&2&lExtraction Success! &aYou have extracted the &2%enchant%&a off your pickaxe!'
  CRYSTAL_GIVEN:
    Sound:
      Enable: true
      Value: ENTITY_PLAYER_LEVELUP;1.0;1.0
    Message:
      Enable: true
      Value:
        - '&bYou have given a(n) &f%crystal_customname% &bCube to &f%player%&b!'
  CRYSTAL_RECEIVED:
    Sound:
      Enable: true
      Value: ENTITY_PLAYER_LEVELUP;1.0;1.0
    Message:
      Enable: true
      Value:
        - '&bYou have received a(n) &f%crystal_customname% &bCube'
  CRYSTAL_DROPPED_NEARBY:
    Sound:
      Enable: true
      Value: ENTITY_PLAYER_LEVELUP;1.0;1.0
    Message:
      Enable: true
      Value:
        - '&c&lInventory Full! &7&lThe crystal has been dropped nearby.'
  CONFIG_RELOADED:
    Sound:
      Enable: true
      Value: ENTITY_PLAYER_LEVELUP;1.0;1.0
    Message:
      Enable: true
      Value:
        - '&aAll current files have been reloaded!'

Placeholders


Internal Placeholders:

   Message Section (GIVEN, DROP NEARBY & RECEIVED)
     -> %player% -> Player's Name
     -> %crystal_id% -> the "edprison" enchantment name
     -> %crystal_customname% -> The custom name of the enchantment that you put
     -> %boost% -> The boost value of the crystal
     -> %boost_percent% -> The boost percentage of the crystal
     -> %apply_chance% -> The raw value of apply chance
     -> %apply_chance_formatted% -> Formatted as a single integer
     -> %rarity% - The rarity specified in config

   Message Section (APPLIED, FAILED, EXTRACT FAILED, EXTRACT SUCCESS)
     -> %enchant% -> The enchantment on crystal
     -> %crystal% -> Same as enchantment
     -> %crystal_customname% -> The custom name of the crystal


! Please Note -> CrystalID is the value in the menu section, such as the "one" and "two"

Global Placeholders:
     -> %fadecrystals_used_slots% -> Returns slots that have cubes in them
     -> %fadecrystals_unlocked_slots% -> Returns unlocked slots that are NOT used
     -> %fadecrystals_<CrystalID>_amount% -> Returns the cube(s) boost that is equipped in that slot
     -> %fadecrystals_active_<CrystalID>% -> Returns if a cube is active in that slot
     -> %fadecrystals_<CrystalID>_name% -> Returns the Custom Name of the cube in the slot
     -> %fadecrystals_<CrystalID>_enchant% -> Returns the internal enchantment name

Commands & Permissions

  • /fadecubesadmin givecube {player} {cubeEnchant} {boost} {applyChance} {rarity} -> fadecrystals.admin

  • /fadecubesadmin reload -> fadecrystals.admin

  • /fadecubesadmin listcubes -> fadecrystals.admin

  • /fadecubesadmin forceopen {player} -> fadecrystals.admin

  • /cubes -> Opens the cubes menu, doesn't require permission

  • /cubes menu -> Another way to open the cubes menu

Example Pickaxe Lore (CHANGE HOW YOU WANT IT)

This needs to be pasted into your config.yml in EdPrison under the pickaxe section! You can remove the edprison calcs or keep them, they are an example how you can use other placeholders to change values!

   - '&e'
    - '&d&lCrystals &8(&a%fadecrystals_used_slots%&8/&c5&8)'
    - 'if(%fadecrystals_one_amount% > 0) then &5&l → &d%fadecrystals_one_name% &5%utils_parse_edprison_singlenotation_{edprison_calc_{fadecrystals_one_amount}*100}%%'
    - 'if(%fadecrystals_two_amount% > 0) then &5&l → &d%fadecrystals_two_name% &5%utils_parse_edprison_singlenotation_{edprison_calc_{fadecrystals_two_amount}*100}%%'
    - 'if(%fadecrystals_three_amount% > 0) then &5&l → &d%fadecrystals_three_name% &5%utils_parse_edprison_singlenotation_{edprison_calc_{fadecrystals_three_amount}*100}%%'
    - 'if(%fadecrystals_four_amount% > 0) then &5&l → &d%fadecrystals_four_name% &5%utils_parse_edprison_singlenotation_{edprison_calc_{fadecrystals_four_amount}*100}%%'
    - 'if(%fadecrystals_five_amount% > 0) then &5&l → &d%fadecrystals_five_name% &5%utils_parse_edprison_singlenotation_{edprison_calc_{fadecrystals_five_amount}*100}%%'
    - '&7'

FAQ & Support

If you're having trouble with the plugin or don't know how to do something that you need, head over to our discord server to receive the correct support!

Custom Name's

The custom name parser is simple to use, you need to provide the EdPrison enchantment name, which you can view in your enchantments.yml file. To parse a enchantments.yml enchantment name to a custom one, you specify the enchantment in the config with the value next to it

Config:
  ## You just have your internal enchant name as the key and the display name as the value. Otherwise it will not work.
  NameParser:
    ## So "jackhammer" is my edp enchantment name, and we specify the custom name after the ":" 
    ## This will turn "jackhammer" into "Jackhammer"
    jackhammer: 'Jackhammer'
    experiencecollector: 'Experience Collector'

Crystal Extraction

The extract permission seems abit tricky, but is very easy to understand

  ## fadecrystals.extract.<rank_perm> - Permission to extract crystals, <rank_perm> is the rank permission in your luckperms.
  ## This means in order to extract crystals, the player must have the permission fadecrystals.extract.<rank_perm>, and it will be checked.
  CrystalExtraction:
    comet: 30
    star: 40
    commander: 50
    example: 60
    example2: 70
    example3: 90

Breaking this down, you list all your ranks above and what you want their extraction rate to be
For example, I want the "comet" rank to be only 30% extraction chance, which means they have a 30% to get
The crystal back. And how do you add this to their account?

You simply add the permission which is "fadecrystals.extract.comet" to the ranks permission group, and this will give that group 30% extract rate 

Last updated