Recycle/uncraft the items you don't need.







 



#  _____ _____                      _                  __   ____
# |_   _|  __ \                    | |                /_ | |___ \
#   | | | |__) |___  ___ _   _  ___| | ___ _ __  __   _| |   __) |
#   | | |  _  // _ \/ __| | | |/ __| |/ _ \ '__| \ \ / / |  |__ <
#  _| |_| | \ \  __/ (__| |_| | (__| |  __/ |     \ V /| |_ ___) |
# |_____|_|  \_\___|\___|\__, |\___|_|\___|_|      \_/ |_(_)____/
#                         __/ |
#          Recycle/uncraft the items that you don't need.
#                      Coded by duplxey
#
# |-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-|
# | Thanks for purchasing the plugin. If you find any bugs or |
# | have any questions, please send me a PM on spigot. Enjoy! |
# |-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-|
#
# -------------------------------------------------------------
# Introduction to config
# -------------------------------------------------------------
# Colors:
# You can use chat colors in the messages, with symbol &.
# target-message: "&cThis message will be red."
# (All the chat colors are listed here: https://tinyurl.com/mcc-colors)
# -------------------------------------------------------------
# Plugin's prefix
# prefix - will be used in the messages
prefix: "&c[ItemRecycler] "
# -------------------------------------------------------------
# Security
# -------------------------------------------------------------
security:
  # Anti-duplication
  # Protect your server from users duplicating items. There can only be one anti-duplication
  # security running at a time.
  #
  # Types:
  # - ALLOWED_LIST (only allows the items in allowed-items.yml.yml to be recycled) (High security)
  # - BLOCKED_LIST (blocks items in blocked-items.yml from being recycled) (Medium security)
  # - NONE (means that security is disabled) !!! HIGHLY UNRECOMMENDED !!!
  duplication: ALLOWED_LIST
  # Non-allowed notification
  # Send a message to the player when an item is either blocked or not allowed.
  notify-player: false
  # Durability
  # Make items recycable/non-recycable depending on items's durability.
  #
  # Types:
  # - ONLY_NON_USED (allows users to recycle only non-used items)
  # - SMART_DURABILITY (calculates outcome)
  # - NONE (ignores durability)
  durability: SMART_DURABILITY
  # Rounding
  #
  # Types:
  # - NICE (still returns all the components if an item is on 85% or more)
  # - HARSH (uses smart durability if an item is on less than 85%)
  rounding: HARSH
  # Enchantments
  # If false, enchanted items will not be recycled.
  enchanted: true
  # Custom names
  # If false, items with custom names will not be recycled.
  custom-named: true
# -------------------------------------------------------------
# Misc
# -------------------------------------------------------------
# Success rate
# Enables success rate depending on the player's permission. If the player has permission
# itemrecycler.successrate.team1 <- he has 50% chance of the recyclement to be successful
# itemrecycler.successrate.team2 <- he has 25% chance of the recyclement to be successful
#
# In case player doesn't have any successrate permission, this function will be ignored
# for that player.
#
# You can add more teams. The teams don't need to be named teamX, you can make
# custom names like vip, pro, master or something like that. The permission would then
# be itemrecycler.successrate.vip
success-rate:
  enable: false
  # Result
  #
  # Types:
  # - RETURN (returns the items back to the player when the recyclement fails)
  # - DELETE (delete's the player's items when the recyclement fails)
  type: RETURN
  permissions:
    # Permission syntax is: itemrecycler.successrate.%name%
    team1: 50
    team2: 25
# Success out
# Determines what % of the ingredients are returned.
success-out:
  enable: false
  percentage: 50
# -------------------------------------------------------------
# GUI
# -------------------------------------------------------------
gui:
  input:
    name: "Recycler | Input"
    size: 27
    buttons:
      confirm:
        material: GREEN_WOOL
        data: 13
        amount: 1
        meta:
          name: "&aConfirm"
          lore:
            - "&7Click to recycle the items."
      cancel:
        material: RED_WOOL
        data: 14
        amount: 1
        meta:
          name: "&cCancel"
          lore:
            - "&7Click to cancel the recyclement."
  output:
    name: "Recycler | Output"
    size: 54
    buttons:
      recycleAgain:
          material: ORANGE_WOOL
          data: 1
          amount: 1
          meta:
            name: "&6Recycle again"
            lore:
              - "&7Click to to recycle again."
  disable-recycle-again: false
# -------------------------------------------------------------
# Sound
# -------------------------------------------------------------
# Sound settings
# enable - Enables sounds.
# List of all the sounds can be found here: https://www.spigotmc.org/wiki/cc-sounds-list/
# WARNING: If you're running Spigot under 1.9, change the sounds accordingly!!
sound:
  enable: true
  action:
    # open - Sound that is played when recycler is opened.
    # close - Sound that is played when recycler is closed.
    # success - Sound that is played on successful recyclement.
    # fail - Sound that is played on failed/cancelled recyclement.
    open: BLOCK_CHEST_OPEN                                         # 1.8: CHEST_OPEN
    close: BLOCK_CHEST_CLOSE                                       # 1.8: CHEST_CLOSE
    success: BLOCK_NOTE_BLOCK_PLING                                # 1.8: NOTE_PLING
    fail: BLOCK_NOTE_BLOCK_BASS                                    # 1.8: NOTE_BASS
# -------------------------------------------------------------
# Recycler block
# -------------------------------------------------------------
recycler-block:
  # enable - Allows you to open the recycler with right-clicking on the recycler block.
  # texture - Represents the head's texture (textures can be found here: https://minecraft-heads.com/custom/heads).
  # craftable - Allows the players to craft the recycler block. Recipe:
  #   PPP     P = plank      C = coal
  #   PFP     F = furnace
  #   ICI     I = iron ingot
  enable: true
  texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTgxMTkxN2M2NDRmMDRmNTZiNjhjOWM3MWIzM2FjMDgyYzI2MDFjMjQ0MDliZTc4YzIwNjNkNGRmMmE4NjUyNSJ9fX0=
  craftable: true
signs:
  recycler:
    first_line: "&a[Recycler]"
    second_line: "&fRight Click"
    third_line: ""
    fourth_line: ""


Terms of Service
By using this plugin, you agree to the following terms, which may be updated by the author at any time.