Geolykt / EnchantmentsPlus

Enchantments+, a Bukkit Custom Enchantments Plugin based on Zenchantments targetted at production grade servers
GNU General Public License v3.0
38 stars 14 forks source link

No enchantments available #80

Closed catluvr69 closed 2 years ago

catluvr69 commented 3 years ago

Plugins we currently have: HuskHomes, SlimeChunker, EnchantmentsPlus 4.0 on 1.17 spigot

No enchantments are available, when doing /ench list it comes up empty

jpickaxe

Geolykt commented 3 years ago

I assume that this is expected behaviour if you are not holding anything in your hand. I will definitely change this however

catluvr69 commented 3 years ago

Hi, I was holding a pickaxe in my hand, we've tried with shovels, swords, armour.. Thats why I named the photo pickaxe. xu1AeR14OB javaw_AtuZbLfxre

catluvr69 commented 3 years ago

Forgot to add it also doesn't work on the enchantment table.

Geolykt commented 3 years ago

Then that might be a bug instead; could you show me your magicCompat.yml config file?

catluvr69 commented 3 years ago
# This is the magic compatibillity file. It can be used to alter the way the plugins thinks of some things.
# This also allows for some crude compatibillity between (Minecraft) versions without having to upgrade / downgrade the Plugin.
# Please note that the file is more meant to be futureproof than pastproof

# default configurations as of Version 4.0.0 of the Enchantments+ Plugin, meant for use for minecraft 1.17
# it will NOT work well in previous versions of the game, albeit it can be modified for it

version: "2" # currently unused and meant for future use. Version 2 is the default as of v4.0.0
target: "17"

grownCrops:
  # grown crops, used by the harvest enchantment
  - "WHEAT"
  - "POTATOES"
  - "CARROTS"
  - "COCOA"
  - "BEETROOTS"
  - "NETHER_WART"
  - "SWEET_BERRY_BUSH"
melonCrops:
  # melon-ish crops, such as Melons and Pumkins - Note: don't use their stems!
  - "MELON"
  - "PUMPKIN"
airs:
  # Air blocks, anything more to tell?
  - "AIR"
  - "CAVE_AIR"
  - "VOID_AIR"
ores:
  # Self explainatory, isn't it?
  - "GLOWSTONE"
  - "NETHER_QUARTZ_ORE"
  - "ANCIENT_DEBRIS" # 1.16 and beyond
  - "#lapis_ores"
  - "#coal_ores"
  - "#iron_ores"
  - "#emerald_ores"
  - "#gold_ores"
  - "#diamond_ores"
  - "#redstone_ores"
  - "#copper_ores"
dryBiomes:
  # Biomes in which it doesn't rain. Used for the Blaze's curse enchantment to calculate whether damage should be dealth in rainy weather
  - "DESERT"
  - "FROZEN_OCEAN"
  - "FROZEN_RIVER"
  - "SNOWY_TUNDRA"
  - "SNOWY_MOUNTAINS"
  - "DESERT_HILLS"
  - "SNOWY_BEACH"
  - "SNOWY_TAIGA"
  - "SNOWY_TAIGA_HILLS"
  - "SAVANNA"
  - "SAVANNA_PLATEAU"
  - "BADLANDS"
  - "WOODED_BADLANDS_PLATEAU"
  - "BADLANDS_PLATEAU"
  - "DESERT_LAKES"
  - "ICE_SPIKES"
  - "SNOWY_TAIGA_MOUNTAINS"
  - "SHATTERED_SAVANNA"
  - "SHATTERED_SAVANNA_PLATEAU"
  - "ERODED_BADLANDS"
  - "MODIFIED_WOODED_BADLANDS_PLATEAU"
  - "MODIFIED_BADLANDS_PLATEAU"
