ItemStacker

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

ItemStacker

Stacks items when they drop.

For example, if you are mining, the items will bunch into a single stack rather than spreading out all over the place.

This makes it easier to pick items up. This could have performance benefits as well because there won't be as many items all over the place.

Beta

This plugin is currently in a beta state meaning there could be bugs and more development may be done before it's deemed polished and complete.

I run this on my server and there has been no reported bugs yet but that doesn't mean there aren't any. If you find a bug or have any requests please let me know by commenting below or creating a ticket.

config.yml

The config.yml file should be automatically generated for you the first time you start your server with the plugin in your plugins folder.

radius: 4
The block radius to check for items to stack.

There are no commands or permissions to configure.

Source

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of ryvix ryvix Jan 07, 2013 at 05:18 UTC - 0 likes

    @th3controller: Go

    Thanks, I will make it do that if I ever get around to updating this again.

  • Avatar of th3controller th3controller Jan 06, 2013 at 07:29 UTC - 0 likes

    You should use a double for radius.

  • Avatar of ryvix ryvix Dec 23, 2012 at 02:07 UTC - 0 likes

    @coolo1: Go

    True, but does vanilla allow you to adjust the radius? That's one reason I haven't updated. However I also haven't updated this because I have been using Spigot which has it built in. But some day I plan to update it because I feel this can still be useful.

  • Avatar of coolo1 coolo1 Dec 23, 2012 at 00:24 UTC - 0 likes

    Not needed in recent versions of Minecraft, already included in Vanilla.

  • Avatar of ryvix ryvix Nov 28, 2012 at 22:37 UTC - 0 likes

    @playironshovel: Go

    I haven't tested this plugin even in 1.4.5. It may not work properly. Especially with items with names from the anvil or dyed leather and things like that.

  • Avatar of playironshovel playironshovel Nov 28, 2012 at 22:23 UTC - 0 likes

    My server really appreciates your code. Lag is a monster for everyone and thanks to you we've made a few steps toward the perfect lag-free configuration. :)

    play.ironshovel.com

  • Avatar of ryvix ryvix Oct 02, 2012 at 22:15 UTC - 0 likes

    @TheChinski: Go

    Well, I gave it a shot. Been trying to make it work properly for awhile but unfortunately it's a little glitchy and I am not entirely sure why. I will come back to it at a later time.

  • Avatar of ryvix ryvix Sep 30, 2012 at 21:58 UTC - 0 likes

    @TheChinski: Go

    I'm not so sure that would be a good idea for performance reasons but it would be possible. I guess I could make a config option for it and do some testing. Maybe if it tracked an item for a bit after it spawned to see if it's location was changing.

    This would also be useful if you are breaking items from a height and they are dropping down on the ground. I'm not sure which would be better on performance so I might have to do some tests.

    I can probably also do some minor performance tweaks and make xp orbs stack as well.

  • Avatar of TheChinski TheChinski Sep 30, 2012 at 20:55 UTC - 0 likes

    I've noticed the items don't merge when in water. I've had a quick look at your code (just because i'm trying to learn Java :P) and you're doing the whole item stacking thing on the ItemSpawnEvent. As the cactus farms spawn cacti all over the place, they are nowhere near each other until they all gather at the end of the water trail :/

    I'm new so I dont really no much, but is there a way to check when a drop stops moving? Or maybe do a check every 5 seconds or something for nearby drops and merge them then? :)

  • Avatar of ryvix ryvix Sep 30, 2012 at 17:50 UTC - 0 likes

    @TheChinski: Go

    Hmm, you're right some things don't stack properly. I will look into it.

Facts

Date created
Jun 29, 2012
Category
Last update
Sep 15, 2012
Development stage
Abandoned
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Downloads
1,978
Recent files

Authors