Inactive [TP] TravelPortals 2.2.4 [1.2 betas, etc... see bukkitdev]

Discussion in 'Inactive/Unsupported Plugins' started by cppchriscpp, Jan 17, 2011.

  1. Offline


    Current version: 2.2.4

    This project is moving to BukkitDev! Go here!
    The information on this post is no longer being maintained. This topic is here for historical reference. I would strongly prefer if BukkitDev were used over this, so that I can keep communication all in one place.

    2.2 brings a few new features and a ton of bug fixes. Most tickets that were open against the plugin are now closed with this release. Check it out over at BukkitDev!

    So, I was thinking the other day about how long it takes to travel from place to place. I figured that portals to the nether would be pretty cool when they work, (oh hey now they do) but I wanted a quick way to get anywhere. /warp works, but that is just too easy for users. As such, I decided to write my own plugin to do this. One day later, enter TravelPortals.


    They're fairly simple to use, though I will admit that I would like a more intuitive interface than using commands. Portals are 3x3, and consist of 6 pieces of obsidian, a door, and a redstone torch for the center. From above, the portal looks like this:
    n o n
    o R o
    n D n
    o is a stack of two obsidian blocks, D is a door, and R is a redstone torch. n can be any block or air. It does not matter. After you have constructed the frame, place a redstone torch at the bottom. It should tell you that you have created a portal, and fill up with water.
    Just add a redstone torch!

    After this, just give the portal a name, and give it the name of another portal for the destination and you're set. As long as the destination portal exists, walking into it will take you straight there. For help in-game, type /portal help.

    Yes, this does work across multiple worlds.

    Using /portal help will list all of the commands in game. The important commands are /portal name, /portal warp, /portal list, and /portal hide.

    Here is a video explaining exactly how to make them, provided by MinecraftZero.

    Old Change Log (open)

    New changes will be shown on the BukkitDev project. This is no longer maintained.
    Recent Changes:
    - Fixed a small world loading issue. If you ever had issues with multiworld worlds not loading right, this build is for you!

    - moved TravelPortals.ser to the data folder (finally)
    - also moved travelportals.txt to data folder
    - more intuitive backup system that should remedy any problems with saves
    -- new configuration variable; lets you define how many backups of the portals to keep. This should make recovery easy if anything ever goes wrong.
    - lots of code fixes - if anyone saw all of the misuse of static in the plugin, it's fixed!
    - A minor typo that may not have even been in a released version of the plugin
    - Gives a user feedback when just using /portal.
    Note: Another build may be released in the coming days, but it will have no new functional updates. I just want to work on the documentation a bit; getting a functional release out seemed more important than this.

    - Cooldown time is now variable. The config option is "cooldown" and the default has been changed to 8.
    - Made hidden portal destinations show up as such.
    - Fixed a small issue with the included config file. Replace or repair yours if you want both door types to work right. The second instance of door needs to be door2.
    - Permissions fix because I goofed up something minor. If you don't use permissions, don't worry about this one.
    - Fix for portals not always triggering in recent versions.
    - /portal info now shows info about nearby portals, or those named. (Permission node:
    - /portal deactivate [name] will deactivate a portal given its name. The physical portal will be untouched, but all data related to it will be deleted. This is op only without permissions, and should only be used for cleanup. (Permission node: travelportals.command.deactivate)
    - /portal export Will export all portals to a text file. The format is: x,y,z,name,destination. There is a new configuration option that will automate this process whenever a portal is made or destroyed.
    - /portal list is now paginated and shows portal destinations. This looks indescribably better than the old version.
    - Support for metal doors is now on by default. There is now a second configuration option for doors - both block types can be used to make a portal. If you do not want this functionality, set the second door type to be the same as your first door type, as laid out in the comments in the new configuration file.
    - Minor changes to the save system; whenever TravelPortals.ser is saved, the older version is moved to TravelPortals_ser.bak, and the new one takes its place. This might help with the random deletions one user referred to. There is also more debugging information available if something happens to go wrong.
    - Migration to the BLOCK_DESTROY hook; I figured this would trigger when a block was destroyed by anything. WRONG. It is more optimal than the alternative, however.
    - Various bug fixes, code cleanup, and user output cleanup.
    - onCommand fix.
    - Block damage fix. (To developers wondering, org.bukkit.block.BlockDamageLevel.BROKEN has become org.bukkit.block.BlockDamageLevel.STOPPED. Your code will compile fine but blocks will not break right.)
    - Configuration file support! (plugins/TravelPortals/config.yml)
    -- Customize the types of blocks used to construct the portal
    - Permissions support (Thanks to Cecer)
    - Minor bug fixes.
    1.2 (and its derivatives)
    - Multiworld support!
    - Various bug fixes.

    Latest Version: Download

    If you want help with this plugin, please provide the following information about your server setup. It will help me figure out what is wrong, and what you or I can do about it. Your failure to include this information in support requests may result in your post being ignored.

    Help Requests (open)

    I receive a good amount of requests for support with this plugin. Some of them are better than others; if you do not want to be part of the second category, I will need some information about your server, and how it is set up. Simply telling me "it doesn't work" does not tell me anything. I run the most recent version of this on my own server with around 60 users; I'm pretty sure it is capable of working in at least some settings.

    Please provide as much of this information as you can reasonably find. If I detail how to get it, I want you to do that!
    - an EXTREMELY detailed description of the problem (Don't spare any words; I don't mind reading)
    - Any errors shown in the console
    - Any errors shown to the client
    - All of the information from /debug info and /plugins
    - Server's CraftBukkit build (go to the console and type /version; provide that.)
    - Any changes in your setup that preceeded the errors
    - Any other details that could be relevant.

    Source code is in the dev.bukkit git repository!

    Please report any bugs via email, or here.

    vrox, kahlilnc, Wind and 2 others like this.
  2. Offline


    I give you all my encouragement to keep this updated! Best plugin in the history of plugins!
  3. Offline


    It doesn't seem to want to work?

    an EXTREMELY detailed description of the problem: I cant run any of the plugin commands
    Any errors shown in the console:below
    Any errors shown to the client: An error occured while attempting to perform this command
    All of the information from /debug info: Don't have debug command?
    and /plugins: Just TravelPortals
    Server's CraftBukkit build : git-Bukkit-0.0.0-729-g5ee3f0f-b766jnks (MC: 1.5_02)
    Any changes in your setup that preceeded the errors: Cant get it to work at all
    Any other details that could be relevant: Windows 7 64bit

    I believe the issue is here:
    [INFO] Could not save TravelPortals data!
    [INFO] Cannot save backups!
    2011-05-21 11:41:10 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-21 11:41:10 [INFO] Loading properties
    2011-05-21 11:41:10 [INFO] Starting Minecraft server on *:25565
    2011-05-21 11:41:10 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-05-21 11:41:10 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-05-21 11:41:10 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-05-21 11:41:10 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-751-g45fecad-b798jnks (MC: 1.5_02)
    2011-05-21 11:41:10 [INFO] Preparing level "main"
    2011-05-21 11:41:10 [INFO] Preparing start region
    2011-05-21 11:41:11 [INFO] Could not load the configuration file! Using default values.
    2011-05-21 11:41:11 [INFO] Could not load TravelPortals location file!
    2011-05-21 11:41:11 [INFO] TravelPortals version 1.5 is enabled!
    2011-05-21 11:41:11 [INFO] Done (0.074s)! For help, type "help" or "?"
    2011-05-21 11:41:12 [INFO] Qcrist [/] logged in with entity id 109 at (-297.5, 65.62000000476837, -137.5)
    2011-05-21 11:41:26 [INFO] Could not save TravelPortals data!
    2011-05-21 11:41:26 [INFO] Cannot save backups!
    2011-05-21 11:41:26 [SEVERE] Could not pass event BLOCK_PLACE to TravelPortals
        at com.bukkit.cppchriscpp.TravelPortals.TravelPortals.doBackup(
        at com.bukkit.cppchriscpp.TravelPortals.TravelPortals.savedata(
        at com.bukkit.cppchriscpp.TravelPortals.TravelPortals.savedata(
        at com.bukkit.cppchriscpp.TravelPortals.TravelPortalsBlockListener.onBlockPlace(
        at org.bukkit.plugin.RegisteredListener.callEvent(
        at org.bukkit.plugin.SimplePluginManager.callEvent(
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(
        at net.minecraft.server.ItemBlock.a(
        at net.minecraft.server.ItemStack.placeItem(
        at net.minecraft.server.ItemInWorldManager.interact(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(
    2011-05-21 11:41:29 [INFO] Could not save TravelPortals data!
    2011-05-21 11:41:29 [INFO] Cannot save backups!
    2011-05-21 11:41:29 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'portal' in plugin TravelPortals v1.5
        at org.bukkit.command.PluginCommand.execute(
        at org.bukkit.command.SimpleCommandMap.dispatch(
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
        at net.minecraft.server.NetServerHandler.handleCommand(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.Packet3Chat.a(
        at net.minecraft.server.NetworkManager.a(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.NullPointerException
        at com.bukkit.cppchriscpp.TravelPortals.TravelPortals.doBackup(
        at com.bukkit.cppchriscpp.TravelPortals.TravelPortals.savedata(
        at com.bukkit.cppchriscpp.TravelPortals.TravelPortals.savedata(
        at com.bukkit.cppchriscpp.TravelPortals.TravelPortalsPlayerListener.onPlayerCommand(
        at com.bukkit.cppchriscpp.TravelPortals.TravelPortals.onCommand(
        at org.bukkit.command.PluginCommand.execute(
        ... 12 more
  4. Offline


    Yeah, that would likely be the problem. The question is why that's happening. The other question is why the plugin is still attempting to run after those fatal errors. It should just stop the plugin from loading. That I'll address later, but working on your problem is of a higher priority.

    First question: did you actually install the configuration file and associated folder when you installed the plugin? If not, you need that. In your Minecraft/plugins directory, you should have:
    - TravelPortals.jar
    - TravelPortals (directory)
    - TravelPortals/config.yml

    If these are not all there, you need to put them there. This plugin does not automatically generate this stuff if it's not included.

    Also, the config stuff needs to be in the plugins folder, NOT the main folder. I normally wouldn't go over this, but seeing as this is the only plugin you are running, it seems like a possible source of issues.

    This seems like the most likely cause of the problems you've had. If this is not the case, let me know and I can look more into detail at what's going wrong.

    Additionally, I'll be modifying the plugin slightly to check for the data directory so it gives a more obvious error than what you've seen. I hope this solves your problem!
  5. Offline


    i have 1 question how do u make the portals go to other maps?
    i realy need help so plz help me :)
  6. Offline


    You make a portal in one world, give it a name and destination, then make a portal in the other world, and give it a name and destination. There's no difference between using it in one world vs. using it between multiple. You'll need another way to get to that other world to put the first portal there, if you don't have one.
  7. Offline


    HOLY SH*T this is amazing. And at least for me it works perfectly.
  8. Offline


    The plugin worked after re-downloading it. Thanks for the awesome plugin.
  9. Offline


    this plugin sucks , ever time i go through a portal it makes me drop into the void and die, plus i cant update it, i download the .zip and drag it into the plugins folder and it wont update it
  10. Offline


    For the first part that's a sign of your server being extremely underpowered. That will happen with ANY plugin that teleports you over long distances.

    For the second part, I have no idea what's going on. No one else has complained about that, but it sounds kind of like you don't know how to update a plugin. You actually have to stop the server, if you're not. You also actually have to unzip the files using a program, if you are not. I've heard absolutely no complaints about updating otherwise.

    If you can provide more information about what you are doing, I can try to assist you further in updating the plugin. As for the issue with the dropping into the void, there is nothing I can do for you. It's most likely an issue with RAM, I'd guess. That's the thing Minecraft taxes the most. It could also be your connection to the server, theoretically.

    I'm sorry that you are unsatisfied with the plugin, but the issues you are experiencing are not normal behavior by any stretch.
  11. Offline


    XD.... this plugin is awesome!! Love it _-_ and the bad teleportation it's fixed if you disconect and conect.
  12. Offline


    Hey guys I just tested real nether; it works as-is! No need to update this to get portals to work in the real nether.
  13. Offline


    So i found another plugin that i think would work great with this one.
    This plugin would allow the player to choose which portal they want to warp to.
    On my server, we just type "/portal warp destination" every time we want to travel. The scrolling sign function would be great to eliminate the need for this command.
    The only issue that I see is that you need to be very close to the portal to change its warp location. Could you add a config option to allow standing a few blocks in front of the portal so someone could put one of these signs on the portal and use it that way?
    or if you wanted to incorporate this as a feature of your plugin that would be cool.

    If this doesn't make sense, let me know and I'll clarify.

  14. Offline


    1) I am not adding features that involve other plugins.
    2) I am not making signs work with this; it is too clunky.
    3) Your method falls apart when you have a bunch of portals in the same room, much like is set up in various places on my server. They're really not meant to be used that way, anyway. The idea is to make two portals that can be traveled between, and leave them that way. Changing the destination every time is clunky because it's not the intended use of the plugin.

    Sorry, but I will not be implementing anything like this. The source is always available, of course.
  15. Offline


    Yea, I figured that was the intended use of the plugin. We just like being able to go between each portal since obsidian is really annoying to mine.
    Thanks for the quick response, I'll probably see if i can still get the plugins to work together anyway. They should since the sign plugin just executes a command. Just have to find a place to put the sign so you can see it from the portal.
  16. Offline


    You might want to change

    To something else :p
  17. Offline


    I Would like to know if you can use it to warp from one world to another?

    Please respond asap,thanks
  18. Offline


    Yes, it does. This has been stated time and time again. It has since version 1.2 quite some time ago. I did modify the first post to make this even more clear since my previous attempts seem to have failed.

    If I see another post in the largest font possible in bright red I will simply not be responding to it. This did not get you a faster response and in fact slowed me down a little due to annoyance.
  19. Offline


    sorry lol just needed a response cause we are having trouble with plugins to do this and thank-you for the quick response :)
  20. Offline


    You could have gotten a quicker answer by reading the entire first post, or if you didn't notice the information there (it admittedly wasn't as noticeable before) you could have read a page or two of the short posts in the thread. That question has been asked at least 5 or 6 times before. I'd think that would be the first method of attack if it was really that urgent and could not wait. Why wait on a person that could respond in a time frame between one minute and one week?

    At any rate, you apologized, so I won't harp on it. I hope the plugin meets your needs; I'm around for more support if you need it. Thanks for trying it.
  21. Offline


    So first, thank you for this plugin. I agree completely that /warp commands are just too easy. This has brought a new level of socialness to our server because people are always coming and going through our Grand Portal Station. I would sooner close my server then go without it. So thank you thank you thank you!.

    Second, my question. We started using TP in a small room but we were having soo many issues where people were falling through the environment and getting stuck between warps and dying so we made the Grand Portal Station in a much more spacious area with more solid ground beneath it and it ran beautifully through 1.5. Fast forward to today. I have updated to the experimental Bukkit build so my players could finally taste 1.6 and everything seems okay except our portals are not working. We're falling through environments, getting stuck between worlds, and all kinds of other goodness. Any idea what the deal is? Is there a fix? Will a more stable Bukkit build fix it? Any advice?

    Thanks again so much!

    (Lol, sorry, couldn't resist!)

    PS - Also if you'd like to just SEE it I can add you to our whitelist. I just need a name to add.
  22. Offline


    The falling through the world thing is due to an underpowered server combined with the extra-slow recent builds. It doesn't happen on most servers. This is only from experience, of course.

    Do you experience delayed/slow loading of chunks when you're exploring when compared to other servers? If so this is definitely the cause, and there is nothing I can do as a plugin developer to fix it. The server doesn't send the clients the chunks that they are in fast enough and they just kind of float there until the chunks load.

    If not, I'm kind of in the dark.

    Hope this helps some.

    Edit: if build 816 helps chunk loading speed it might help you; just a thought.
  23. Offline


    Darn I was afraid that's what you were going to say. 816 didn't help either. It just sucks because it worked great for the past month on 1.5. It's just 1.6 that's been garbage :(
  24. Offline


    This plugin does not function properly on Bukkit b818 for 1.6(.6)

    When walking through a portal, it still teleports you, but then promptly gives you a "respawning" message, and puts you back at the entrance to the first portal, often ending in an endless loop of death.

    Any fix would be appreciated =)

    EDIT: Strike that, it was a problem with MultiVerse
  25. Offline


    Not working fine as in 818 because when you go to travelportal yes it works but when u try go back nothing happens!!! (everything worked fine in 803)
  26. Offline


    Can not recreate. Did you try waiting a few more seconds? As has always been true with this version and a few versions back, portals deactivate for a time after you use them. I believe the default is 15 seconds, but this is user-configurable, so check if you changed it in config.yml.

    If that's not it, please provide some of the information I ask of bug reports.
  27. Offline


    (fixed) problem was multiverse
  28. Offline


    Ahh, okay. I think I'm gonna put a little notice in the first post saying it and multiverse don't exactly get along; you're the second or third person with that problem. Could you potentially tell me what went wrong/how you fixed it? I'm assuming you didn't just disable multiverse, but I could be wrong.
  29. Offline


    my multiverse was outdated...
  30. Offline


    Ah, okay. Still helpful info; thanks!
  31. Offline


    Is there a way to delete a portal manually? I have several "ghost" portals that have been demolished, but walking over the location still activates the portal.

Share This Page