unbreakable:
  # Blocks designated to be not breakable, used for the laser enchantment along other things
  - "AIR"
  - "BARRIER"
  - "BEDROCK"
  - "BUBBLE_COLUMN"
  - "CAVE_AIR"
  - "COMMAND_BLOCK"
  - "CHAIN_COMMAND_BLOCK"
  - "DRAGON_BREATH"
  - "DRAGON_EGG"
  - "END_CRYSTAL"
  - "END_GATEWAY"
  - "END_PORTAL"
  - "END_PORTAL_FRAME"
  - "MOVING_PISTON"
  - "REPEATING_COMMAND_BLOCK"
  - "STRUCTURE_BLOCK"
  - "STRUCTURE_VOID"
  - "PISTON_HEAD"
  - "LAVA"
  - "VOID_AIR"
  - "WATER"
laserDenylist:
  # blocks that shouldn't be broken by the laser enchantment
  - "OBSIDIAN"
  - "CRYING_OBSIDIAN" # 1.16 and beyond
terraformerAllowlist:
  # Designated blocks that can be placed by the Terraformer enchantment. Since we are not to crazy this list doesn't contains things that are in Tags
  - "WHITE_TERRACOTTA"
  - "ORANGE_TERRACOTTA"
  - "MAGENTA_TERRACOTTA"
  - "LIGHT_BLUE_TERRACOTTA"
  - "BLUE_TERRACOTTA"
  - "BLACK_TERRACOTTA"
  - "RED_TERRACOTTA"
  - "GREEN_TERRACOTTA"
  - "CYAN_TERRACOTTA"
  - "GRAY_TERRACOTTA"
  - "LIGHT_GRAY_TERRACOTTA"
  - "YELLOW_TERRACOTTA"
  - "LIME_TERRACOTTA"
  - "PURPLE_TERRACOTTA"
  - "PINK_TERRACOTTA"
  - "WHITE_GLAZED_TERRACOTTA"
  - "ORANGE_GLAZED_TERRACOTTA"
  - "MAGENTA_GLAZED_TERRACOTTA"
  - "LIGHT_BLUE_GLAZED_TERRACOTTA"
  - "BLUE_GLAZED_TERRACOTTA"
  - "BLACK_GLAZED_TERRACOTTA"
  - "RED_GLAZED_TERRACOTTA"
  - "GREEN_GLAZED_TERRACOTTA"
  - "CYAN_GLAZED_TERRACOTTA"
  - "GRAY_GLAZED_TERRACOTTA"
  - "LIGHT_GRAY_GLAZED_TERRACOTTA"
  - "YELLOW_GLAZED_TERRACOTTA"
  - "LIME_GLAZED_TERRACOTTA"
  - "PURPLE_GLAZED_TERRACOTTA"
  - "PINK_GLAZED_TERRACOTTA"
  - "WHITE_CONCRETE"
  - "ORANGE_CONCRETE"
  - "MAGENTA_CONCRETE"
  - "LIGHT_BLUE_CONCRETE"
  - "BLUE_CONCRETE"
  - "BLACK_CONCRETE"
  - "RED_CONCRETE"
  - "GREEN_CONCRETE"
  - "CYAN_CONCRETE"
  - "GRAY_CONCRETE"
  - "LIGHT_GRAY_CONCRETE"
  - "YELLOW_CONCRETE"
  - "LIME_CONCRETE"
  - "PURPLE_CONCRETE"
  - "PINK_CONCRETE"
  - "WHITE_CONCRETE_POWDER"
  - "ORANGE_CONCRETE_POWDER"
  - "MAGENTA_CONCRETE_POWDER"
  - "LIGHT_BLUE_CONCRETE_POWDER"
  - "BLUE_CONCRETE_POWDER"
  - "BLACK_CONCRETE_POWDER"
  - "GRAY_CONCRETE_POWDER"
  - "LIGHT_GRAY_CONCRETE_POWDER"
  - "YELLOW_CONCRETE_POWDER"
  - "LIME_CONCRETE_POWDER"
  - "PURPLE_CONCRETE_POWDER"
  - "PINK_CONCRETE_POWDER"
  - "COBBLESTONE"
  - "COBBLED_DEEPSLATE"
  - "MOSSY_COBBLESTONE"
  - "BRICK"
  - "TNT"
  - "BOOKSHELF"
  - "NETHER_BRICK"
  - "END_STONE"
  - "QUARTZ_BLOCK"
  - "WARPED_HYPHAE"
  - "PRISMARINE"
  - "RED_SANDSTONE"
  - "GLOWSTONE"
  - "NETHER_QUARTZ_ORE"
  - "ANCIENT_DEBRIS" # 1.16 and beyond
  # Warning: tags have to be lowercase
  - "#wool"
  - "#logs"
  - "#enderman_holdable"
  - "#base_stone_overworld"
  - "#base_stone_nether"
  - "#ice"
  - "#nylium"
  - "#lapis_ores"
  - "#coal_ores"
  - "#iron_ores"
  - "#emerald_ores"
  - "#gold_ores"
  - "#diamond_ores"
  - "#redstone_ores"
  - "#copper_ores"
  - "#stone_bricks"
