[INACTIVE][MECH/TP] Minecart Mania Teleport 1.2.4 - Continue rails anywhere [MMC 1.2] [953]

Discussion in 'Inactive/Unsupported Plugins' started by kroimon, Mar 5, 2011.

  1. Offline

    kroimon

    Minecart Mania Teleport - Continue rails anywhere
    Version: 1.2.4
    Requirements: Minecart Mania Core 1.2.8 and CraftBukkit 953 (these are the tested versions, others might be ok, too)

    As I currently have no time to maintain this plugin, I marked it as being inactive.
    If anyone wants to provide patches, please clone my github repository and send pull-requests and PM me, so I can make a new version and post it here!
    Sorry for those of you who used this plugin!

    Download:
    [Download JAR file]
    Read the Permissions section below!
    Source code on GitHub

    Description:
    This plugin allows you to teleport moving minecarts (even with passengers) to whereever you want.

    To create a teleporter you need to place two linked signs at the end of minecart tracks.
    These signs have to contain the words "cart" and "teleport" in their first lines (first line containing text, doesn't have to be the first line really) and a unique name representing this pair of signs in their second line (case-sensitive). After placing a sign, right click it for the plugin to create a waypoint (you should get a confirmation message here).
    After right clicking the second sign, any minecart colliding with one of the signs teleports it to the rails next to the corresponding other sign.

    Permissions:
    Important for version >=1.2.0
    If you're using a Permissions plugin, you have to set the following permissions:
    • minecartmania.teleport.create - Create a teleporter sign
    • minecartmania.teleport.break - Break a teleporter sign
    • minecartmania.teleport.use - Use a teleporter as a minecart passenger
    If no Permissions-style plugin can be found, permissions are disabled and everyone is allowed to do everything.

    Notes:
    • Due to a limitation in Bukkit, the plugin prevents teleporter signs from being destroyed/dropped when the block holding the sign gets destroyed.
    • The plugin tries to find the target rails in NSEW order around the target sign.
    Todo / Wishlist:
    • Allow the creation of teleporters which only allow certain minecart types (e.g. storage minecarts) or passengers (e.g. animals only)
    • Allow multiple entry signs to point to one single exit sign.
    Changelog:
    • Version 1.2.4
      • Small fixes.
    • Version 1.2.3 (1,357 Downloads)
      • Fix for MinecartManiaCore API change.
    • Version 1.2.2 (606 Downloads)
      • Fix for the rare souls around not using a Permissions plugin.
    • Version 1.2.1 (130 Downloads)
      • Tried to fix everything new in 1.2.0 ... I failed!
    • Version 1.2.0 beta (17 Downloads)
      • Load worlds when they are needed. This should fix problems with plugin load-orders.
      • Added support for permissions. You have to set these if you use a Permissions plugin! (if you don't use one, everything works as in previous versions - anyone is allowed to do anything)
        • minecartmania.teleport.create - Create a teleporter sign
        • minecartmania.teleport.break - Break a teleporter sign
        • minecartmania.teleport.use - Use a teleporter as a minecart passenger
    • Version 1.1.1 (781 Downloads)
      • Adapted new MinecartMania naming scheme
    • Version 1.1.0 (296 Downloads)
      • Changed the way a teleport with passenger works. Hopefully, this fixes multi-world and long-distance teleports until Bukkit gets fixed.
    • Version 1.0.2 (121 Downloads)
      • Adapted to API changes in Bukkit 465+ (CraftBukkit 563+)
    • Version 1.0.1 (565 Downloads)
      • Fixed a NullPointerException for the very few people who teleport stopped minecarts using another plugin
    • Version 1.0 (23 Downloads)
      • Initial release
     
    Pinkpixels, John Kapsis and Benie like this.
  2. Offline

    kroimon

    Then, sir, would you be so kind and provide me with appropriate information to solve the errors?
    TL;DR: Post the fucking error message!
     
  3. Offline

    efstajas

    Hi kroimon, I'm sorry to tell you that, but it doesn't work for me, either. I'm running Build 709 and the new 1.5 Beta- Release of Minecart Mania Core. I CAN create the Sign, also the right click- message thing works fine and says that the signs are now linked, but when I collide with the sign while riding a minecart, nothing happens. I just get stuck in the sign. No Teleport. And also no error- message in the console!
    I hope that you can fix the error easily! :)
     
  4. Offline

    kroimon

    Heyho, I finally found some time to look into this. I have identified the problem and I'm working on a fix.
    Expect a new version sometime today or tomorrow :)

    Just released version 1.2.1 which should finally bring all the features announced for 1.2.
    Yeah, I had to fix all of them as I had to upload 1.2.0 without testing anything (shame on me).

    I'll quote myself on what's new:
    As usual, you can find the download in the updated first post.

    Have fun :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  5. I've just downloaded 1.2.1, using CB 733 & MM Core 1.1.2 and I'm getting the same problem as Niteaw.

    Plugin shows in the list, nothing happens when I left click and no error message.
     
  6. Offline

    kroimon

    Damn, works for me... are you using a Permissions plugin?
     
  7. I am yes. I have a copy of all the files on my dedi, so I can test without having to restart the server.....I copied over MM (the same version as on the server)....and it worked :S
     
  8. Offline

    kroimon

    And it still doesn't work on your main server? If so, then could you please track down the differences? By copying plugin after plugin you should be able to find out what breaks it...
     
  9. Offline

    BigRenegade

    I get the following error when starting the server with your so-called fix. Nothing works. No signs, no nothing. And I am running bukkit 733 with your version 1.2.1. And I don't run permissions so why am I getting an accessing permissions error? Also, your link in the post does not work. And to quote you "the FUCKING error message" is a 404 page not found error.

    [MinecartManiaTeleport] version 1.2.1 enabled!
    2011-04-27 10:17:40 [SEVERE] Could not pass event PLUGIN_ENABLE to MinecartManiaTeleport
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
    at net.sradonia.bukkit.minecartmania.teleport.MinecartManiaTeleport$1.onPluginEnable(MinecartManiaTeleport.java:63)
    at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:408)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:633)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 13 more
     
  10. Offline

    kroimon

    Version 1.2.2 released, see first post.
    • Fix for the rare souls around not using a Permissions plugin.
     
  11. Offline

    BigRenegade

    I don't use a permission plug-in because I don't need it. My server is a closed intranet server. If the kids don't listen I'm right in their face. Now, why is would I need a permissions plug-in? For permissions, I simply kick them off their computer until they decide to listen.
     
  12. Offline

    Arnulf222

    version 1.2.2:

    Code:
    2011-04-28 17:54:31 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-gf3ae4c3-b733jnks (MC: 1.5_02)
    2011-04-28 17:54:31 [INFO] Preparing level "world"
    .
    .
    .
    2011-04-28 17:54:35 [INFO] [Minecart Mania] Debug mode switched to NORMAL
    2011-04-28 17:54:35 [INFO] [Minecart Mania] MinecartManiaCore version 1.1.3 is enabled!
    2011-04-28 17:54:35 [INFO] [Minecart Mania] MinecartManiaPressurePlates version 1.08 is enabled!
    2011-04-28 17:54:36 [INFO] [Minecart Mania] MinecartManiaSignCommands version 1.1.0 is enabled!
    2011-04-28 17:54:36 [INFO] [Minecart Mania] MinecartManiaStation version 1.1.0 is enabled!
    2011-04-28 17:54:36 [INFO] [MinecartManiaTeleport] Permissions support enabled! Remember to set the appropriate permissions!
    2011-04-28 17:54:36 [INFO] [MinecartManiaTeleport] Successfully loaded 16 teleporter signs
    2011-04-28 17:54:36 [INFO] [MinecartManiaTeleport] version 1.2.2 enabled!
    .
    .
    .
    2011-04-28 17:54:36 [INFO] [Minecart Mania] Permissions detected. Using permissions.
    2011-04-28 17:54:36 [INFO] [Minecart Mania] MinecartManiaAdminControls version 1.1.2 is enabled!
    2011-04-28 17:54:36 [INFO] [Minecart Mania] MinecartManiaAutocart version 1.1.1 is enabled!
    2011-04-28 17:54:36 [INFO] [Minecart Mania] MinecartManiaAutomations version 1.1.1 is enabled!
    2011-04-28 17:54:36 [INFO] [Minecart Mania] MinecartManiaChestControl version 1.1.1 is enabled!
    
    
    following error spam starts when I connect to the server

    Code:
    2011-04-28 17:54:48 [SEVERE] Could not pass event BLOCK_PHYSICS to MinecartManiaTeleport
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.CraftServer.getWorld(CraftServer.java:360)
        at net.sradonia.bukkit.minecartmania.teleport.WorldNameLocation.getWorld(WorldNameLocation.java:53)
        at net.sradonia.bukkit.minecartmania.teleport.WorldNameLocation.equals(WorldNameLocation.java:65)
        at net.sradonia.bukkit.minecartmania.teleport.Teleporter.contains(Teleporter.java:79)
        at net.sradonia.bukkit.minecartmania.teleport.TeleporterList.search(TeleporterList.java:126)
        at net.sradonia.bukkit.minecartmania.teleport.SignBlockListener.onBlockPhysics(SignBlockListener.java:55)
        at org.bukkit.plugin.java.JavaPluginLoader$23.execute(JavaPluginLoader.java:340)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.World.k(World.java:378)
        at net.minecraft.server.World.applyPhysics(World.java:366)
        at net.minecraft.server.World.update(World.java:334)
        at net.minecraft.server.World.setData(World.java:279)
        at org.bukkit.craftbukkit.block.CraftBlock.setData(CraftBlock.java:91)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:183)
        at org.bukkit.craftbukkit.block.CraftChest.update(CraftChest.java:32)
        at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:168)
        at com.afforess.minecartmaniacore.MinecartManiaChest.update(MinecartManiaChest.java:302)
        at com.afforess.minecartmaniacore.MinecartManiaChest.removeItem(MinecartManiaChest.java:260)
        at com.afforess.minecartmaniacore.MinecartManiaSingleContainer.removeItem(MinecartManiaSingleContainer.java:194)
        at com.afforess.minecartmaniacore.MinecartManiaSingleContainer.removeItem(MinecartManiaSingleContainer.java:204)
        at com.afforess.minecartmaniacore.MinecartManiaChest.removeItem(MinecartManiaChest.java:276)
        at com.afforess.minecartmaniacore.MinecartManiaSingleContainer.removeItem(MinecartManiaSingleContainer.java:194)
        at com.afforess.minecartmaniacore.MinecartManiaDoubleChest.removeItem(MinecartManiaDoubleChest.java:115)
        at com.afforess.minecartmaniachestcontrol.itemcontainer.ItemDepositContainer.doCollection(ItemDepositContainer.java:39)
        at com.afforess.minecartmaniachestcontrol.itemcontainer.ItemCollectionManager.processItemContainer(ItemCollectionManager.java:218)
        at com.afforess.minecartmaniachestcontrol.MinecartManiaActionListener.onMinecartActionEvent(MinecartManiaActionListener.java:77)
        at com.afforess.minecartmaniacore.event.MinecartManiaListener.onCustomEvent(MinecartManiaListener.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader$66.execute(JavaPluginLoader.java:611)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at com.afforess.minecartmaniacore.MinecartManiaCoreListener.onVehicleUpdate(MinecartManiaCoreListener.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader$62.execute(JavaPluginLoader.java:583)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.EntityMinecart.p_(EntityMinecart.java:534)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1007)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:52)
        at net.minecraft.server.World.playerJoinedWorld(World.java:989)
        at net.minecraft.server.World.cleanUp(World.java:966)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:367)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    

    back to 1.2.0 all is working as normal


    Edit:
    it produces no errors. But it doesn't teleport my carts too.... :(
     
  13. Offline

    Derrick Mehaffy

    Im having an issue with the end signs. They teleport me just fine but when you get to the other side, you have no speed and none of the mm blocks or the new boost rails will start you moving again.
     
  14. Offline

    Arnulf222

    my teleporters still doesn't work

    The following happens:

    1) create Sign #1 with "Cart Teleport | Test2"
    2) Right click at sign and receive message "Created first sign for Test2 | Now go create a second sign!""
    3) create Sign #2 with "Cart Teleport | Test2"
    4) Right click at sign and receive message "Teleporter 'Test2' completed | Connection established!""

    5) start a minecart running through sign #1 and the cart stops at that sign - no teleport

    6) right click at sign #1: "There are already two signs for teleporter 'Test2' Please choose a different name!"


    I expected at pont 6) a message like "yes, this is a teleporter' or something similar.

    I have only one world with default name "world".
    I have no multiverse plugin installed
    bukkit build 740
    newest mm-core
    mmteleport 1.2.0 (1.2.2 produces error-spam as mentioned above)

    my teleporters.dat:
    Code:
    #name=world1,x1,y1,z1,world2,x2,y2,z2
    Level5Ground=world,-890,63,59,world,-892,93,57
    Level1Level2=world,-892,69,57,world,-890,75,59
    Level4Level5=world,-892,87,57,world,-890,93,59
    Test1=world,-872,57,19,world,-868,57,19
    Level2Level3=world,-892,75,57,world,-890,81,59
    Test3=world,-872,57,16,world,-869,57,16
    GroundLevel1=world,-892,63,57,world,-890,69,59
    Level3Level4=world,-892,81,57,world,-890,87,59
    Test2=world,-868,57,19,world,-872,57,19
    
    Edit:
    When i break one teleporter sign, no message is written

    WTF?
    I restarted myserver several times
    I rebuilt teleporters.dat several times
    changed the MMT-version several times

    and now? I don't know why - teleportation works without errors....

    I should by happy. But I want to know why it is working this time....:eek:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  15. Offline

    kroimon

    I can just tell you that version 1.2.0 is not working at all, so you have to use 1.2.2 ...
    And I'll look into the other error log you posted earlier sometime tomorrow, but if it works now, great!
     
  16. Offline

    Arnulf222

    :)
    I'm a programmer too. And what I hate is, when things happen or not without knowing why ;)

    Last version with working teleporters for me is 1.2.2
     
  17. Hi! I have a problem with the plugin. I'm using minecart mania teleport 1.2.2, minecart mania 1.1.9, CB 740. Just to test things, I made some rails going to a teleporrt sign in one part of my world. Then I go reeeaaaaallly far and set another teleport sign with a rail system looping into it so it comes back to the previous location.

    Now, I made two warps points between to the two to test things. When I send it from point A, it does not get back. But as soon as I warp to point B, i see it going in the teleport sign. Then I warp back to point A and it is there.

    It seems if the teleport point is too far from you or another player the cart actually teleport but does not move until you come close to it, or another player.

    And I tried putting a storage minecart close to the two points to not unnload the chunks.

    Anyone has an idea?
     
  18. Offline

    jenrik

    can you make a video that show how to use the plugin.
    i can't make it work:(
     
  19. Offline

    TBK

    I'm getting this error after updating MMC to the newest version:
    Code:
    2011-05-09 05:21:02 [SEVERE] Could not pass event CUSTOM_EVENT to MinecartManiaTeleport
    
    java.lang.NoSuchMethodError: com.afforess.minecartmaniacore.event.MinecartActionEvent.getMinecart()Lcom/afforess/minecartmaniacore/MinecartManiaMinecart;
        at net.sradonia.bukkit.minecartmania.teleport.MinecartActionListener.onMinecartActionEvent(MinecartActionListener.java:27)
        at com.afforess.minecartmaniacore.event.MinecartManiaListener.onCustomEvent(MinecartManiaListener.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader$66.execute(JavaPluginLoader.java:611)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at com.afforess.minecartmaniacore.api.MinecartManiaCoreListener.onVehicleUpdate(MinecartManiaCoreListener.java:120)
        at org.bukkit.plugin.java.JavaPluginLoader$62.execute(JavaPluginLoader.java:583)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.EntityMinecart.p_(EntityMinecart.java:534)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1007)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:52)
        at net.minecraft.server.World.playerJoinedWorld(World.java:989)
        at net.minecraft.server.World.cleanUp(World.java:966)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:367)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
     
  20. im getting the same error as TBK
     
  21. Offline

    CoMcE

    I have got Errors since i updated to new MinecartMania Version.


    Regards
     
  22. Offline

    kroimon

    @TBK @Sithnar @CoMcE
    Thanks for the report! I already was aware of the API break @Afforess did a few days before, but I had to wait for his release until I could release my fix for it :)
    So here you go, have a look at the first post...
     
  23. @kroimon: Brilliant! works perfectly again.
     
  24. Anywhere I can get teleport jar file version 1.2.2 and below? The one working with minecart mania 1.1x?

    EDIT: thanks someone sent it to me!
     
  25. Offline

    kroimon

    The "someone" was me ;-)
     
  26. lol yes thanks to you everything is back fine!
     
  27. Offline

    Kevin C.

    I x-posted this on the MM thread too, but here goes:

    It appears I have run into an issue where chests are not absorbing minecarts after passing through a MM Teleport. This occurs whether it is within the same world, or between MultiVerse worlds. The cart just bumps into the chest, and will sit there forever. If you destroy it, you get two minecarts.

    Now, an interesting thing that is happening in the background as I type this, I left the minecart up against the chest, and it is spitting out endless minecarts. Not subtracting them from the chest it is up against, but just dropping one after the other ad infinitum. :eek:

    EDIT: Updated to link of new video
    EDIT: Decent quality video of the spitting carts. This can also be reproduced at will, although it seems to take a bit of time before it starts having babies.
    http://www.youtube.com/watch?v=E9cnfLCYrJU

    http://www.youtube.com/watch?v=E9cnfLCYrJU
     
  28. Offline

    Kevin C.

    Anyone out there? No ideas?
     
  29. Offline

    hofec

    Hello Kroimon.

    Firstly, thank you for great plugin [diamond]

    Secondly, can u please hook your plugin with iConomy 5 ? I want make port signs with some charges when creation for my players on server.

    Thank you in advence ! :)
     
  30. Offline

    Kevin C.

    methinks this plugin is going to be heading to dead pile at some point....

    sad, because I really like it. But it appears the author doesn't respond anymore.
     
  31. Offline

    kroimon

    Sure, I just have no idea what your problem could be... I tried to reproduce it, but could not.
    And as you said you x-posted it in the MMC thread, I thought the main discussion would happen there...

    Well I haven't done anything with iConomy yet, but I'll look into that when I find the time :)
     

Share This Page