FairAnvil - Anvil costing xp points instead of xp levels

Discussion in 'Plugin Requests' started by hamslyyours, Nov 25, 2021.

  1. Offline

    hamslyyours

    Plugin category: Anvil Customization

    Minecraft version: 1.17.1

    Suggested name: FairAnvil

    What I want: I'd like to be able to let players use anvil "fairly". When player with level 53 and level 25 repair the same thing in the anvil the xp level deducted shouldn't be the same.

    Instead of deducting xp levels, the anvil repair deducts xp points which is calculated from the xp levels that will be deducted instead. This is calculated from level 0 to level needed by the anvil converted into xp points.

    The anvil will also show xp points needed and its relative level cost to the player current level.

    Ideas for commands:
    /fairanvils toggle true
    /fairanvils toggle false

    Ideas for permissions:
    fairanvils.reload - For ops to reload
    fairanvils.toggle - For ops to toggle on and off

    When I'd like it by: No time request
     
    Last edited: Nov 25, 2021
  2. Offline

    BlackScorpyon04

    hamslyyours likes this.
  3. Offline

    hamslyyours

    Thanks the mechanics already work as intended, but can the anvil show the players the cost as XP points instead of XP levels?

    There is also a bug where players can enchant without having enough levels, for ex. lvl 17 player can do anvilling with repair cost of 35

    Also can I request so it can work on Enchanting table too?

    And because I use modified anvil level which can go through level 40 can you disable the too expensive message?
     
    Last edited: Nov 26, 2021
  4. Offline

    BlackScorpyon04

    I don't think its possible to change the level text to say XP points.
     
    Last edited: Nov 26, 2021
  5. Offline

    hamslyyours

    Yes I am using another anvil realted plugin which allow enchants past vanilla enchantment limit.
     
  6. Offline

    BlackScorpyon04

  7. Offline

    hamslyyours

Share This Page