shredAllowlistPickaxes:
  # the allowlist for the shred enchantment, more specifically the blocks at which it fires for pickaxes
  - "SANDSTONE"
  - "RED_SANDSTONE"
  - "GLOWSTONE"
  - "NETHER_QUARTZ_ORE"
  - "ANCIENT_DEBRIS" # 1.16 and beyond
  - "WHITE_TERRACOTTA"
  - "ORANGE_TERRACOTTA"
  - "MAGENTA_TERRACOTTA"
  - "LIGHT_BLUE_TERRACOTTA"
  - "BLUE_TERRACOTTA"
  - "BLACK_TERRACOTTA"
  - "RED_TERRACOTTA"
  - "GREEN_TERRACOTTA"
  - "CYAN_TERRACOTTA"
  - "GRAY_TERRACOTTA"
  - "LIGHT_GRAY_TERRACOTTA"
  - "YELLOW_TERRACOTTA"
  - "LIME_TERRACOTTA"
  - "PURPLE_TERRACOTTA"
  - "PINK_TERRACOTTA"
  - "#base_stone_overworld"
  - "#base_stone_nether"
  - "#ice"
  - "#nylium"
  - "#lapis_ores"
  - "#coal_ores"
  - "#iron_ores"
  - "#emerald_ores"
  - "#gold_ores"
  - "#diamond_ores"
  - "#redstone_ores"
  - "#copper_ores"
shredAllowlistShovels:
  # the allowlist for the shred enchantment, more specifically the blocks at which it fires for shovels
  - "#mineable/shovel"
