Sueta

RepairGui 1.8 ~ 26.x Editable GUI/PRICES/Supports other plug

6.7.4

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

·Plugin
  1. 6.7.4latestBug FixJun 22, 2024
    Fixed plugin unable to start on PaperMC 1.20.6 and above
    3069 downloads
  2. 6.7.3v6.7.3 Custom model data supportSep 25, 2022
    Added custom model data support Code (YAML): item: material : BLUE_STAINED_GLASS_PANE model_data : 0 # <-- add this line display_name : ' ' quantity : 1 lore : - ''
    5577 downloads
  3. 6.7.2v6.7.2Aug 29, 2022
    Fixed an issue with combat logs plugin
    572 downloads
  4. 6.7.1v6.7.1 Placeholder errorJan 17, 2022
    Bug Fix: - Fixed "Invalid placeholder" error if the value return by the placeholder contains comma
    2514 downloads
  5. 6.7.0v6.7.0 Custom cost reworkJan 4, 2022
    Note: there are some changes in config.yml but plugin will automatically update your file. Please do backup the file before updating to this version just in case. Bug Fix: - Fixed old configuration get deleted/replaced after plugin update the file - Fixed NPE error when using custom cost Changes: - added id into custom cost - Renamed type to balance_placeholder This is how it look in newer version Code (YAML): custom: enable : true cost: 1: id : token name : tokens balance_placeholder : ' %tm_token%' cost : ' ( {DURABILITY } + 200 ) / 100' command : 'tokenmanager remove %player_name% %cost%' You can check this to know how to setup custom cost
    521 downloads
  6. 6.6.7v6.6.7 whitelist & blacklist worldNov 28, 2021
    Added: - Added whitelist - Able to disable repairgui's anvil in a certain world - Added new message
    711 downloads
  7. 6.6.6v6.6.6 Item disappear issueOct 17, 2021
    Fixed plugin doesn't return item to player when the server shuts down or restarts
    630 downloads
  8. 6.6.5v6.6.5 Bug FixSep 19, 2021
    Bug Fix: - Fixed plugin removing damaged anvil from data.yml
    592 downloads
  9. 6.6.4v6.6.4 Bug Fix + New MessageSep 10, 2021
    Bug Fix: - NullPointerException error after closing the GUI Added: - repair message
    402 downloads
  10. 6.6.3v6.6.3 Bug fixAug 18, 2021
    Bug Fix: - Fixed NPE error - Fixed custom cost doesn't work
    584 downloads
  11. 6.6.2v.6.6.2 Added custom event & Fix Java15+ issueMay 22, 2021
    Changes: - plugin supports Java15&16 now - plugin will inform you if one of the item's slot is greater than inventory size in the console Added: - Custom event MultiRepairEvent & SingleRepairEvent Code (Java): @EventHandler public void onSingleRepair (SingleRepairEvent event ) { Player player = event. getPlayer ( ) ; ItemStack item = event. getItem ( ) ; double moneyCost = event. getMoneyCost ( ) ; int levelCost = event. getLevelCost ( ) ; // Your code here... } @EventHandler public void onMultiRepair (MultiRepairEvent event ) { Player player = event. getPlayer ( ) ; List <ItemStack > items = event. getItems ( ) ; double moneyCost = event. getMoneyCost ( ) ; int levelCost = event. getLevelCost ( ) ; // Your code here... }
    1241 downloads
  12. 6.6.1Apr 26, 2021
    Bug Fix: - Fixed "repairgui.admin" permission not working Added: - able to set a gui's item unbreakable Code (YAML): 1: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 # Add this if you want to set an item unbreakable unbreakable : true slot : 1
    695 downloads
  13. 6.6.0RepairGui 6.6.0Mar 6, 2021
    Added: - an option to blacklist the items you don't want player to repair Changes: - single repair and multi repair cost are now separated. Note: Please backup your config.yml before updating to this version to avoid losing all the settings you have set if plugin fails to update the file
    980 downloads
  14. 6.5.10RepairGui 6.5.10Dec 20, 2020
    Bug Fix: - prefix doesn't update after /repairgui reload - NPE error
    1267 downloads
  15. 6.5.9new command & bug fixNov 12, 2020
    Bug Fix: - Player can't put item into gui by shift + left click Added: - /repairgui toggle command for admin, which make it easier to place normal anvil
    879 downloads
  16. 6.5.8Error while anvil locationNov 9, 2020
    v6.5.8 Bug Fix: - Error occurs sometimes while saving anvil location into data.yml
    425 downloads
  17. 6.5.7World issueNov 1, 2020
    v6.5.7 Bug Fix: - anvil become normal in custom world
    535 downloads
  18. 6.5.6Data issueOct 28, 2020
    Bug Fix: - plugin save other block location into data.yml
    478 downloads
  19. 6.5.5Anvil issueSep 21, 2020
    Bug Fix: - Fixed plugin doesn't open the gui for player when the anvil is damaged - Fixed plugin doesn't open the gui for player after anvil falling
    636 downloads
  20. 6.5.4Fixed single repair errorJun 28, 2020
    Bug Fixed: - Fixed NPE error while repairing item in single repair gui
    851 downloads
  21. 6.5.3RepairGui 6.5.3May 31, 2020
    Bug Fixed: - Fixed wrong message when player doesn't have enough level to repair the item Changes: - Player now can't pick up item while repairing item
    563 downloads
  22. 6.5.2Fixed file errorMay 6, 2020
    Bug Fixed: - Fixed a file generation error
    700 downloads
  23. 6.5.1Bug FixedMay 5, 2020
    Bug Fixed: - Fixed still take player's level even the level-cost is disabled - Fixed some message nullpointer exception error
    387 downloads
  24. 6.5.0ImprovementMay 4, 2020
    RepairGui v.6.5.0 Improvement: - Recoded most of the classes - Player won't be able to add another item in multiple repair gui until it finish calculating the price. (This is for prevent player spam item and cause server lag due to the price calculation) - Better performance Changes: - Renamed Only-Admin-Anvil to specific-anvil. Code (YAML): #Player can only open repair gui from the anvil that is placed by a person who have 'repairgui.anvil' permission specific-anvil : true - Removed Open-GUI section. Code (YAML): # Removed Open-GUI: command : true anvil : true - the jar are mixed together now. Support 1.8 ~ 1.15.2 - repairgui.admin.anvil permission renamed to repairgui.anvil There're some people report about the anvil doesn't work if it is placed in the air and fall to the ground. I will fix it on the next version.
    464 downloads
  25. 6.4.12Fixed some issuesFeb 3, 2020
    RepairGui 6.4.12 Bug Fixed: - Fixed placeholder get unregistered after /papi reload - Removed "275" debug message in console.
    864 downloads
  26. 6.4.11Bug FixedJan 20, 2020
    RepairGui v6.4.11 Bug Fixed: - Fixed check-update - Fixed some issues with WorldGuard/CombatLogX - Fixed ClassNotFoundException on 1.8.x server
    534 downloads
  27. 6.4.10RepairGui 6.4.10Sep 24, 2019
    Bug Fixed (Legacy Version): - Fixed NPE while cleaning junk data Bug Fixed (1.13+ version): - Fixed NPE while cleaning junk data - Fixed Chipped Anvil and Damaged Anvil couldn't open gui
    893 downloads
  28. 6.4.9RepairGui 6.4.9Sep 18, 2019
    Bug Fixed: - Fixed plugin's saving other block(not anvil) into data.yml - Fixed some lag Note: The plugin will clean the data.yml ( remove those block's location that is not anvil's location)
    439 downloads
  29. 6.4.8Bug FixedJul 20, 2019
    Bug Fixed: - Fixed some issues with {TYPE} Note: {TYPE} section has been updated Code (YAML): item-type: DIAMOND : '2000' GOLD : '1500' CHAINMAIL : '1000' IRON : '500' STONE : '250' WOODEN : '20' TRIDENT : '100' ELYTRA : '100' SHIELD : '2' DEFAULT : '1' # {TYPE} will return this value if the item isn't diamond/gold/chainmail/iron/stone/wooden/trident/elytra/shield
    680 downloads
  30. 6.4.7Bug FixedJul 8, 2019
    Bug Fixed: - Fixed item disappeared if inventory is full - Fixed alias command not working
    612 downloads
  31. 6.4.6Bug FixedJul 1, 2019
    Bug Fixed: - Fixed item disappears glitch on multirepair gui
    501 downloads
  32. 6.4.5Bug FixedJun 17, 2019
    Bug Fixed: - Fixed error while creating file (some people have this issue) - Fixed wrong version naming
    561 downloads
  33. 6.4.4Bug Fixed + important announcementMay 28, 2019
    Bug Fixed: - Alias command not working - Turtle hat / Trident max durability is 0 Important Announcement Due to some issues, i have to split the plugin into 2 versions. One will support versions 1.8~1.12.2, the other one will support versions from 1.13 and up. For the people who are using the plugin on a 1.13 ~ 1.14.2 server, you will have to set the item material names again in repair.yml / multirepair.yml. Also "data" in item section does no long exist for versions that are 1.13 and above
    529 downloads
  34. 6.4.3Editable allies commandMay 27, 2019
    Now you can edit your own allies command in the config.yml. Just replace the RepairGui plugin and then restart the server. You will see a "allies-command" section in config.yml
    489 downloads
  35. 6.4.2RepairGui 6.4.2May 11, 2019
    Fixed some mistake codes
    567 downloads
  36. 6.4.1RepairGui 6.4.1May 11, 2019
    - Removed a debug message.
    536 downloads
  37. 6.4Update placeholder registering classMay 11, 2019
    Due to PlaceholderApi removing the class that I'm using to register the placeholder, the old version's custom placeholder [%repairgui_custom_xxx%] will not work if you're using PlaceholderApi 2.10.2. The issue has been fixed in this version.
    493 downloads
  38. 6.3Update + bug fixedApr 27, 2019
    Added: - support 1.14. - added new placeholder. Code (YAML): # {TYPE} = get tool's type (diamond/gold/chain/stone/wood) # Note: it will be replaced to the cost that set in "item-type" # {MAX_DURABILITY} = get tool's max durability - added item type. Warning: please use this new config to make sure the new placeholder {TYPE} works fine! .SpoilerTarget">Spoiler: config.yml Code (YAML): check-update : true Prefix : '&6&l [&aRepairGui&6&l ] ' Open-GUI: command : true # "/repair" to open Repair GUI anvil : true # open Repair GUI on anvil repair-sound: enable : true sound : BLOCK_ANVIL_USE #Player are only allowed to open the "RepaiGui" if only the anvil was placed by an admin. Only-Admin-Anvil : true #===================================================================# # Available placeholders for repair-cost/item-type # # {DURABILITY} = shows item's broken durability. # # # # {ENCHANTAMOUNT} = shows item's enchantment amount. # # Note: if item doesn't have any enchantments, it outputs 0. # # # # {TYPE} = get tool's type (diamond/gold/chain/stone/wood) # # Note: it will be replaced to the cost that set in "item-type" # # # # {MAX_DURABILITY} = get tool's max durability # #===================================================================# # Note: you can do math in "item-type" too. item-type: DIAMOND : '2000' GOLD : '1500' CHAINMAIL : '1000' IRON : '500' STONE : '250' WOODEN : '20' repair-cost : money: enable : true cost : ' ( (10 * {DURABILITY } ) + 200 ) / 2' level: enable : true cost : ' ( {DURABILITY } + 200 ) / 100' # Note: placeholder for showing custom cost. [repairgui_custom_<name>] # Example "repairgui_custom_token", "repairgui_custom_coins" # Placeholder for custom cost: # %player_name% : output player's name # %cost% : output total repair cost custom: enable : false # This feature required PlaceholderAPI cost: 1 : #TokenManager name : token type : ' %tm_token%' #put the placeholder that show player's balance cost : ' ( {DURABILITY } + 200 ) / 100' command : 'tokenmanager remove %player_name% %cost%' # Doesn't need to put "/" 2 : #Coins name : coins type : ' %gemseconomy_balance%' cost : ' ( {DURABILITY } + 200 ) / 100' command : 'coins take %player_name% %cost%' 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!' # %name% will output the "name" that you have set in the custom repair prices Not-Enough-Custom-Currencies : '&cYou don''t have enought %name% to repair this item!' No-Permission : '&cYou don''t have permission to do this!' Bug Fixed: - fixed some small bugs.
    567 downloads
  39. 6.2Bug FixedApr 22, 2019
    Bug Fixed: - Players being able to put items that are not damaged into RepairGUI
    446 downloads
  40. 6.1Readded Placeholder Support + Custom Currency repair feature!Feb 2, 2019
    Below is the changelog for updates from 5.0 to 6.1 5.0 - Added Custom Currencies repair cost feature 6.0 Beta - Recoded the plugin - temporarily removed placeholder support and custom currency repair cost - made a lot of changes in config.yml , repair.yml, multirepair.yml 6.0 Beta v2 - fixed "display_name" for item is not working - added lore section for every item 6.0 Beta v3 - Fixed error when clicking stained glass pane / other items 6.0 Beta v4 - Fixed Only-Admin-Anvil is not working 6.1 - Fixed tridents can't be repaired - Readded custom currencies repair cost feature - Readded Placeholder Support - Added bStats Note: there's a changes in config.yml , message section Code (YAML): 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!' # %name% will output the "name" that you have set in the custom repair prices Not-Enough-Custom-Currencies : '&cYou don''t have enought %name% to repair this item!' No-Permission : '&cYou don''t have permission to do this!'
    645 downloads
  41. 6.0 Beta v4Fixed a bugJan 23, 2019
    Fixed GUI doesn't open when Only-Admin-Anvil is false
    437 downloads
  42. 6.0 Beta v3Fixed a small bugJan 22, 2019
    Fixed error while clicking stained glass pane
    411 downloads
  43. 6.0 Beta v2Fixed some bugsJan 22, 2019
    - Fixed display_name is not working - Added lore for GUI section Code (YAML): GUI : 1: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 1 lore : - 'this is a lore' slot : 0
    386 downloads
  44. 6.0 BetaRecoded plugin + Added Multi-Repair feature!Jan 21, 2019
    IMPORTANT 1. There have been a lot of changes to the configs, old config is not compatible with the newer versions, please use the new config 2. "Custom currency" repair function will be temporarily removed in v6.0 but will be readded in v6.1! .SpoilerTarget">Spoiler: config.yml 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 : %vault_eco_balance%' - '&aCurrent Level : {PLAYER_LEVEL } level' - '&bCurrent Tokens : %tm_tokens%' 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: enable : true cost : ' ( (10 * {DURABILITY } ) + 200 ) / 2' level: enable : true cost : ' ( ( {DURABILITY } ) + 200 ) / 100' # Note: placeholder for showing custom cost. [repairgui_custom_<name>] # Example "repairgui_custom_tokenmanager", "repairgui_custom_GemsEconomy" # Placeholder for custom cost: # %player_name% : output player's name # %cost% : output total repair cost custom: enable : false # This feature required PlaceholderAPI cost: 1: name : TokenManager type : ' %tm_token%' #put the placeholder that show player's balance cost : ' {Durability } / 2' command : 'tokenmanager remove %player_name% %cost%' # Doesn't need to put "/" 2: name : GemsEconomy 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!' .SpoilerTarget">Spoiler: repair.yml Code (YAML): FillItem : #Auto-fill all empty slot with the item setted. enable : true item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 3 Gui-Settings : #Available size (9, 18, 27, 36, 45, 54) size : 54 name : '&4RepairGui' accept-button: item: material : STAINED_GLASS display_name : '&aAccept' quantity : 1 data : 5 lore: - '&aCost : $ {PRICES_MONEY } + {PRICES_LEVEL } level (s )' - '&aCurrent Money : $ {PLAYER_MONEY }' - '&aCurrent Level : {PLAYER_LEVEL }' slot : 38 cancel-button: item: material : STAINED_GLASS display_name : '&cCancel' quantity : 1 data : 14 lore : - '' - '' slot : 42 player-item-slot : 22 GUI : 1: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 0 2: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 1 3: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 9 4: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 7 5: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 8 6:
    456 downloads
  45. 5.0RepairGui 5.0Dec 12, 2018
    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%' .SpoilerTarget">Spoiler: New Config 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!'
    520 downloads
  46. 4.0RepairGui 4.0 new feature!Oct 27, 2018
    - New Feature: you can customize the GUI now !! - removed background from config.yml - added gui.yml ( to setup your custom GUI ) .SpoilerTarget">Spoiler: gui.yml Code (YAML): FillItem : #Auto-fill all empty slot with the item setted. enable : true item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 3 Gui-Settings : #Available size (9, 18, 27, 36, 45, 54) size : 54 accept-button-slot : 38 cancel-button-slot : 42 player-item-slot : 22 GUI : 1: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 0 2: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 1 3: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 9 4: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 7 5: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 8 6: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 17 7: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 36 8: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 44 9: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 45 10: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 46 11: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 52 12: type : item item: material : STAINED_GLASS_PANE display_name : ' ' quantity : 1 data : 14 slot : 53
    447 downloads
  47. 3.0RepairGui 3.0 UpdateOct 26, 2018
    Bug Fixed: - Gui background / accept button / cancel button aren't updated when reloading config - Only-Admin-Anvil: false isn't working. RepairGui 3.0 update information: - Player can use EXP to repair item - Placeholder changed. .SpoilerTarget">Spoiler: All 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. - Updated config Please delete old config. .SpoilerTarget">Spoiler: New Config Code (YAML): check-update : true Gui-Name : '&cRepair Gui' Open-GUI: command : true anvil : true #Player are only allowed to open the "RepaiGui" if only the anvil was placed by an admin. Only-Admin-Anvil : true Background: item : STAINED_GLASS_PANE display_name : ' ' data : 3 #===================================================================# # 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' - '&aCurrently Money : {PLAYER_MONEY_FORMATTED }' - '&aCurrently 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 money-cost : ' ( (10 * {Durability } ) + 200 ) / 2' level-cost : ' {Durability } / 2' 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!'
    437 downloads
  48. 2.0RepairGui 2.0 UpdateOct 22, 2018
    Added: - Player are only allowed to open the "RepaiGui" if only the anvil was placed by an admin. - A command to open repair GUI. .SpoilerTarget">Spoiler: Command /repair permisssion: repairgui.command - An admin that placed the anvil will have every player to access the "RepaiGui" Permission: repairgui.admin.anvil - Changed reload config permission to repairgui.admin.reload - New Placeholder {MONEY_FORMATTED} , {PRICES_FORMATTED} Please delete the old config. .SpoilerTarget">Spoiler: New Config Code (Text): check-update: true Gui-Name: '&cRepair Gui' Open-GUI: command: true anvil: true #Player are only allowed to open the "RepaiGui" if only the anvil was placed by an admin. Only-Admin-Anvil: true Background: item: 160 display_name: '' data: 3 #Available money/prices placeholders # {MONEY} , {MONEY_FORMATTED} , {PRICES} , {PRICES_FORMATTED} Button: accept: item: 95 display-name: '&aAccept' data: 5 lore: - '&cCost: {PRICES_FORMATTED}' - '&aCurrently Money: {MONEY_FORMATTED}' cancel: item: 95 display-name: '&cCancel' data: 14 lore: - '' - '' # Available placeholders for repair-cost # {DURABILITY}, {ENCHANTAMOUNT} repair-cost: '((10 * {Durability}) + 200) / 2' repair-sound: enable: true sound: BLOCK_ANVIL_USE Message: not-enough-money: '&cYou don''t have enough money to repair this item!' no-permission: '&cYou don''t have permission to do this!'
    427 downloads
  49. 1.1RepairGui 1.1 (Bug Fixed)Oct 21, 2018
    Bug Fixed: - Player couldn't break anvil. Shift + Left Click to break the anvil.
    464 downloads
  50. 1.0Oct 20, 2018
    473 downloads

Similar projects

Plugin →