RepairGui 1.8 ~ 1.21.x Editable GUI/PRICES/Supports other plugin's currencies icon

RepairGui 1.8 ~ 1.21.x Editable GUI/PRICES/Supports other plugin's currencies -----

A Repair plugin with GUI. Supports other plugins' currency to fix items



RepairGui 5.0
Update:
- Available to use other plugin's economy to fix items! (Require PlaceholderAPI for this feature!)
Example in config
Code (YAML):
repair-cost :

    money
: true
    level
: true
    custom-cost
: false #This feature required PlaceholderAPI
    money-cost
: ' ( (10 * {Durability } ) + 200 ) / 2'
    level-cost
: ' {Durability } / 2'
 
 
    # Note: placeholder for showing custom cost. [repairgui_custom_<name>]
    # Example "repairgui_custom_tokenmanager"
 
    custom-cost
:
        tokenmanager
:
            #TokenManager Plugin
            type
: ' %tm_tokens%' #put the placeholder that show player's economy
            cost
: ' {Durability } / 2'
            command
: 'tokenmanager remove %player_name% %cost%'
       
Code (YAML):
check-update : true

Prefix
: '&6&l [&aRepairGui&6&l ] '

Gui-Name
: '&cRepair Gui'

Open-GUI
:
    command
: true # "/repair" to open Repair GUI
    anvil
: true # open Repair GUI on anvil

#Player are only allowed to open the "RepaiGui" if only the anvil was placed by an admin.
Only-Admin-Anvil
: true

#===================================================================#
# Available money/level/prices placeholders                         #
# {PLAYER_LEVEL} = shows player's level.                            #
#                                                                   #
# {PLAYER_MONEY} = shows player's money.                            #
#                                                                   #
# {PLAYER_MONEY_FORMATTED} = shows player's money with formatted.   #
#                                                                   #
# {PRICES_MONEY} = shows repair money cost.                         #
#                                                                   #
# {PRICES_MONEY_FORMATTED} = shows repair money cost with fomatted. #
#                                                                   #
# {PRICES_LEVEL} = shows repair level cost.                         #
#                                                                   #
# {DURABILITY} = shows item's broken durability.                    #
#                                                                   #
# {ENCHANTAMOUNT} = shows item's enchantment amount.                #
#                                                                   #
# Note: if item doesn't have any enchantments, it outputs 0.        #
#===================================================================#


Button
:
    accept
:
        item
: STAINED_GLASS
        display-name
: '&aAccept'
        data
: 5
        lore
:
        - '&cCost
: $ {PRICES_MONEY_FORMATTED } + {PRICES_LEVEL } levels + %repairgui_custom_tokenmanager% tokens'
        - '&aCurrent Money
: {PLAYER_MONEY }'
        - '&aCurrent Level
: {PLAYER_LEVEL } level'
   
 
    cancel
:
        item
: STAINED_GLASS
        display-name
: '&cCancel'
        data
: 14
        lore
:
       - ''
        - ''

#===================================================================#
# Available placeholders for repair-cost                            #
# {DURABILITY} = shows item's broken durability.                    #
#                                                                   #
# {ENCHANTAMOUNT} = shows item's enchantment amount.                #
#                                                                   #
# Note: if item doesn't have any enchantments, it outputs 0.        #
#===================================================================#
repair-cost
:

    money
: true
    level
: true
    custom-cost
: false #This feature required PlaceholderAPI
    money-cost
: ' ( (10 * {Durability } ) + 200 ) / 2'
    level-cost
: ' {Durability } / 2'
 
 
    # Note: placeholder for showing custom cost. [repairgui_custom_<name>]
    # Example "repairgui_custom_tokenmanager", "repairgui_custom_test"

    custom-cost
:
        tokenmanager
:
            #TokenManager
            type
: ' %tm_tokens%' #put the placeholder that show player's economy
            cost
: ' {Durability } / 2'
            command
: 'tokenmanager remove %player_name% %cost%'
   
        #test:
        #    GemsManager
        #    type: '%gemseconomy_balance%'
        #    cost: '{Durability} / 100'
        #    command: 'geco take %player_name% %cost%'
   

repair-sound
:
    enable
: true
    sound
: BLOCK_ANVIL_USE

Message
:
    not-enough-money
: '&cYou don''t have enough money to repair this item!'
    not-enough-level
: '&cYou don''t have enough level to repair this item!'
    no-permission
: '&cYou don''t have permission to do this!'

 
----------, Dec 12, 2018
Resource Information
Author:
----------
Total Downloads: 28,287
First Release: Oct 20, 2018
Last Update: Jun 22, 2024
Category: ---------------
All-Time Rating:
45 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings