Sueta

MP Simple Disposal

1.2.0

Simple, configurable and feature rich disposal plugin

·Plugin


This plugin is not trash, it just serves as a trash can for your users to throw the stuff they don't need

  • Multiple trash inventories (up to 3)
  • Different size (or type of inventory) for each trash (has to be a multiple of 9)
  • Different title for each trash
  • Ability to play a sound when opening a trash menu (Note pling for now, soon to be configurable)
  • Ability to change the plugin's language
  • Ability to change in-game prefix
  • Money support! (NEEDS VAULT)

commands:
-/trash
- opens trash can
-/trash help - displays a list of commands available
-/trash reload - reloads the plugin files
-/trash version - checks plugin's version
-/trash locale - changes the plugin's language file

permissions:
-trash.basic
- Grants access to he basic trash
-trash.advanced - Grants access to the advanced trash
-trash.vip - Grants access to the vip trash
-trash.basic.free - Grants free access to he basic trash
-trash.advanced.free - Grants free access to the advanced trash
-trash.vip.free - Grants access to the vip trash
-trash.reload - Allows you to reload the plugin
-trash.version - Allows you to check the plugin's version
-trash.locale - Allows you to change the plugin's language file
-trash.* - Gives access to every permission

config.yml
# # # # # # # # # # # # # # # # #  
 #         SimpleDisposal        #  
 #          By lelesape          #  
 # # # # # # # # # # # # # # # # #  
 # locale: messages language  
 # chat-prefix: prefix for messages displayed on the chat  
 # currency symbol: symbol used for money  
 # no money sound enabled: should a sound be played when the player does not have enough money?  
 # no money sound: if enabled what sound should be played?  
 # use money: should the plugin charge when opening a trash inventory?  
 # price: how much should the plugin charge if use money is enabled  
 # sound enabled: should sound when opening a trash menu be played  
 # sound: the sound to be played. list of 1.14 sounds: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html  
 # inv type: in case it is chest, size will determine the size of the inventory and it has to be a multiple of 9  
 #           however when it is another inventory, size wont determine the final size  
 # recommended types: DROPPER, DISPENSER, HOPPER, CHEST  
 # title: title for the trash menu  
 # size: in case of type:chest, what size should each menu have?  
 
config  :  
    locale   :  'english'  
    chat-prefix   :  '&f  [  &5Disposal&f  ]  '  
    currency symbol   :  '$'  
    no money sound enabled   :  true  
    no money sound   :  entity_villager_no  
    basic  :  
        use money   :  true  
        price   :  10.00  
        sound enabled   :  true  
        sound   :  block_note_block_pling  
        inv type   :  'chest'  
        title   :  '&6&l<<Basic Trash>>'  
        size   :  9  
    advanced  :  
        use money   :  true  
        price   :  20.00  
        sound enabled   :  true  
        sound   :  block_note_block_pling  
        inv type   :  'chest'  
        title   :  '&2++&5Advanced trash&2++'  
        size   :  18  
    vip  :  
        use money   :  true  
        price   :  30.00  
        sound enabled   :  true  
        sound   :  block_note_block_pling  
        inv type   :  'chest'  
        title   :  '&4&l*&5&lVip &7&lTrash&4&l*'  
        size   :  27
español.yml
##########################################  
 #             ESPAÑOL locale             #  
 #               By lelesape              #  
 ##########################################   
espanol   :    
 
     no-permission   :  '&cNo tienes permisos'  
     unknown-cmd   :  '&fComando desconocido. Utiliza /trash help para una lista de comandos'  
     list-cmd   :  '&fLista de comandos:'  
     reloaded   :  '&aArchivos recargados'  
     unknown-locale   :  '&cLocale desconocida, locales disponibles:'  
     opened-trash   :  '&aHas abierto la basura'  
     no-money   :  '&cNo tienes suficiente dinero, necesitas:'  
     taken   :  '&aSe han tomado de tu cuenta'
english.yml
##########################################  
 #             ENGLISH locale             #  
 #               By lelesape              #  
 ##########################################   
english   :    
 
     no-permission   :  '&cNo permissions'  
     unknown-cmd   :  '&fUnknown command, do /trash help to get a list of commands'  
     list-cmd   :  '&6List of commands:'  
     reloaded   :  '&aFiles reloaded'  
     unknown-locale   :  '&cunknown locale, disponible locales:'  
     opened-trash   :  '&aTrash lid opened'  
     no-money   :  'You do not have enough money, you need:'  
     taken   :  '&aHas been taken from your account'
deutsch.yml
##########################################  
 #             DEUTSCH locale             #  
 #          By lelesape (google)          #  
 ##########################################   
deutsch   :    
 
     no-permission   :  '&cSie haben keine Erlaubnis'  
     unknown-cmd   :  '&fUnbekannter Befehl Verwenden Sie / trash help für eine Liste von Befehlen'  
     list-cmd   :  '&fBefehlsliste:'  
     reloaded   :  '&aNeu geladene Dateien'  
     unknown-locale   :  '&cUnbekannte Räumlichkeiten, verfügbare Räumlichkeiten:'  
     opened-trash   :  '&aSie haben den Papierkorb geöffnet'  
     no-money   :  'Sie haben nicht genug Geld, Sie brauchen:'  
     taken   :  'wurde von Ihrem Konto entfernt'

Example trash menus:
Basic trash:

Basic trash

Advanced trash:

Advanced trash

Vip trash:

Vip trash


If you review my plugin let me know so i can put your video here

  • More language files (DONE✅, added: deutsch)
  • Ability to change the sound played when opening a trash menu (DONE✅)
  • Ability to change the inventory tipe instead of adjusting the size (DONE✅)
  • Accepting suggestions...


By using this plugin you agree to the following terms:

  • You cannot sell this plugin
  • You cannot claim this plugin as yours
  • I can modify this terms at any time without any kind of notification

If you find any bugs please let me know, also make sure to rate this plugin, thank you!

Similar projects

Plugin →