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.
@MCTylerPVP
Thanks for finding this. This is just a spammy message, so you do not need to update it, but if you want you can: http://dev.bukkit.org/bukkit-plugins/autopickup/files/22-auto-pickup-3-7/
This hasn't been approved yet, I don't know if it will be approved for a while because of MineCon.
@PindaHead That's really weird, when they type /ap, is autoblock enabled?
@Sanchezer2012 Thank you for trying to help, this might work, but I doubt it. the permission AutoBlock.disabled isn't in the code anywhere. Before giving them AutoBlock.disabled, did you ever give them AutoBlock.enabled?
@PindaHead
Hey Mate, i had the same issue. I found adding: AutoBlock.disabled >> Actually stopped it from autoblocking and also they couldn't toggle it.
Error with latest...
[06:02:48] [Server thread/ERROR]: Could not pass event InventoryCreativeEvent to AutoPickup v3.6
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1749) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PacketPlayInSetCreativeSlot.a(SourceFile:23) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PacketPlayInSetCreativeSlot.a(SourceFile:9) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_45]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:19) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:718) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
Caused by: java.lang.NullPointerException
at me.MnMaxon.AutoPickup.MainListener.onInvClick(MainListener.java:59) [?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_45]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [spigot.jar:git-Spigot-f928e7a-e91aed8]
... 15 more
@MnMaxon
I never added AutoBlock.enabled or AutoBlock.command to the group but they are still getting blocks
@PindaHead
The plugin works like this:
If you have AutoBlock.enabled, when you join the server, you will have autoblock enabled. If you have AutoBlock.command, you can toggle it on and off.
@MnMaxon
Sorry but it didnt work :(
@PindaHead
I fixed it, thanks for finding the bug.
@PindaHead Remove the permission AutoBlock.enabled
@MCTylerPVP Sorry, I forgot about this, I'll fix it now.
Is there a way to disable the ores and ingots that turns into blocks, i know that there is a way but that is only for me if i do /autopickup but i want it for everyone
what would be great is that you require flame or fiire asppect on the tool to auto smelt. I found this plugin called Burning Pickaxe that did that but that project was abandoned and is very buggy (pick randomly disappears) That is the reason for searching for an updated one. But i want players to not get ingots as soon as they mine... if it was enchant based then they could decide if they want ore smeelt or not, instead of a command.
Just a thought.
or perhaps an item in the inventory that makes the pick smelt? like a blaze rod with fire aspect (which can only be bought from a shop)?
Autosell won't toggle in the 3.5 GUI. I rolled it back to 3.4, and it works great! Did the permission change?
@MCTylerPVP
Maybe. I might have added a small update since I gave it to you. I don't know if yours is compatible with StackableItems.
Is the latest version same as the one you gave me? (3.4)
@MCTylerPVP
You're welcome. I'm sorry to hear about that, and thanks for the nice response.
@MCTylerPVP
Of course I wouldn't be opposed to a donation if you have the money and you're willing, but you don't need to pay for it. This is a free plugin, and I would only force people to pay if they ask for an outrageous request or they don't want their request released to anyone else. I made it an option in the config: https://www.dropbox.com/s/mwhv5tum7w5p45r/AutoPickup.jar?dl=0