AutoPickup
This plugin automatically sends mined blocks to a players inventory. It can also send mob drops and xp straight to players. This should be compatible with most other plugins.
Features
- Has AutoSmelt and AutoBlock
- Has an auto sell feature (requires quicksell)
- Has Fortune support
- Warns players when their inventories are full
AutoBlock will automatically turn 9 ingots into a block (see the pretty picture above that explains this). AutoSmelt will automatically turn ores into ingots (see the awesome picture above for a more visual explanation) .
Commands and Permissions
- /AutoPickup - Displays the help screen
- /AutoSell toggle - Toggles auto sell. This only works if the plugin QuickSell is installed - Permission: AutoSell.toggle
- /AutoPickup toggle - Toggles auto pickup - Permission: AutoPickup.toggle
- /AutoBlock toggle - Toggles auto block - Permission: AutoBlock.toggle
- /AutoBlock - Turns anything that can be into a block - Permission: AutoBlock.command
- /AutoSmelt - Smelts anything that can be smelted in your inventory - Permission: AutoSmelt.command
- /AutoSmelt toggle - Toggles auto smelt - Permission: AutoSmelt.toggle
- /AutoSmelt reload - Reloads the plugin - Permission: AutoPickup.reload
- AutoPickup.enabled - Gives a player autopickup when they join the server
- AutoBlock.enabled - Gives a player autoblock when they join the server
- AutoSmelt.enabled - Gives a player autosmelt when they join the server
- AutoSell.enabled - Gives a player autosell when they join the server. Requires Quicksell
Special Permissions: These permissions will not be used on most servers, and would probably confuse people if they were enabled, so these permissions must be enabled in config,yml before they can be used.
- AutoPickup.infinity - Stops players' picks from breaking
- AutoPickup.BlockGui - Disables the autopickup gui
Videos
Compatibility
Compatible with: MythicDrops, MythicMobs, QuickSell, FortuneBlocks, AutoSell, StackableItems, PrisonGems, TokenEnchant
If you want the plugin to be compatible with another plugin, tell me and I'll try to add it
Configs
There are a few config files (which will be created when you load the plugin):
Config.yml:
There are a few options here
- Full Inventory.Delete Item - If this is true, items that cannot fit into your inventory will disappear when using autopickup. If this is set to false, the items will fall to the ground as if you did not have autopickup enabled.
- Full Inventory.Warn - If this is true, the plugin will warn players when their inventories are full.
- Infinity Pick - If this is set to true, any player with the permission AutoPickup.infinity will never break picks while using them
- Auto Block XP - If this is set to true, XP from blocks will automatically go to the player
- Mob.Auto Pickup - If this is set to true, drops from mobs will go straight to players' inventories
- Mob.Auto XP - If this is set to true, experience from mobs will go straight to players
Messages.yml:
Allows you to change the messages for this plugin. This can be useful if your server is not an English speaking server.
Smelt Blacklist.yml:
This lets you have a blacklist so you can block items from being autosmelted. There is also an option to disable this in the file. Here's the default config with some explanation:
#Makes the Blacklist enabled Enable Blacklist: true Blacklist: #Stops cobble from being smelted into stone, (stone's item id is 1) (this can also be replaced with: -stone) - '1' #Stops wood from being smelted into charcoal, (According to MineCraft, coal and charcoal are the same item, they just have different data values) #(this can also be replaced with: -'263:1') - Coal:1
Advanced Fortune.yml:
There are only a few settings in here, and most people will never need to touch them. One setting allows things such as iron ingots to still be affected by fortune if the player is using autosmelt. This is on by default. The other option allows anything in the file's whitelist to be affected by fortune. Meaning, if you wanted to, you could make fortune affect cobblestone, dirt, ores, etc. This is off by default, because it does require slightly more RAM, and most servers will not need it.
Bugs and Requests
Please read the entire page before requesting anything/asking for bugs, but if you are reading this than you made it to the bottom of the page, good job.
If you do have a bug, please post your log too, it may have an error.
In reply to Philderbeast:
Just a quick note i have taken over maintaining this as of version 5.0.0 :)
i say this plugin and i lost my mind!!! this has to be the best anti lag i have eve3r seen, amazing work!
Known Bugs So Far:
- You don't get XP from stuff like ores
@MnMaxon I think you accidentally uploaded 3.9 instead of 4.0, because even when I download 4.0 it says enabling 3.9, also there is an error on 1.10 where it fills every single slot in the inventory, including armor slots and everything, please fix this ASAP
The "Mending" enchant is not compatible with AutpPickup EXP. The Mend does not recognize picked up orbs if the feature is on.
Is there a way to turn off the blacklist in SMP?
In autopickup.cfg i have only:
# Configuration file
snipe13051 {
B:AutoAdd=true
S:"Blacklisted Items" <
>
}
Hello,
I really enjoy this plugin I'm just having a minor tweak or suggestion for it.
It's very strange when items fill up your shield slot and armor with this plugin and I was wondering if there was any way to disable the extra slots from filling up with items?
Thanks!
Is there a way i can enable this plugin in one world and disable it in another?
@MnMaxon
It was a Minecraft bug, and it's fixed.
Will we see a new update soon with fixes?
@MnMaxon
I see that with recent versions you added support for tokenenchant blockexplode event, but unfortunately it still doesn't work with explosive for some reason, I have the same issue I had before where if i use a pickaxe with explosive on it, the blocks will break around it, but the autopickup plugin will still treat it as only one block broken.
P.S: yes I do have the use TEBlockExplodeEvent: true in my config
@OldScurvyDog
Thanks for reporting this. This is kind of just spam. I'll get rid of it in the next update, but you don't need to work on it.
Getting these errors on start up...
[16:06:57] [Server thread/ERROR]: [AutoPickup] Plugin AutoPickup v3.9 has failed to register events for class me.MnMaxon.AutoPickup.MythicMobListener because net/elseland/xikage/MythicMobs/API/Bukkit/Events/MythicMobDeathEvent does not exist. [16:06:57] [Server thread/ERROR]: [AutoPickup] Plugin AutoPickup v3.9 has failed to register events for class me.MnMaxon.AutoPickup.TokenEnchantListener because com/vk2gpz/tokenenchant/event/TEBlockExplodeEvent does not exist.
@Johandrex
Oops, I forgot to tag you, I'll look at this this weekend.
@MCTylerPVP
The shield thing makes sense, the helmet thing just seems odd. I should be able to fix it this weekend.
I think it reads it as just another backpack slot, It goes in the Shield slot too, then Quicksell will give players money for those items but never take them creating a endless way to make money. I already reported this on Quicksell.
When using autopickup and the inventory gets filled the items end up in your helmet space for some reason.
Works great in 1.9, Thank You soooo Much!
@MCTylerPVP
I did this a couple of days ago, I guess I forgot to update it. I just uploaded version 4.0. You'll be able to downloaded as soon as the file's accepted.