spectralConversions:
  # this basically maps the conversions used by the spectral enchantment. Syntax is "<source_material>:<target_material>". 
  # Please note that they should be circulatory for the best gameplay experience
  # Colo(u)rable blocks are handled automatically in the background for the sanity of all invloved parties (Mojang, please add)
  - "GRASS_BLOCK:DIRT_PATH" # dirt-like conversions
  - "DIRT_PATH:DIRT"
  - "DIRT:MYCELIUM"
  - "MYCELIUM:PODZOL"
  - "PODZOL:COARSE_DIRT"
  - "COARSE_DIRT:GRASS_BLOCK"
  - "ICE:PACKED_ICE" # ice-like conversions
  - "PACKED_ICE:BLUE_ICE"
  - "BLUE_ICE:ICE"
  - "WARPED_NYLIUM:CRIMSON_NYLIUM" # Nylium  / 1.16 and beyond
  - "CRIMSON_NYLIUM:WARPED_NYLIUM"  # 1.16 and beyond
  - "SAND:RED_SAND" # sand
  - "RED_SAND:SAND"
  - "OAK_LOG:STRIPPED_OAK_LOG" # Log - Stripped Log conversions
  - "STRIPPED_OAK_LOG:OAK_LOG"
  - "BIRCH_LOG:STRIPPED_BIRCH_LOG"
  - "STRIPPED_BIRCH_LOG:BIRCH_LOG"
  - "ACACIA_LOG:STRIPPED_ACACIA_LOG"
  - "STRIPPED_ACACIA_LOG:ACACIA_LOG"
  - "JUNGLE_LOG:STRIPPED_JUNGLE_LOG"
  - "STRIPPED_JUNGLE_LOG:JUNGLE_LOG"
  - "SPRUCE_LOG:STRIPPED_SPRUCE_LOG"
  - "STRIPPED_SPRUCE_LOG:SPRUCE_LOG"
  - "WARPED_STEM:STRIPPED_WARPED_STEM" # 1.16 and beyond
  - "STRIPPED_WARPED_STEM:WARPED_STEM" # 1.16 and beyond
  - "CRIMSON_STEM:STRIPPED_CRIMSON_STEM" # 1.16 and beyond
  - "STRIPPED_CRIMSON_STEM:CRIMSON_STEM" # 1.16 and beyond
  - "DARK_OAK_LOG:STRIPPED_DARK_OAK_LOG"
  - "STRIPPED_DARK_OAK_LOG:DARK_OAK_LOG"
  - "ACACIA_LEAVES:BIRCH_LEAVES" # Cycle between leaves
  - "BIRCH_LEAVES:DARK_OAK_LEAVES"
  - "DARK_OAK_LEAVES:JUNGLE_LEAVES"
  - "JUNGLE_LEAVES:OAK_LEAVES"
  - "OAK_LEAVES:SPRUCE_LEAVES"
  - "SPRUCE_LEAVES:ACACIA_LEAVES"
  - "ACACIA_PLANKS:BIRCH_PLANKS" # Cycle between planks
  - "BIRCH_PLANKS:CRIMSON_PLANKS" # 1.16 and beyond
  - "CRIMSON_PLANKS:DARK_OAK_PLANKS" # 1.16 and beyond
  - "DARK_OAK_PLANKS:JUNGLE_PLANKS"
  - "JUNGLE_PLANKS:OAK_PLANKS"
  - "OAK_PLANKS:SPRUCE_PLANKS"
  - "SPRUCE_PLANKS:WARPED_PLANKS" # 1.16 and beyond
  - "WARPED_PLANKS:ACACIA_PLANKS" # 1.16 and beyond
  - "ACACIA_SAPLING:BIRCH_SAPLING" # Cycle between Saplings
  - "BIRCH_SAPLING:DARK_OAK_SAPLING"
  - "DARK_OAK_SAPLING:JUNGLE_SAPLING"
  - "JUNGLE_SAPLING:OAK_SAPLING"
  - "OAK_SAPLING:SPRUCE_SAPLING"
  - "SPRUCE_SAPLING:ACACIA_SAPLING"
lumberTrunks: # Trunks for the lumber
  - "#logs"
  - "MUSHROOM_STEM"
lumberAllowlist: # Additional blocks for the BFS pathfind for Lumber (usefull to break big trees)
  - "#leaves"
  - "AIR"
  - "BROWN_MUSHROOM"
  - "CAVE_AIR"
  - "COCOA"
  - "DIRT"
  - "GRASS"
  - "GRASS_BLOCK"
  - "DIRT_PATH"
  - "LAVA"
  - "RED_MUSHROOM"
  - "VOID_AIR"
  - "WATER"
