Enhance the way your players repair their items.
Are you tired of the old and boring essentials command 'repair/fix'? Then this is the perfect plugin for you! RepairGUI enhance the way you repair your items in a complete new way, never seen before. Now you repair your items in a really cool GUI and you need to pay either XP Level(s) or Money to do it.

Features:
  • GUI - You can customize it to your preference.
  • XP Level(s) or Money as price type.
  • Per Item Support - You can set a individual price type and cost for every single item.
  • Repair one item at a time or all items at once.
  • Change every message sent by the plugin.
  • Efficient code - No lag!
d722801a7a634ebd6c3c9e8ad2641baad2fac0eb

Video:


Commands:
  • /repair - Open the GUI.
  • /fix - Open the GUI.
  • /repairreload - Reload the config and the lang.
Permissions:
  • repairgui.use - Gives access to /repair and /fix.
  • repairgui.repair-all - Gives access to repair all items at once.
  • repairgui.* - Gives access to the two permissions listed above.
  • repairgui.reload - Gives access to /repairreload
Screenshots:
4a5854e534ea601b78bb50e492984b4bde7a772c
61ebb9bc62dff060b30a5cc3d36aa39703598725
992669ce96d2345e5cc400dee43c9dc54638a479
a4bb62f9738df1865716b330f59ede80b3675acf

Files:
1.1-SNAPSHOT
Code:
## RepairGUI - config.yml
## Made by: ValidateDev

# The version of the config. Don't change this please.
version: 1.1
# The lang file that the plugin will use. Default: 'lang_en-US.yml'.
lang: 'lang_en-US.yml'

# You can find all valid ChatColor codes here: https://goo.gl/KzeGXx
# You can find all valid Material names here: https://goo.gl/REthDn
# You can find all valid Sound names here: https://goo.gl/Os4kB7

# GUI Settings
gui:
  # The title of the gui.
  title: '&8Select an item to repair...'
  item:
    # The background item.
    background:
      material: STAINED_GLASS_PANE
      data: 15
      name: ' '
    # The close gui item.
    close:
      material: BARRIER
      name: '&cClose'
      lore:
        - '&7Click here to close the menu.'
    repair-all:
      # The repair all item if player has permission.
      has-permission:
        material: WOOL
        data: 5
        name: '&aRepair all items'
        lore:
          - '&ePRICE: &b%xp% XP Level(s) and $%money%'
          - '&7Click here to repair all items at once.'
      # The repair all item if player has no permission.
      no-permission:
        material: WOOL
        data: 14
        name: '&aRepair all items'
        lore:
          - '&cYou do not have permission to use this feature.'
  sound:
    repair:
      # The repair success sound.
      success:
        enabled: true
        type: ENTITY_PLAYER_LEVELUP
      # The repair not enough sound.
      not-enough:
        enabled: true
        type: BLOCK_ANVIL_BREAK
    repair-all:
    # The repair all success sound.
      success:
        enabled: true
        type: ENTITY_PLAYER_LEVELUP
    # The repair all not enough sound.
      not-enough:
        enabled: true
        type: BLOCK_ANVIL_BREAK
  price-lore:
    # The lore that will be added to every item which price type is XP.
    xp:
      - ' '
      - '&ePRICE: &b%price% XP Level(s)'
      - '&7Click here to repair this item.'
    # The lore that will be added to every item which price type is MONEY.
    money:
      - ' '
      - '&ePRICE: &b$%price%'
      - '&7Click here to repair this item.'
  # Enable this to close the gui when it's empty.
  close-when-empty: false

# Price Settings
# Valid price type's: XP, MONEY
price:
  # The default type and cost price for all the items that doesn't have
  # a custom type and cost price set under 'item'.
  default:
    type: XP
    cost: 5
  # Custom type and cost price for the specified materials below.
  item:
    DIAMOND_PICKAXE:
      type: XP
      cost: 15
    DIAMOND_SPADE:
      type: XP
      cost: 15
    DIAMOND_AXE:
      type: XP
      cost: 15
    DIAMOND_SWORD:
      type: XP
      cost: 15
    DIAMOND_HELMET:
      type: MONEY
      cost: 5000
    DIAMOND_CHESTPLATE:
      type: MONEY
      cost: 5000
    DIAMOND_LEGGINGS:
      type: MONEY
      cost: 5000
    DIAMOND_BOOTS:
      type: MONEY
      cost: 5000

# Command Settings
# If you want the specified command to be enabled or not.
command:
  repair: true
  fix: true
1.0-SNAPSHOT
Code:
prefix: '&bRepairGUI &7»» '
no-permission: '&cYou do not have the right permission to do this.'
command:
  only-player: You can only run this command as a player.
  repair:
    no-items: '&c&lERROR&r &7You have no items to repair.'
  repairreload:
    success: '&a&lSUCCESS&r &7Reloaded config and lang.'
repair:
  no-more-items: '&c&lERROR&r &7You have no more items to repair.'
  not-enough-xp: '&c&lERROR&r &7You do not have enough XP Level(s) to repair this
    item.'
  not-enough-money: '&c&lERROR&r &7You do not have enough money to repair this item.'
  success: '&a&lSUCCESS&r &7You have successfully repaired your item!'
  all:
    not-enough: '&c&lERROR&r &7You do not have enough XP Level(s) and money to repair
      all items.'
    success: '&a&lSUCCESS&r &7You have successfully repaired all your items!'

Dependencies:
If you want to charge money when repairing an item will you need to have Vault. (The plugin will work without Vault.)
Download Vault: https://dev.bukkit.org/projects/vault

Author

Pannkaka

Owner
Author
Pannkaka
Downloads
2
Type
Digital product
License duration
Unlimited
Price
4.00 USD
Views
838
First release
Last update
Rating
0.00 star(s) 0 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.