NOTE: for plugin support, please use this.

This plugin allows you to automatically pick up items from your activity like mining and killing.

It not only picks up items but also:
 
  • process enchantments on the tool such as
    • Fortune
    • Silk touch
  • process mass pickups from mining explosion from TokenEnchant, MineBomb, etc.  Again, Fortune, Silk touch will be applied to all picked up exploded blocks!!
  • supports two types of Fortune behaviours:
    • Minecraft's standard fortune
    • Custom Fortune behaviour, as seen in @clip's AutoSell plugin.
  • explicitly specify the priority of the following event processing:
    • BlockBreakEvent
    • TEBlockExplodeEvent
  • allows you to list types of blocks, which should not be broken and picked up manually.  This feature included supporting plugins like SilkSpawner.
  • knows how to put items in VKBackPack, if a player has one.
  • knows how to talk to AutoSell plugin to automatically sell picked up items.
This version supports 1.13 style new block specification as well as the old format. It supports all the following format:
 

    • STONE

    • 1

    • "STONE:2"

    • GRANITE

    • "1:2"

Demo Video:
... coming...

Installation:
Just install VKAutoPickup.jar in the plugin folder. Then you can either "restart the server" or "reload the plugin.

If you have other plugins (such as TokenEnchant, VKBackPack, AutoSell, etc), which also have their own autopickup feature, make sure turn off all those autopickup features and let VKAutoPickup to do all picking up.

Commands: [aliases: /ap, /autopick, /apickup, /apick]

  • /autopickup smelt : toggles auto smelting mode.
  • /autopickup block : toggles auto blocking mode.
  • /autopickup plant : toggles auto planting mode.
  • /autopickup autosell : toggles autosell (you need AutoSell plugin) mode.
Permissions:
To allow players to use auto smelting, auto blocking features, you need to give them the following permissions.

The following three types of permissions should be given to players.
 
  • autopickup.pickup
  • autopickup.material.* :
    • autopickup.material.<material_type>
  • autopickup.event.* :
    • autopickup.event.teblockexplode
    • autopickup.event.entitydeath
    • autopickup.event.blockbreak
    • autopickup.event.vehiclebreak
    • autopickup.event.fish
The following permissions are optional

  • autopickup.auto_smelt
  • autopickup.auto_block
  • autopickup.pickuptoggle : in order to toggle autopickup, "UserPermission:" option needs to be on.
  • autopickup.auto_plant
  • autopickup.autosell : allows you to autosell

  • autopickup.autosell_toggle : allows you to turn on/off autosell mode.

Configuration:
[/font][/color][/font][/size][/color]
Messages:
  ErrorMsg : "&c[AutoPickup] : Some error occured."
  InventoryFullMsg: "&aYour Inventory is FULL!"
  AutoSmeltToggleMsg: "&a[AutoPickup] Your auto smeling is &e%status% &anow."
  AutoBlockToggleMsg: "&a[AutoPickup] Your auto blocking is &e%status% &anow."
  AutoSellToggleMsg: "&a[AutoPickup] Your autosell is &e%status% &anow."
[/font]

HelpMessages:
  banner:
    msg: "=== &e[&aAutoPickup Commands List (%version%)&e] &r==="
  help:
    msg: "&a/autopickup help : displays this help menu."
  reload:
    msg: "&a/autopickup reload : reloads config file."
    permission: "autopickup.reload"
  debug:
    msg: "&a/autopickup debug <true|false> : turn on / off the debug mode."
    permission: "autopickup.debug"

# if this option is true, a player must have autopickup.pickup permission node.
# in order to use '/ap' command to toggle autopickup mode, you need to set this option to true.
# default is false
UsePermission: false

# the use of vkbackpack.  if this option is false, even if you have vkbackpack, items will not be put in the vkbackpack automatically.
UseVKBackPack: true