tools:
  all:
    - "WOODEN_AXE"
    - "STONE_AXE"
    - "IRON_AXE"
    - "GOLDEN_AXE"
    - "DIAMOND_AXE"
    - "NETHERITE_AXE" # 1.16 and beyond
    - "WOODEN_PICKAXE"
    - "STONE_PICKAXE"
    - "IRON_PICKAXE"
    - "GOLDEN_PICKAXE"
    - "DIAMOND_PICKAXE"
    - "NETHERITE_PICKAXE" # 1.16 and beyond
    - "WOODEN_SHOVEL"
    - "STONE_SHOVEL"
    - "IRON_SHOVEL"
    - "GOLDEN_SHOVEL"
    - "DIAMOND_SHOVEL"
    - "NETHERITE_SHOVEL" # 1.16 and beyond
    - "WOODEN_HOE"
    - "STONE_HOE"
    - "IRON_HOE"
    - "GOLDEN_HOE"
    - "DIAMOND_HOE"
    - "NETHERITE_HOE" # 1.16 and beyond
    - "LEATHER_HELMET"
    - "CHAINMAIL_HELMET"
    - "IRON_HELMET"
    - "GOLDEN_HELMET"
    - "DIAMOND_HELMET"
    - "NETHERITE_HELMET" # 1.16 and beyond
    - "LEATHER_CHESTPLATE"
    - "CHAINMAIL_CHESTPLATE"
    - "IRON_CHESTPLATE"
    - "GOLDEN_CHESTPLATE"
    - "DIAMOND_CHESTPLATE"
    - "NETHERITE_CHESTPLATE" # 1.16 and beyond
    - "ELYTRA"
    - "LEATHER_LEGGINGS"
    - "CHAINMAIL_LEGGINGS"
    - "IRON_LEGGINGS"
    - "GOLDEN_LEGGINGS"
    - "DIAMOND_LEGGINGS"
    - "NETHERITE_LEGGINGS" # 1.16 and beyond
    - "LEATHER_BOOTS"
    - "CHAINMAIL_BOOTS"
    - "IRON_BOOTS"
    - "GOLDEN_BOOTS"
    - "DIAMOND_BOOTS"
    - "NETHERITE_BOOTS" # 1.16 and beyond
    - "WOODEN_SWORD"
    - "STONE_SWORD"
    - "IRON_SWORD"
    - "GOLDEN_SWORD"
    - "DIAMOND_SWORD"
    - "NETHERITE_SWORD" # 1.16 and beyond
    - "FISHING_ROD"
    - "BOW"
    - "SHEARS"
    - "FLINT_AND_STEEL"
    - "ENCHANTED_BOOK"
  axe:
    - "WOODEN_AXE"
    - "STONE_AXE"
    - "IRON_AXE"
    - "GOLDEN_AXE"
    - "DIAMOND_AXE"
    - "NETHERITE_AXE" # 1.16 and beyond
  pickaxe:
    - "WOODEN_PICKAXE"
    - "STONE_PICKAXE"
    - "IRON_PICKAXE"
    - "GOLDEN_PICKAXE"
    - "DIAMOND_PICKAXE"
    - "NETHERITE_PICKAXE" # 1.16 and beyond
  shovel:
    - "WOODEN_SHOVEL"
    - "STONE_SHOVEL"
    - "IRON_SHOVEL"
    - "GOLDEN_SHOVEL"
    - "DIAMOND_SHOVEL"
    - "NETHERITE_SHOVEL" # 1.16 and beyond
  hoe:
    - "WOODEN_HOE"
    - "STONE_HOE"
    - "IRON_HOE"
    - "GOLDEN_HOE"
    - "DIAMOND_HOE"
    - "NETHERITE_HOE" # 1.16 and beyond
  helmet:
    - "LEATHER_HELMET"
    - "CHAINMAIL_HELMET"
    - "IRON_HELMET"
    - "GOLDEN_HELMET"
    - "DIAMOND_HELMET"
    - "NETHERITE_HELMET" # 1.16 and beyond
  chestplate:
    - "LEATHER_CHESTPLATE"
    - "CHAINMAIL_CHESTPLATE"
    - "IRON_CHESTPLATE"
    - "GOLDEN_CHESTPLATE"
    - "DIAMOND_CHESTPLATE"
    - "NETHERITE_CHESTPLATE" # 1.16 and beyond
  wings:
    - "ELYTRA"
  leggings:
    - "LEATHER_LEGGINGS"
    - "CHAINMAIL_LEGGINGS"
    - "IRON_LEGGINGS"
    - "GOLDEN_LEGGINGS"
    - "DIAMOND_LEGGINGS"
    - "NETHERITE_LEGGINGS" # 1.16 and beyond
  boots:
    - "LEATHER_BOOTS"
    - "CHAINMAIL_BOOTS"
    - "IRON_BOOTS"
    - "GOLDEN_BOOTS"
    - "DIAMOND_BOOTS"
    - "NETHERITE_BOOTS" # 1.16 and beyond
  sword:
    - "WOODEN_SWORD"
    - "STONE_SWORD"
    - "IRON_SWORD"
    - "GOLDEN_SWORD"
    - "DIAMOND_SWORD"
    - "NETHERITE_SWORD" # 1.16 and beyond
  rod:
    - "FISHING_ROD"
  bow:
    - "BOW"
  shears:
    - "SHEARS"
