RollingMinecarts
RollingMinecarts - Empty minecarts move at the same speed as occupied minecarts.
This small mod alters the behavior of unoccupied and storage minecarts so that they behave just like occupied minecarts. No longer must you use excessive booster tracks just to get a storage cart to get from one place to another. The chunks the minecarts are traveling will even stay loaded so that the cart can safely make it to it's destination. Just drop it in the plugins folder and you're good to go!
Features
- Storage carts move at the same speed as occupied carts. (configurable)
- Empty carts move at the same speed as occupied carts. (configurable)
- Keeps chunks around moving minecarts loaded. (configurable)
- Commands to count, as well as remove all (or empty) minecarts.
- Very small and efficient plugin.
Commands
- /CountMinecarts - counts all minecarts in all loaded chunks.
- rollingminecarts.count
- rollingminecarts.count
- /RemoveMinecarts - removes all minecarts in all loaded chunks.
- rollingminecarts.remove
- rollingminecarts.remove
- /RemoveEmptyCarts - removes all empty minecarts in all loaded chunks.
- rollingminecarts.remove
Bugs and Future Features
- See Tickets
Supporters:
- ChrizC for taking the time to make the demonstration video.
- nmc93 for contribution of code from MinecraftRemover.
- orion304 for contribution of code from MinecartPermanence.
- bergerkiller for his help in resolving conflicts with his NoLagg plugin.
- feildmaster for helping shave an additional 15 bytes off the config.yml and plugin.yml
Donations:
- Please help support plugins like this one by donating to the author via PayPal.
Archive:
- The old plugin page can be found here, while it still exists
@Master_Zangetsu
I have not tested this specific case, however I believe this would work. A server restart however would not keep the monster in the cart.
you have listed in your features that it will keep chunks around minecarts loaded ..
Does this in anyway mean that a mob in a minecart will stay in it upon logout?
@Kartus
Not view distance, but all loaded chunks (which would be the only ones causing the server any additional memory or cpu usage). A limitation of bukkit atm it seems. I would have to load all chunks across the whole world to count ALL minecarts. So for now it seems just the ones affecting server performance are relevant.
/countminecarts is only in my view distance, not for whole server?
is it possible to add a config option like "Load chunks poweredminecarts: true" only for powered minecarts(for storage carts transport system based on powered minecarts)? this could save ram cause of less chunks loaded.
Thank you very much! Really cool and useful plugin, it helped me much.
@FlyingPikachu
Thx for the info. I'm glad they are compatible.
@AngryNil
Tested compatible with SimpleCarts v1.3.
@TomabScblieter
Thankyou! This is just what I needed :)
@_Poke_
Yes, this option is planned. It will be as simple as setting "Storage minecarts affected" to false, "empty minecarts affected" to false and "Keep chunks loaded" to true. This will be available in the next feature update.
@AngryNil
In addition to this, could you please eventually include an option to not affect cart speeds at all and just keep the minecart chunks loaded? I need a plugin like minecart permanence, which as you know doesn't work any more but my current railways rely on empty minecarts behaving differently.
@TomabScblieter
I will try to narrow it down. It's not eating memory or CPU which I would suspect from having too many chunks loaded, it just decides to terminate console. I will try to narrow it down without getting my clients too frustrated with me. ;-)
@madcatandrew
I am not aware of any conflicts with those plugins.
Two questions, is it possible you have a great deal of minecarts either deployed in your world, lost in the earth, or forever falling in the void? You should be able to use the command /countminecarts to determine this. The more minecarts you have in the world, the more chunks you have loaded. This is one of the trade offs with keeping chunks loaded and the reason I've included /removeminecarts.
Second, if you have a reasonable number of carts deployed would you be able to narrow down which plugins might be causing the conflict so I can look into it further?
@AngryNil
This is planned, but compatibility issues must come first. Also I'm looking for a good tutorial or example on the proper and accepted method of writing a bukkit config file. I've seen many poor implementations and would like to avoid making that mistake. I've also heard mention of some new config file tools slated for the next RB?
Would it be possible to have only storage minecarts move at the same speed as an occupied minecart? I'm thinking of building a rail system where I could use SimpleCarts to kick players off minecarts at stations, then being able to sort between storage minecarts (will go to some bay) and empty minecarts (will go into minecart storage).
Are there any known conflicts between this mod and any of the below listed:
When it's installed on my server it takes anywhere from 20 minutes to 6 hours to crash, but it's a guaranteed crash eventually and I can't figure out why. I'm running the latest version. Without the mod I'm at 100% up time. I would really like to use this, so if you have any recommendations please let me know.
Oh man this is perfect for my custom minecart station which uses empty carts! Thanks a lot!
@Wedhro
Thank you.
Though I can see how that feature could be cool on certain servers, I believe that would be outside the scope of this plugin. This plugin's primary purpose is to keep empty minecarts moving without affecting server performance.
The addition to keep chunks loaded and the ability to remove minecarts via command both stay true to this purpose. I can make the source available to you if you would like to fork your own version!
Thanks for the feedback!
Finally, awesome plugin!
Suggestion: add a setting to make loaded carts move slower than empty carts, to make it more realistic.
@virresss
Yes. As of now monsters will cause a collision.
Though I see how monsters interfering with our rolling minecarts should be considered part of this plugin. I'll look into the possibility of adding this.
do minecrats stop when a mob or dropped block on the rails?