[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

    hofec

    Thank you man .. i try hope :D [diamond]
     
  3. Offline

    Kevin C.


    Nope, Afforess passed on it, saying it had more to do with teleport. The actual minecart reproduction isn't the problem of most concern, the chest absorption is.

    Are you saying you can't reproduce the chest not absorbing the minecart, or the problem of the infinite spawning? The spawning part was fixed by a setting in MM to not drop destroyed minecarts, but i still can't get the chest to pick it up on the other side of a cart teleport. At first I thought it was a multiverse issue, but the video i posted shows it on the same map (even though multiverse is loaded).
     
  4. Offline

    treve

    hello, very nice plugin btw, and i didnt read posts above, but it seems i am in an other cart when i teleport? i start on cart id 160 000 and finish after some teleports on route, i finish my route in cart 160 050. this destroyes whole my transportation network lol. any chance a fix is possible?
     
  5. Offline

    murdrums

    @kroimon

    I don't know whether or not this is possible to add, but one thing I would LOVE to see is being able to make multiple teleports to 1 destination. Example:

    Player 1 creates a small minecart teleport to the Spawn area.
    Player 2 creates a house far away and creates a minecart teleport to Spawn area, linking up to the spawn area minecart sign teleport.
    Player 3 creates a house far away and creates a minecart teleport to Spawn area, linking up to the spawn area minecart sign teleport.
    Player 4 creates a house far away and creates a minecart teleport to Spawn area, linking up to the spawn area minecart sign teleport.

    The only problem I can see with this is the single teleport, it wouldn't know which one to go back too, so many only make it one way?

    Great plugin.
     
  6. Offline

    kroimon

    I couldn't reproduce both when I tried last time. I don't know what could cause this, sorry...

    Yepp, as I already explained to you via PM, it's part of the teleportation. The old cart gets destroyed and a new cart spawns at the destination.

    Hmm that would require some massive internal restructuring. I currently don't have the time to do that, but I'll add it to the wishlist :)
     
  7. Offline

    murdrums

    Hopefully you have time in the future as it would be a great add, thank you for adding it to the wishlist!

    I know nothing about Java coding but instead of reconstructing the whole plugin, could you not add it so the third line of the sign, the player can write "One way" on it or something, and it means the cart cannot go back, but allows the carts to still teleport to it. Just an idea, like I said, I have no idea on coding.
     
  8. Offline

    DaddyCool64

    The new cart don't spawn if there is no player in range.
    This is a big problem for me, because we have a complex transport system.
    Player 1 at point A send a cart -> teleport 1 -> telport 2 -> chest 1, collect some items (point B) -> teleport 3 -> teleport 4 -> chest 2, collect rest of items (needed by Player 2) -> chest 3, deposit items (not needed by Player 2) -> return -> teleport 4 -> teleport 3 -> chest 1, collect items -> teleport 2 -> teleport 1 -> point A.
    Player 3 at point C send a cart -> teleport 5 -> teleport 6 -> chest 1, deposit all items (point B) -> return -> teleport 6 -> teleport 5 -> point C.

    If at point B is no player, it don't work.
     
  9. Offline

    treve

    Well, its done!!!!
    thanks alot for this amazing plugin! i did use redstone chips and my brains :) and i got a player id scanner chip from some1 else. so my router is done!
    example: player 1 is at station 1: he enters in text aiming at blue blocks (i22): /rctype 6 ==> player 1 wants to go to station number 6. when that is done, a cart is spawn auto and will suck the player into the cart. the player will be scanned for player id, and the destination will be stored for that player, while he is getting teleported to the router input (cart collector) wich will route any cart to 1 track. ==> this track will teleport all carts to the router middle, wich is a holding cell for up to 7 carts (and more in looping) the exits go to an other player id scanner that will load the stored destination for the player that passed it, if some 1 passed it, all other carts will be forced to go to a holding cell for up to 30 seconds, then the cells will be released again one by one, untill some 1 else passes the player id. empty carts will be destroyed, although that is not needed, because it should arrive empty at station exit and getting collected again at the last used station's chest
    i welcome everyone to nala's server @ nala.dyndns.info.

    btw: is this plugin multiworld ?
     
  10. Offline

    Plague

    NEVER use a plus sign in a CB version, keep the thread updated for latest RB
     
  11. Offline

    treve

    a request to the maker, or to the anyone that would be able to make it. the plugin redstonecircuits is able to send and receive data using ip transmitters and receivers. this way, you can send data from 1 server to an other etc.
    my question is, can the same thing be done with minecarts? ipteleportals... like this:
    [cart teleport]
    "name"
    "ip or dyndns"
    "port"

    ok, this is a movie i made yesterday, it will show a short demo of the router / cart transportation system



    come test it out youreself at nala.dyndns.info

    to plugin maker, first of all: thanks alot, without youre plugin, i would have to build all the tracks to each station. incoming and outgoing :(
    second: could it be possible that this plugin requests alot of resources? the used server ram is skyhigh... not sure what plugin that is causing it, but any way cart teleport could be made less heavy in the future?
    thirth: i know its impossible right now, but i still look forward to cart teleport to any server one day

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

    Plague

    inactive then
     
  13. Offline

    kroimon

    Sorry, forgot to update the compatibility info. Just did a small update and ensured it is still working :)
     
  14. Offline

    Sparky222B

    Does this support multiworld teleportations (as in, across two different worlds)?
     
  15. Offline

    mrboese

    No. It's not working with multiworld.
    The cart will not disappear and in the other world, the newly spawned cart will stuck in the sign.
    If you're in the cart, you will be ported correctly to the world, but spawned outside of the cart.
     
  16. Offline

    Gicon

    agreed, multiworld not working for me either with latest. :/ boo hiss.. everything else i've tried isn't working either. :/
     
  17. hey Kroimon, first off awesome plugin and second i keep getting this one error,

    everything works when in one world but the moment we try and make it go multiworld with a player in the same chunk as the signs so i know its loaded we get the following errors in the console

    now i noticed that other people above my post have said this too but i think the Console log would help.

    we are running Craftbukkit build #1000 and the latest Minecart Mania and your teleporting plugin

    Code:
    21:34:42 [SEVERE] Could not pass event CUSTOM_EVENT to MinecartManiaTeleport
    java.lang.NoSuchMethodError: org.bukkit.World.spawnStorageMinecart(Lorg/bukkit/L
    ocation;)Lorg/bukkit/entity/StorageMinecart;
            at com.afforess.minecartmaniacore.minecart.MinecartManiaMinecart.telepor
    t(MinecartManiaMinecart.java:255)
            at net.sradonia.bukkit.minecartmania.teleport.MinecartActionListener.tel
    eportMinecart(MinecartActionListener.java:93)
            at net.sradonia.bukkit.minecartmania.teleport.MinecartActionListener.onM
    inecartActionEvent(MinecartActionListener.java:63)
            at com.afforess.minecartmaniacore.event.MinecartManiaListener.onCustomEv
    ent(MinecartManiaListener.java:230)
            at org.bukkit.plugin.java.JavaPluginLoader$87.execute(JavaPluginLoader.j
    ava:855)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at com.afforess.minecartmaniacore.MinecartManiaCore.callEvent(MinecartMa
    niaCore.java:251)
            at com.afforess.minecartmaniacore.api.MinecartManiaCoreListener.onVehicl
    eUpdate(MinecartManiaCoreListener.java:90)
            at org.bukkit.plugin.java.JavaPluginLoader$81.execute(JavaPluginLoader.j
    ava:811)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at net.minecraft.server.EntityMinecart.m_(EntityMinecart.java:561)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1198)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1180)
            at net.minecraft.server.World.cleanUp(World.java:1104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    is there anyway to fix this? or are we stuck using a single world and moving all the minerals by hand?

    Installed Plugins:

    Code:
    21:39:54 [INFO] Plugins: ChopTree, Essentials, EssentialsChat, EssentialsGeoIP,
    GroupManager, EssentialsProtect, EssentialsSpawn, iConomy, iConomyChestShop, Laz
    yRoad, LCCombat, LCDefence, LCDexterity, LCExcavation, LCExplosives, LCFarming,
    LCForgery, LCMining, LCScavenger, LCWoodCutting, LevelCraftCore, Lockette, MCTel
    net, MinecartManiaCore, MinecartManiaTeleport, MultiVerse, WorldEdit, Permission
    s, Jobs, WormholeXTreme
     
  18. Offline

    kroimon

    Sorry, I currently have no time to maintain this plugin (I'm currently not even playing Minecraft, maybe after the 1.8 update), so I'll mark it as inactive.
    If anyone want's to provide bugfixes, please clone my repository on github and send me pull-requests with your changes!
    Sorry for all of you who were using the plugin :-(
     
  19. Offline

    Snosky

    Plugin Ok with Bukkit 1000
     
  20. Offline

    Anthony13

    man, i would so love to have this plugin.. i got so many plugins, it probably more than half wont eork if i used that build....im up to 1368
     

Share This Page