Sueta

aGarbage

1.5.2

a trash can for useless items.

·Plugin

aGarbage

The plugin added a garbage to you server

Features:

  • Full configuration of what you want. (command name, texts, menu)
  • You can install a garbage disposal on any unit with the ability to set the garbage disposal to be cleaned at the frequency you require
  • Support MiniMessage for paper.
  • Support Hex Color for spigot.
  • There is a confirmation menu before removing items from the garbage.
  • Placeholder API support.

Commands:

  • /trash
    • permission: "commandName.command". Example: "trash.command"
    • Open a player's own trash
  • /garbagemanager help
    • permission: "garbagemanager.help"
    • Help the player deal with garbagemanager
  • /garbagemanager create
    • permission: "garbagemanager.create"
    • Create a garbage can, after you scribe, click on the block that is to become the garbage can
  • /garbagemanager remove
    • permission: "garbagemanager remove"
    • Remove the trash can, after you write, click on the block from which the trash can is to be removed.
  • /garbagemanager cancel
    • permission: "garbagemanager cancel"
    • If you have started creating or deleting trash, you can cancel it with this command.

config.yml:

settings:
  reload-time: 100 #All garbages reload time.

#If you are using a spigot, the plugin supports HEX, e.g. &#000000
#If you are using paper, the plugin supports MiniMessage, such as <#000000>.
#The plugin adapts to your core: paper or spigot.
messages: #Messages
  garbage-manager-help: #You haven't finished creating the garbage
    enabled: true #Enable or disable message
    message:
      - "All commands:" #Message
      - " - /garbagemanager create - creation a garbage."
      - " - /garbagemanager remove - remove garbage."
      - " - /garbagemanager cancel - undo garbage creation."
  garbage-manager-create-please-click-on-the-block: #You haven't finished creating the garbage
    enabled: true #Enable or disable message
    message:
      - "Please click on the block that is supposed to be trash." #Message
  garbage-manager-create-the-block-you-clicked-on-has-a-garbage-status: #You haven't finished creating the garbage
    enabled: true #Enable or disable message
    message:
      - "The block you clicked on has a garbage status" #Message
  garbage-manager-create-you-have-not-finished-creating-the-garbage: #You haven't finished creating the garbage
    enabled: true #Enable or disable message
    message:
      - "You haven't finished creating the garbage. Please click on the block that is supposed to be trash." #Message
  garbage-manager-remove-click-on-the-trash: #You haven't finished creating the garbage
    enabled: true #Enable or disable message
    message:
      - "Please click on the trash to be deleted." #Message
  garbage-manager-remove-trash-does-not-exist-at-this-location: #You haven't finished creating the garbage
    enabled: true #Enable or disable message
    message:
      - "Trash doesn't exist at this location" #Message
  garbage-manager-cancel-there-is-nothing-to-cancel: #You haven't finished creating the garbage
    enabled: true #Enable or disable message
    message:
      - "There's nothing to cancel" #Message
  garbage-manager-cancel-successfully: #You haven't finished creating the garbage
    enabled: true #Enable or disable message
    message:
      - "You have successfully canceled the current action." #Message
  garbage-manager-remove-successfully: #You haven't finished creating the garbage
    enabled: true #Enable or disable message
    message:
      - "The trash has been deleted." #Message
  garbage-manager-create-successfully: #You haven't finished creating the garbage
    enabled: true #Enable or disable message
    message:
      - "New trash has been installed." #Message
  garbage-command-do-not-have-permission: #If you don't have permission to use command
    enabled: true #Enable or disable message
    message:
      - "You don't have permission" #Message
  garbage-command-open: #Message when player opens trash
    enabled: true #Enable or disable message
    message:
      - "You opened the garbage." #Message

command: #A trash command
  #Permission name will be: trash.command
  trash: #Name of command
    description: "Garbage" #The command description
    usage: "/trash" #The command usage
    aliases: #The command aliases (alternative names)
      - "garbage"