# inventory full message related settings
InvFull:
  Interval: 5  # in seconds.
  UseTitle: true
  UseActionBar: true
  UseChat: true
  DiscardExcessBlocks: false

# only the gamemode listed below will trigger autopickup
GameModes:
#  - ADVENTURE
#  - CREATIVE
#  - SPECTATOR
  - SURVIVAL

AutoSmelt: false
AutoBlock: false

# if this option is true, a new seed is planted upon harvesting.
AutoSeed: false

#
# Flags to determine which type of event triggers the autopickup
# default is true
BlockBreak: true    #mining blocks
EntityDeath: true    #killing mobs/players
TEExplosion: true   #explosion from TokenEnchant
Fishing: true
ItemSpawn: true     # extra item spawning from other plugins such as McMMO
VehicleDestroy: true
ExpOrbPickup: true
MobLoot : true  # apply Looting enchant for mob drops

# adjust these event priority if those event processes from this plugin
# interfere with other plugins' event processes.
EventPriorityMap:
  ItemSpawnEvent: "HIGH"
  PlayerFishEvent: "HIGH"
  VehicleDestroyEvent: "LOW"
  BlockBreakEvent: "HIGH"
  EntityDeathEvent: "NORMAL"
  TEBlockExplodeEvent: "LOW"

# AutoPickup will be quiet in the world specified in this option:
NoPickupWorlds:
#  - pvp

# AutoPickup will be quiet in the worldguard regions specified in this option:
NoPickupRegions:
#  - spawn

[/font]
# AutoPickup will auto pickup naturally dropped items yield by breaking blocks listed below.
# This process is to support other plugins such as McMMO to drop extra items.
DelayedBlocBreak:
  - MELON

# you can list items, which will be ignored by this plugin
# for example, if you're using SilkSpawners plugin, you would want to list MOB_SPAWNER (SPAWNER for 1.13 and above)
NoPickup:
  - MOB_SPAWNER
  - SPAWNER

# when this option is enabled, you can expect fortune behavior like in AutoSell.
CustomFortune:
  Enabled: false
  Random: true
  Multiplier: 1.2
  Minimum: 1
  Maximum: 100
  Modifier: 1

# if nothing is listed under this option, ALL block types will yield fortune.
# if anything is listed under this option, only those listed will yield fortune.
FortunedBlocks:
#  - DIAMOND_ORE
#  - IRON_ORE
#  - GOLD_ORE
#  - COAL_ORE
#  - EMERALD_ORE
#  - COBBLESTONE
#  - SAND

# Fortune will NOT be applied if players are in the following worlds.
NoFortuneWorlds:
#  - creative

AutoSmelting:
  DIAMOND_ORE: DIAMOND
  IRON_ORE: IRON_INGOT
  GOLD_ORE: GOLD_INGOT
  COAL_ORE: COAL
  EMERALD_ORE: EMERALD
  COBBLESTONE: STONE
  SAND: GLASS

AutoBlocking:
  CLAY_BALL:
    num: 4
    target: CLAY
  DIAMOND:
    num: 9
    target: DIAMOND_BLOCK
  GOLD_INGOT:
    num: 9
    target: GOLD_BLOCK
  IRON_INGOT:
    num: 9
    target: IRON_BLOCK
  EMERALD:
    num: 9
    target: EMERALD_BLOCK
  REDSTONE:
    num: 9
    target: REDSTONE_BLOCK
  INK_SACK:
    data: 4
    num: 9
    target: LAPIS_BLOCK
  COAL:
    num: 9
    target: COAL_BLOCK
  GLOWSTONE_DUST:
    num: 9
    target: GLOWSTONE

#
# AutoSell plugin support
AutoSell:
  Enabled: false
  # WaitForInventoryFull: true  # this option is currently not used.
  DisplayMessage: true
  DisplayFormat:
    - "&bItems Sold:&r %itemssold%"
    - "&bPrice:&r %price%"

#
# Sound effect
Sound:
  ItemBreak: true
  OrbPickup: true