transformation:
  # this basically maps the entity pairs used by the transformation enchantment. Syntax is "<source_entity_type>:<target_entity_type>". 
  # They should be circulatory for the best gameplay experience. 
  # Please note that some pairs may not work for all versions, which is why I commented when you should remove them.
  # BEWARE: the map's contents are pretty strict in naming
  - "HUSK:DROWNED"
  - "WITCH:VINDICATOR"
  - "COD:SALMON"
  - "PHANTOM:BLAZE"
  - "HORSE:DONKEY"
  - "SKELETON:STRAY"
  - "CHICKEN:PARROT"
  - "SQUID:DOLPHIN"
  - "OCELOT:WOLF"
  - "POLAR_BEAR:SHEEP"
  - "COW:MUSHROOM_COW"
  - "PIG:ZOMBIFIED_PIGLIN" # remove in versions before 1.16.1
  - "SPIDER:CAVE_SPIDER"
  - "SLIME:MAGMA_CUBE"
  - "GUARDIAN:ELDER_GUARDIAN"
  - "ENDERMITE:SILVERFISH"
  - "SKELETON_HORSE:ZOMBIE_HORSE"
  - "SHULKER:ENDERMAN"
  - "SNOWMAN:IRON_GOLEM" # that's a bit too OP - so if you wan't to remove it - feel free to
  - "DROWNED:ZOMBIE"
  - "EVOKER:VINDICATOR"
  - "SALMON:PUFFERFISH"
  - "BLAZE:VEX"
  - "DONKEY:MULE"
  - "STRAY:WITHER_SKELETON"
  - "PARROT:BAT"
  - "DOLPHIN:TURTLE"
  - "WOLF:OCELOT"
  - "SHEEP:POLAR_BEAR"
  - "MUSHROOM_COW:COW"
  - "ZOMBIFIED_PIGLIN:PIG" # remove in versions before 1.16.1
  - "CAVE_SPIDER:SPIDER"
  - "MAGMA_CUBE:SLIME"
  - "ELDER_GUARDIAN:GUARDIAN"
  - "SILVERFISH:ENDERMITE"
  - "ZOMBIE_HORSE:SKELETON_HORSE"
  - "ENDERMAN:SHULKER"
  - "IRON_GOLEM:SNOWMAN"
  - "ZOMBIE:ZOMBIE_VILLAGER"
  - "EVOKER:VILLAGER"
  - "PUFFERFISH:TROPICAL_FISH"
  - "VEX:GHAST"
  - "MULE:LLAMA"
  - "WITHER_SKELETON:SKELETON"
  - "BAT:CHICKEN"
  - "TURTLE:SQUID"
  - "ZOMBIE_VILLAGER:HUSK"
  - "VILLAGER:WITCH"
  - "TROPICAL_FISH:COD"
  - "GHAST:PHANTOM"
  - "LLAMA:HORSE"
  - "HOGLIN:ZOGLIN" # remove in versions before 1.16.1
  - "ZOGLIN:HOGLIN" # remove in versions before 1.16.1
  - "RABBIT:RABBIT" # remove to remove the killer bunny change
  - "CREEPER:CREEPER" # remove to remove the change of the charged state
Geolykt commented 3 years ago

I have absolutely no idea what the issue is, further testing is needed I guess

Geolykt commented 3 years ago

I'm unable to reproduce it in my staging as well as on my testing server. Would be nice if anyone were to know what the issue is

catluvr69 commented 3 years ago

I found the issue, I didn't realize the amount of datapacks on the server but it was anti enderman grief v1.1.0 that caused it

Geolykt commented 3 years ago

Ah, it probably changed the #enderman_holdable tag, unsure why that would solve the issue, but it makes sense to some degree. I will see whether I can do anything about it

Geolykt commented 2 years ago

This bug is related to #79 which has been fixed ages ago. As such I'm closeing this issue