inventories:
  trash: #Trash inventory (block)
    size: 54 #Inventory size
    title: "Garbage" #Inventory title
    #Every slot getting from items section.
    #If you need empty slot, enter: "x"
    slots:
      - "YYYYZYYYY"
      - "xxxxxxxxx"
      - "xxxxxxxxx"
      - "xxxxxxxxx"
      - "xxxxxxxxx"
      - "xxxxxxxxx"
    items: #Items section
      Z: #Id of item by unique and use it in slots section.
        type: "decorate" #Type of item, use: "decorate" if you need decoration item
        material: "book" #Material of item
        amount: 1 #Item amount
        #For the name and lore sections only, you can use the time format with %hours%, %minutes%, %seconds%.
        name: "The time before the cleanup: %hours%:%minutes%:%seconds%" #Item name
        lore: #Lore of item
          - ""
        enchantments: #Enchantments of item, use: "enchantment:level", example: "unbreaking:1"
          - ""
        itemFlags: #Item flags of item, usage: "ITEMFLAG", example: "HIDE_ATTRIBUTES"
          - ""
      Y: #Id of item by unique and use it in slots section.
        type: "decorate" #Type of item, use: "decorate" if you need decoration item
        material: "gray_stained_glass_pane" #Material of item
        amount: 1 #Item amount
        #For the name and lore sections only, you can use the time format with %hours%, %minutes%, %seconds%.
        name: "" #Item name
        lore: #Lore of item
          - ""
        enchantments: #Enchantments of item, use: "enchantment:level", example: "unbreaking:1"
          - ""
        itemFlags: #Item flags of item, usage: "ITEMFLAG", example: "HIDE_ATTRIBUTES"
          - ""
      T: #Id of item by unique and use it in slots section.
        type: "throw" #Type of item, use: "throw" If you need that when a player clicks on an item, they will be taken to the item discard confirmation inventory.
        material: "hopper" #Material of item
        amount: 1 #Item amount
        #For the name and lore sections only, you can use the time format with %hours%, %minutes%, %seconds%.
        name: "" #Item name
        lore: #Lore of item
          - ""
        enchantments: #Enchantments of item, use: "enchantment:level", example: "unbreaking:1"
          - ""
        itemFlags: #Item flags of item, usage: "ITEMFLAG", example: "HIDE_ATTRIBUTES"
          - ""
  garbage: #Garbage inventory (command)
    size: 27 #Inventory size
    title: "Garbage" #Inventory title
    #Every slot getting from items section.
    #If you need empty slot, enter: "x"
    slots:
      - "YYYYYYYYY"
      - "xxxxxxxxx"
      - "YYYYTYYYY"
    items: #Items section
      Y: #Id of item by unique and use it in slots section.
        type: "decorate" #Type of item, use: "decorate" if you need decoration item
        material: "gray_stained_glass_pane" #Material of item
        amount: 1 #Item amount
        #For the name and lore sections only, you can use the time format with %hours%, %minutes%, %seconds%.
        name: "" #Item name
        lore: #Lore of item
         - ""
        enchantments: #Enchantments of item, use: "enchantment:level", example: "unbreaking:1"
         - ""
        itemFlags: #Item flags of item, usage: "ITEMFLAG", example: "HIDE_ATTRIBUTES"
         - ""
      T: #Id of item by unique and use it in slots section.
        type: "throw" #Type of item, use: "throw" If you need that when a player clicks on an item, they will be taken to the item discard confirmation inventory.
        material: "hopper" #Material of item
        amount: 1 #Item amount
        #For the name and lore sections only, you can use the time format with %hours%, %minutes%, %seconds%.
        name: "Throw" #Item name
        lore: #Lore of item
         - ""
        enchantments: #Enchantments of item, use: "enchantment:level", example: "unbreaking:1"
         - ""
        itemFlags: #Item flags of item, usage: "ITEMFLAG", example: "HIDE_ATTRIBUTES"
         - ""
  confirm: #Confirm inventory
    size: 27 #Inventory size
    title: "Confirm" #Inventory title
    #Every slot getting from items section.
    #If you need empty slot, enter: "x"
    slots:
      - "YYYxxxNNN"
      - "YYYxxxNNN"
      - "YYYxxxNNN"
    items: #Items section
      Y: #Id of item by unique and use it in slots section.
        type: "accept" #Type of item, use: "accept" If you need that when a player clicks on an item, it removes the items
        material: "lime_concrete" #Material of item
        amount: 1 #Item amount
        name: "Yes" #Item name
        #For the name and lore sections only, you can use the time format with %hours%, %minutes%, %seconds%.
        lore: #Lore of item
         - ""
        enchantments: #Enchantments of item, use: "enchantment:level", example: "unbreaking:1"
         - ""
        itemFlags: #Item flags of item, usage: "ITEMFLAG", example: "HIDE_ATTRIBUTES"
         - ""
      N: #Id of item by unique and use it in slots section.
        type: "cancel" #Type of item, use: "cancel" If you need that when a player clicks on an item, it doesn't remove the items
        material: "red_concrete" #Material of item
        amount: 1 #Item amount
        #For the name and lore sections only, you can use the time format with %hours%, %minutes%, %seconds%.
        name: "No" #Item name
        lore: #Lore of item
         - ""
        enchantments: #Enchantments of item, use: "enchantment:level", example: "unbreaking:1"
         - ""
        itemFlags: #Item flags of item, usage: "ITEMFLAG", example: "HIDE_ATTRIBUTES"
         - ""

Contacts:

Similar projects

Plugin →