Sueta

DropPickup with profiles

0.0.2

Pick up drops from blocks and kills automatically, set up custom profiles on what to pick up

·Plugin

Does not work properly on 1.13.

  • Automatically pick up drops
    • Mining
    • Killing
  • Set up different profiles
    • Specify which items should (or shouldn't) be picked up
    • Switch profiles on the fly
    • In the profiles.yml files
  • Per player profiles
    • Each player can chose which profile they wish to use
    • /dp profile <name> command
  • Able to store excess items in per-player virtual chests
    • Configurable amount of space
    • Unable to add items in the chests (only take)
    • Use left-over-action: VIRTUALSTORE in config to enable
  • Fully configurable messages
    • In config.yml
  • COMING SOON
    • Ability to move undesired items to a player specific (physical) chest
    • Create and modify profiles with commands
    • Create and modify profiles with GUIs
    • Feel free to ask for additional features

  • /droppickup
    • Aliases: /dp
    • Permission: droppickup.command (default true)
    • Sub commands
      • /dp help - list sub commands
      • /dp profile <profile> [player] - set profile of self or another player
        • Permissions: droppickup.profile (for self, default true) and droppickup.profile.others (for others, default OP)
      • /dp vs <nr> [player] - open virtual storage chest of a specific number of self or another player
        • Permissions: droppickup.virtualstorage.command (for self) and droppickup.virtualstorage.command.other (for others)
      • /dp vsc <nr> [player] - clear cirtual chest of a specific number of self or another player
        • Permissions: droppickup.virtualstorage.clear (for self) and droppickup.virtualstorage.clear.other (for others)
      • More to come
  • /droppickupadmin
    • Aliases: /dpa
    • Permission: droppickup.command.admin (default OP)
    • Sub commands
      • /dpa reload - reload the config
      • More to come
Command                Permission                  Description                           
droppickup              droppickup.command          DropPickup main command               
droppickupadmin        None                        DropPickup admin command             
Permission                  Children                                            Descrpition                           
droppickup.command          None                                                Allow using the base command         
droppickup.command.admin    None                                                Allow using the admin base command   
droppickup.pickup.break     None                                                Allow picking up drops from broken blocks 
droppickup.pickup.break.inventory    None                                                Allow picking up drops from broken containers 
droppickup.pickup.kill      None                                                Allow picking up drops from killed entities 
droppickup.profile          None                                                Allow selecting a profile             
droppickup.profile.others    None                                                Allow selecting the profile of another player 
droppickup.virtualstorage    None                                                Allow using virtual storage to store overflow items 
droppickup.virtualstorage.extra    None                                                Allow extra virtual storage chests   
droppickup.virtualstorage.command    None                                                Allow using the subcommand           
droppickup.virtualstorage.command.other    None                                                Allow using the subcommand on other players 
droppickup.virtualstorage.clear    None                                                Allow clearing ones virtual chest     
droppickup.virtualstorage.clera.other    None                                                Allow clearing virtual chest of other players

Default config.yml
# left-over-action: DROP or DESTROY or VIRTUALSTORE or STORE (STORE NOT IMPLEMENTED)   
left-over-action   :  DROP  
default-profile   :  DEFAULT  
send-message-when-full   :  true  
full-message-cooldown   :  20  
virtual-storage  :  
  default-nr-of-chests   :  1  
  size-of-chests   :  54  
  destroy-overflow   :  false  # will drop   
  chest-nr-permissions   :   # droppickup.virtualstorage.extra.<name>   
    one   :  2  
    two   :  3 
 
messages  :  
  no-permission   :   "&cYou do not have permission to use this command!"   
  inv-full   :   "&6Your inventory is full - could not automatically pick up items!"   
  config-reload   :   "&cYou reloaded the config!"   
  target-not-found   :   "&cThe player &7{name}&6 was not found!"   
  profile-not-found   :   "&cThe profile &7{profile}&c was not found!"   
  already-on-profile   :   "&6The profile &7{profile}&6 was already selected"   
  set-profile-from-to   :   "&6Set the profile from &7{from}&6 to &8{to}&6."   
  virtual-storage-not-enabled   :   "&6Virtual storage has not been enabled"   
  player-only-command   :   "&cThis command cannot be run by console!"   
  opening-virtual-storage   :   "&6Opening virtual storage chest number &7{nr}"   
  opening-virtual-storage-other   :   "&6Opening virtual storage of &8{name}&6 at number &7{nr}"   
  incorrect-number   :   "&cIncorrect number entered:&7{nr}"   
  clearing-virtual-storage   :   "&6Clearing virtual chest #&8{nr}"   
  clearing-virtual-storage-other   :   "&6Clearing &7{player}&6's virtual chest #&8{nr}"
Default profiles.yml
# if list-allowed is true, then the materials listed will be allowed and all other will be not allowed  
 # if list-allowed is false, then the materials listed will not be allowed and all others will be allowed  
 # item names from https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html  
 # add as many new profiles as possible with the same signature   
DEFAULT  :  
  list-allowed   :  true  
  material-list   : 
  - STONE 
  - DIAMOND_ORE 
  - DIAMOND 
  - COAL_ORE 
  - COAL 
  - IRON_ORE 
  - GOLD_ORE 
  - LAPIS_ORE 
  - LAPIS_LAZULI 
  - EMERALD_ORE 
  - EMERALD

Similar projects

Plugin →