crashtheparty / EnchantmentSolution

Enchantment plugin for Custom Enchantments.
15 stars 13 forks source link

Enchantment permissions #74

Closed star-kissed closed 4 years ago

star-kissed commented 4 years ago

I have advanced option and use permission set to true. Certain enchantments I have set to true for the permission such as width++. I want this enchant to be available to a certain rank such as C block. They have the permissions enchantmentsolution.width_plus_plus.table.level1 but they can’t get the enchant. Am I doing something wrong?

crashtheparty commented 4 years ago

Please send the debug.yml file generated from using /esdebug

star-kissed commented 4 years ago

time: '2020/03/31 23:04:21 EDT -0400' version: bukkit: '1.14.4' bukkit_num: 8 plugin: '2.2.11' plugins: jobs_reborn: false mcmmo: 'Overhaul' mcmmo_version: '2.1.125' config: anvil: level_divisor: 8 custom_gui: true default_use: false max_repair_level: 60 damage: true enchanting_table: custom_gui: true level_fifty: true lapis_in_table: true reset_on_reload: true grindstone: custom_gui: true use_legacy: false take_enchantments: false set_repair_cost: true destroy_take_item: true max_enchantments: 0 update_legacy_enchantments: false use_enchanted_books: false disable_enchant_method: 'repairable' enchantment_check: 300 drop_items_naturally: true language: 'en_us' language_file: 'language.yml' villager_trades: false use_comments: true protection_conflicts: true lore_on_top: true version: get_latest: true get_experimental: false wiki: on_login: false on_timer: false timer_seconds: 14400 url: 'https://bit.ly/2N54NzC' loots: mobs: use: false bookshelves: 0 levels: 0 treasure: false fishing: use: true bookshelves: 0 levels: 0 treasure: true chests: use: true end_city_treasure: bookshelves: 15 levels: 3 treasure: true simple_dungeon: bookshelves: 0 levels: 0 treasure: true shipwreck_supply: bookshelves: 0 levels: 0 treasure: true woodland_mansion: bookshelves: 10 levels: 1 treasure: true stronghold_library: bookshelves: 10 levels: 1 treasure: true stronghold_crossing: bookshelves: 10 levels: 1 treasure: true stronghold_corridor: bookshelves: 10 levels: 1 treasure: true underwater_ruin_big: bookshelves: 0 levels: 0 treasure: true underwater_ruin_small: bookshelves: 0 levels: 0 treasure: true pillager_outpost: bookshelves: 10 levels: 1 treasure: true gametype: 'survival' fishing: Enchantments_Rarity_30: COMMON: enchants:

crashtheparty commented 4 years ago

Just tested this; Width++ has a very low chance of appearing on items (weight of very rare) and as such will rarely show up in the enchanting table. I was able to get it to appear by setting the weight to common; you might want to test this to see if players can get it, and then let me know if you still have troubles. I was able to get expected behavior from my testing.