[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

    Afforess

    @icephantom the internal name of Minecart Mania Core was changed, and so this plugin must be updated to read it properly. Not my fault really, since the bukkit team was going to force name changes on plugins, and I just updated before it happened.
     
  3. Offline

    kroimon

    @uoi100 @icephantom
    Just uploaded version 1.1.1 which should now load the correct MinecartManiaCore plugin :)

    @Afforess Spaces were allowed again only a few hours after the initial change and were allowed in every RB, you know that, don't you?
     
  4. Offline

    Afforess

    @kroimon

    Grub did mention that the revert was only temporary, and in the long run, spaces would not be allowed.
     
  5. Offline

    uoi100

    you forgot to upload version 1.1.1 btw. its still 1.1.0.
     
  6. Offline

    kroimon

    I failed hard. [pig]
    Fixed.
     
  7. Offline

    Ulrar

    I have a problem.
    With the minecart mania elevators, I had a bug. When I used the elevators to go down it worked fine, but when I used it to go up, I was teleported into stone (I use it from my mine, at level 20, to send a cart to the level 81) and, obviously, I died. all times.

    So i tried this plugins, and it bug too. May be carts don't like my spot ..
    With this plugin, to go down it works fine too but when I go up, the cart disapear few seconds after the teleportation.
    I arrive fine at level 81, in my cart, but there the cart just vanish.

    Any idea ? I don't have errors in console (except the can't keep up, of course)
     
  8. Offline

    kroimon

    Hm no, not at all, sorry... Is there enough space above your destination rails? ;)
     
  9. Offline

    Ulrar

    Yeah there is.
    But I've just seen that there is lava between, may be that's it .. ?
     
  10. Unlikely that Lava is the cause of the problem - unfortunately, you don't list your bukkit version or MCM core version. I have several teleport signs, most are from bedrock level and they go to around 10 blocks above sea level, I'd say around 65 - 70 blocks, and a couple of those pass through lava. I also have a couple which go up to my sky rail, which is just 6 blocks below max. height. All of these work fine, however, because I'm having spamming errors on the later versions of MCM, I'm currently unable to go beyond MCM core 1.06c. I'm using bukkit #621, although shortly I'm going to have another try at updating to bukkit #670 & the latest MCM core.
    I know this may not assist, because all I'm letting you know is, I don't have the problem. Only thing I can suggest is looking for any nearby signs which may be interfereing with your teleport. I also use this plugin all the time - its not killed anyone at all (yet :'().
     
  11. Offline

    ThomasJ

    Would still love a way to prohibit player warps with this plugin and allow it to be used for storage minecarts only :)
     
  12. Offline

    Ulrar

    I have bukkit 670 and the lastest MCM ..
    I really don't know why it don't work, so I have replaced it with an elevator from the elevators plugin.

    I'll try again with the next update !
     
  13. Offline

    Arnulf222

    it doesn't load my teleporters ( bukkit 670):
    Code:
    2011-04-14 22:48:09 [INFO] [Minecart Mania] Debug mode switched to NORMAL
    2011-04-14 22:48:09 [INFO] [Minecart Mania] MinecartManiaCore version 1.09c is enabled!
    2011-04-14 22:48:09 [INFO] [MinecartManiaTeleport] Successfully loaded 0 teleporter signs
    2011-04-14 22:48:09 [INFO] [MinecartManiaTeleport] version 1.1.1 enabled!
    

    my Teleporters.dat:
    Code:
    #name=world1,x1,y1,z1,world2,x2,y2,z2
    GroundLevel1=metropolis,426,64,768,metropolis,428,70,770
    Level1Level2=metropolis,426,70,768,metropolis,428,76,770
    Level2Level3=metropolis,426,76,768,metropolis,428,82,770
    Level3Level4=metropolis,426,82,768,metropolis,428,88,770
    Level4Level5=metropolis,426,88,768,metropolis,428,94,770
    Level5Ground=metropolis,426,94,768,metropolis,428,64,770
     
  14. Offline

    kroimon

    Will look into Permissions support for the next version :)

    Hmm your teleporters.dat looks OK, when did it stop working? Have you updated CraftBukkit or anything else? Or did you rename your world or something similar?
     
  15. Offline

    Arnulf222

    I'm usig different worlds. But that started before I installed this plugin.
    When I create the teleporters, all is working fine as long I don't restart the server.
    CraftBukkit is still build 670.
    the teleporter stopped working when I restarted the server.
    I can create new teleporters. They were written into the file as you can see.
    But when I restart the server, MMT thinks, there are no teleporters.
     
  16. Offline

    kroimon

    Ok then there might be a problem with reloading the world information. Is metropolis a secondary or your primary world?
     
  17. Offline

    Arnulf222

    When it means, that the primary world is the default world, metropolis is my secondary world.
    I respawn in metropolis when I start my client. But this is because I leave metropolis by quiting my client.
     
  18. Offline

    kroimon

    Ok, then I think that my plugin loads before the secondary world gets loaded. Which multi-world plugin do you use (which inter-world portals/world management plugin/whatever plugin loads the metropolis world)?
     
  19. Offline

    Arnulf222

    hm.....
    don't know if this is the plugin you mean, but one of my plugin is multiverse.
    I use wormhole-x-treme too.

    Is there a posibility to change the order of the plugin loading?

    Edit: Serverlog
    Code:
    17:19:28 [INFO] Starting minecraft server version Beta 1.4
    17:19:28 [INFO] Loading properties
    17:19:28 [INFO] Starting Minecraft server on *:25565
    17:19:28 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-646-gb61ef8c-b670jnks (MC: 1.4)
    17:19:28 [INFO] Preparing level "world"
    17:19:28 [INFO] Preparing start region
    17:19:28 [INFO] 144 recipes
    17:19:29 [INFO] Preparing spawn area: 97%
    17:19:29 [INFO] [Permissions] (Phoenix) was Initialized.
    17:19:30 [INFO] [WormholeXTreme][v0.833][By Lologarithm & alron]Load Beginning.
    17:19:30 [INFO] [WormholeXTreme]0 Wormholes loaded from WormholeDB.
    17:19:30 [INFO] [WormholeXTreme][v0.833]Load Completed.
    17:19:30 [INFO] Loaded Essentials build 2.1.15 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    17:19:30 [INFO] [Permissions] version [2.6] (Phoenix)  loaded
    17:19:30 [INFO] [WormholeXTreme][v0.833]Enable Beginning.
    17:19:30 [INFO] [WormholeXTreme]Attached to Permissions version 2.6
    17:19:30 [INFO] [WormholeXTreme]Complex Permissions Enabled
    17:19:30 [INFO] [WormholeXTreme]Attached to iConomy version 4.65
    17:19:30 [INFO] [WormholeXTreme]Help Plugin not yet available - there will be no Help integration until loaded.
    17:19:30 [INFO] [WormholeXTreme][v0.833]Enable Completed.
    17:19:30 [INFO] WorldEdit 4.3 enabled.
    17:19:30 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    17:19:30 [INFO] [Citizens]: Permissions enabled.
    17:19:30 [INFO] [Citizens]: Loaded 0 NPC's
    17:19:30 [INFO] [Citizens]: version [1.07g_5] (Helpers) loaded
    17:19:30 [INFO] Elevators version 1.4.2 is enabled and linked to Permissions! 0 elevators in world "world" loaded.
    17:19:30 [INFO] Loaded EssentialsSpawn build 2.1.15 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    17:19:30 [INFO] InfChests: Loading Configuration...
    17:19:30 [INFO] InfChests: Count: 4
    17:19:30 [INFO] InfChests: Loading Configuration Succes...
    17:19:30 [INFO] InfChests: Configuration Loaded!
    17:19:30 [INFO] InfChests: Allowed Worlds:
    17:19:30 [INFO] InfChests: world
    17:19:30 [INFO] InfChests: world2
    17:19:30 [INFO] InfChests: hoelle
    17:19:30 [INFO] InfChests: metropolis
    17:19:30 [INFO] InfChests: Registering Events...
    17:19:30 [INFO] InfChests version 0.3.6.2 is enabled!
    17:19:30 [INFO] Tombstone v.1.2.1 is enabled.
    17:19:30 [INFO] [Tombstone] Using Permissions (v2.6)
    17:19:30 [INFO] [Minecart Mania] Debug mode switched to NORMAL
    17:19:30 [INFO] [Minecart Mania] MinecartManiaCore version 1.09c is enabled!
    17:19:30 [INFO] [MinecartManiaTeleport] Successfully loaded 0 teleporter signs
    17:19:30 [INFO] [MinecartManiaTeleport] version 1.1.1 enabled!
    17:19:30 [INFO] ColorSign 1.1 enabled
    17:19:31 [INFO] Loaded EssentialsProtect build 2.1.15 maintained by Zenexer, ementalo, Aelux, Bret             tflan, KimKandor, snowleo and ceulemans.
    17:19:31 [INFO] [FriendlyCreepers]      -> ENTITY_EXPLODE
    17:19:31 [INFO] [FriendlyCreepers]      Creepers are:   Neutralized
    17:19:31 [INFO] [FriendlyCreepers]      TNT is:         Neutralized
    17:19:31 [INFO] [MultiVerse] Permissions Found
    17:19:31 [INFO] [MultiVerse] - Version 1.6.2 Enabled
    17:19:31 [INFO] [MultiVerse] Found iConomy, enabling payments.
    17:19:31 [INFO] [MultiVerse] Loading World & Settings - 'metropolis' - NORMAL
    17:19:31 [INFO] 1 elevator in world "metropolis" loaded.
    17:19:31 [INFO] [MultiVerse] Loading World & Settings - 'world2' - NORMAL
    17:19:32 [INFO] 0 elevators in world "world2" loaded.
    17:19:32 [INFO] [MultiVerse] Loading World & Settings - 'world' - NORMAL
    17:19:32 [INFO] [MultiVerse] Loading World & Settings - 'hoelle' - NETHER
    17:19:33 [INFO] 0 elevators in world "hoelle" loaded.
    17:19:33 [INFO] [MultiVerse] 4 - World(s) loaded.
    17:19:33 [INFO] [MultiVerse] Loading Portals
    17:19:33 [INFO] [MultiVerse] 4 - Portal(s) loaded.
    

    Edit #2:
    just edited the Teleporters.dat with a fake-teleporter (there doesn't exist a sign for that teleporter) for the primary world.

    Code:
    #name=world1,x1,y1,z1,world2,x2,y2,z2
    GroundLevel1=world,426,64,768,world,428,70,770
    GroundLevel1=metropolis,426,64,768,metropolis,428,70,770
    Level1Level2=metropolis,426,70,768,metropolis,428,76,770
    Level2Level3=metropolis,426,76,768,metropolis,428,82,770
    Level3Level4=metropolis,426,82,768,metropolis,428,88,770
    Level4Level5=metropolis,426,88,768,metropolis,428,94,770
    Level5Ground=metropolis,426,94,768,metropolis,428,64,770
    and now the server log shows this:
    Code:
    [MinecartManiaTeleport] Successfully loaded 2 teleporter signs

    Edit # 3:
    Now I use the same fake-Teleporters.dat and change the default-world in server.config to "metropolis":
    Code:
    [MinecartManiaTeleport] Successfully loaded 12 teleporter signs
    this might be a hint.
    unfortunately I have to switch the default-world to "world" again
     
  20. Offline

    kroimon

    The problem is, that the teleporters get loaded before the worlds are loaded. I'm currently working on a bugfix that resolves the waypoint worlds once they are needed and not before.
    As my time is limited today, it should be online tomorrow.
    Thanks for your bug report! :)
     
  21. Offline

    Arnulf222

    you are welcome... :) thanks for your plugin ;)

    another hint:
    I added a new teleporter ingame and the fake-teleporter is deleted out of the teleproter.dat-file
     
  22. Just something to try - In order to change the loading order of your plugins, bukkit loads plugins alphabetically - if you change the name in your plugins folder for 'muiltiverse.jar' to 'gmultiverse.jar' it should now load before this plugin, thus your worlds will be loaded in before this plugin.
    There is an odd plugin that doesn't like being renamed - but on the whole, I've had success with all of those I've tried in order to get things working ........ anyway, no harm in trying - you could always rename it back the way it was if it doesn't work. The reason I'm suggesting a 'g' at the beginning is that I notice your permissions plugin loads early on, but elevators loads after permissions, so anything after 'e' but before 'm' should work .......... if you get my drift. Why ? Multiverse requires permissions to work - if it doesn't find permissions loaded, it disables itself.
     
  23. Offline

    Arnulf222

    thx I'll give it a try. This evening.
    I think, I have to rename the corresponding folder of the plugin data too?
     
  24. Not necessarily ! ......... try without changing the folder name first ..... I don't use Multi-Verse, or I'd be able to assist further .........
     
  25. Offline

    Arnulf222

    since MC 1.5 was just released, I better wait a few days before testing :)
     
  26. Offline

    kroimon

    Right - that's the reason I'm not releasing a bugfixed version since I want to test it with 1.5 before :)
    I already fixed it and it should work, but I can't verify it at the moment ;-)
     
  27. Offline

    Niteaw

    Hello,
    I have trouble with this plugin I installed the plugin Minecart Mania Core
    I put a panel and I put on the front line:
    Cart Teleport
    first

    But it does nothing when I right click.
    However the plugin is activated when I do / plugins I see green.

    What to do?
    Thank you in advance, I Bukki of 1.4 (out April 1)
    Sorry for my bad English, I'm French and I use a translator.


     
  28. Offline

    kroimon

    I have a new version ready but had no time to test it yet, so I will post it here and ask you to test it for me ;) I will update the first post once someone confirmed it working :cool:

    Version 1.2.0
    [Download]

    What's new:
    • Load worlds only once they are actually needed - should fix the multi-world problems regarding plugin load-order.
    • 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
    • Some internal fixes and changes.
    Todo:
    • Minecart type specific permissions (e.g. storage minecart only signs etc.)

    Sorry, but I have no idea what's wrong as long as there is no error message or anything...

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

    eRko16

    Please make update for CB714
     
  30. Offline

    kroimon

    Could you please try 1.2.0 from my post above? -.-
     
  31. Offline

    eRko16

    Not work.
     

Share This Page