[Abandoned] MinecartMania Reborn
Minecart Mania 2.0 is a total minecart overhaul for fun and profit.
With MCM you can:
- Jump and ramp minecarts through the air
- Travel at ludicrous speeds (no derailing!)
- Set destinations for each cart and route them automatically through intersections.
- Route minecarts based on their type, contents or direction.
- Use block or signs to change speed, physics, and other properties on the fly.
- Use minecarts to farm wheat, lumber and other crops, harvest them and place them in chests
- Use advanced sensors to trigger redstone circuits based on the type, contents and direction of minecarts.
Note: 7/23/2013 by jrbudda
MinecarftMania has been almost totally re-written Please read Whats new in v2 for the current list of changes from the original.
Documentation
- Minecart Physics
- Control Blocks and Signs
- Intersections and Stations
- Chests and Items
- Farming (Automations)
- Sensors
- Commands
- Configuration
- Permissions
If you find bugs or have problems, please open a Ticket on the Tickets page.
You can also usually find the author in IRC on esper.net in #minecartmania
-
View User Profile
-
Send Message
Posted Feb 24, 2013Hi, i went test this plugin on my server but i get this error:
[SEVERE] Could not load 'plugins\MinecartMania.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_4_R1.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_4_R1.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:104) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.ExceptionInInitializerError at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:265) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:180) ... 9 more Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Error constructing com.avaje.ebeaninternal.server.core.DefaultServerFactory at com.avaje.ebean.EbeanServerFactory.createServerFactory(EbeanServerFactory.java:114) at com.avaje.ebean.EbeanServerFactory.<clinit>(EbeanServerFactory.java:57) ... 11 more Caused by: java.lang.IllegalArgumentException: Error constructing com.avaje.ebeaninternal.server.core.DefaultServerFactory at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:107) at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:94) at com.avaje.ebean.EbeanServerFactory.createServerFactory(EbeanServerFactory.java:112) ... 12 more Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\Daniel Ribeiro\Desktop\Servidor Minecraft - Cópia\craftbukkit.jar (O sistema não conseguiu localizar o caminho especificado) at com.avaje.ebeaninternal.server.core.XmlConfigLoader.search(XmlConfigLoader.java:121) at com.avaje.ebeaninternal.server.core.XmlConfigLoader.load(XmlConfigLoader.java:78) at com.avaje.ebeaninternal.server.core.DefaultServerFactory.<init>(DefaultServerFactory.java:91) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:104) ... 14 more Caused by: java.io.FileNotFoundException: C:\Users\Daniel Ribeiro\Desktop\Servidor Minecraft - Cópia\craftbukkit.jar (O sistema não conseguiu localizar o caminho especificado) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at com.avaje.ebeaninternal.server.core.XmlConfigLoader.checkJar(XmlConfigLoader.java:176) at com.avaje.ebeaninternal.server.core.XmlConfigLoader.search(XmlConfigLoader.java:110) ... 23 more>>
-
View User Profile
-
Send Message
Posted Feb 24, 2013A little offtopic, but is there any documentation (like sign commands list) for the 1.5.1 ?
-
View User Profile
-
Send Message
Posted Feb 23, 2013@jrbudda
if you wish to test the issue im having client sided, i can try and show you via my server
-
View User Profile
-
Send Message
Posted Feb 22, 2013Next update sometime this weekend. Expect the following:
-
View User Profile
-
Send Message
Posted Feb 22, 2013@jrbudda
ok thanks!
-
View User Profile
-
Send Message
Posted Feb 21, 2013@xemnes1
Yes I've already taken care of that spawner issue for the next release. I will have to do some investigation about the client sync issues.
-
View User Profile
-
Send Message
Posted Feb 21, 2013@jrbudda it seems to happen when the player in the minecart is heading toward you from chunks which arent loaded from the client. eg: im in one world and teleport to a player who is in another world in a minecart, which would essentially cause me to load chunks which were previously unloaded for my client.
also i have noticed a new issue, can you stop minecarts spawning on top of spawner blocks (diamond block) if there is not rail above it? buttons surrounding diamond blocks cause that entire area to spawn minecarts. minecartmania used to only allow a minecart to spawn only if theres a rail present
-
View User Profile
-
Send Message
Posted Feb 21, 2013@xemnes1
Hmm sounds like a client sync issue, does this happen under any specific situations? Over a certain speed or past a certain distance between the players?
-
View User Profile
-
Send Message
Posted Feb 21, 2013im having an issue where players dont appear to be moving in minecarts to other people, eg: to me another player is sitting in space not moving until they exit the minecart at their destination =S is there a fix to this? this didnt happen with traincarts
-
View User Profile
-
Send Message
Posted Feb 20, 2013I've solved the issue of minecarts not moving far away from players even if their chunk is loaded. Look for that in next release.
@Xehara
I would recommend disabling CraftBook vehicles in their config.yml. I do not think it is compatible with this. If there is a feature of CB vehicles that you think MCM should have, just let me know.
-
View User Profile
-
Send Message
Posted Feb 20, 2013Is this compatible with CraftBook features?
-
View User Profile
-
Send Message
Posted Feb 19, 2013Yeah, I tested it now. You can make it happen with an alias, however, then all items in that alias has to be in the minecart for the sensor to active. I hoped that it would just sense if any of the items in the alias was there, but it has to be all items in the alias.
Anyway, thanks for your time... :D I'm using the sensor:0008 btw...
EDIT: I got it working now. I derped... Should have used sensor:0017 :D
Thanks for an awesome plugin...
-
View User Profile
-
Send Message
Posted Feb 19, 2013@LPGweldor
I think the way it works is an item always matches exactly 1 item unless it's an alias. You could make an alias in the config.yml and list all the items you want under that.
I'll take a look and see if there's a better way, but I'd rather not make a change that might break everyone's current setup.
-
View User Profile
-
Send Message
Posted Feb 19, 2013Is it possible for sensors to sense all kind of, for instance, logs with only 1 sensor? Or do you have to make 4 sensors with all 4 kinds of names like log, birch_log, redwood_log and jungle_log ?
I've tried to just put 17 on the sign, but can't get it to work as it'll only sense normal logs D:
Or wool for instance... Would you have to make 16 different sensors to sense them all or can they somehow go under one?
-
View User Profile
-
Send Message
Posted Feb 19, 2013@7eggert
Ugh you're right. I'll get this sorted eventually. I dunno about the dupe thing, sometimes minecraft likes to do things twice, I maybe be able to implement a cooldown on that.
-
View User Profile
-
Send Message
Posted Feb 19, 2013ß3 is still derailing the minecart if a track ends on obsidian and a catched minecart is relaunched.
I just duped a minecart by placing one. Both were placed at once.
-
View User Profile
-
Send Message
Posted Feb 17, 2013Beta3 has been uploaded for approval, lots of bugfixes. Here's the changelog
-
View User Profile
-
Send Message
Posted Feb 17, 2013OK I got it all working nicely. Minecarts no longer despawn on chunk unload or server restart. Players riding in carts on a server stop or reload will be properly remembered and sent on their way when they log back in.
When this happens, though, the carts will 'reset' back to default MCM values and any chest contents well be lost. (so still set KeepChunksLoaded to true if you want to do automated farming)
-
View User Profile
-
Send Message
Posted Feb 17, 2013So I'm dumb and really thought minecarts were supposed to disappear on server restart and chunk unload. Apparently they normally save themselves in vanilla craftbukkit, but something about MCM is making them despawn. I went and wrote the necessary code to save and load all carts to the database on shutdown/reload, so however I accomplish it, next release your minecarts should stop disappearing on server stop.
-
View User Profile
-
Send Message
Posted Feb 17, 2013@jrbudda
Great!! Thanks alot!!