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've been using it since 860 with Permissions 3 and have had no problems.
  3. Offline


    This is a classic case of test it before you believe me. I put that there to prevent complaints that it didn't work with permissions 3. Of course, this just drew in more complaints.. I do not feel much like updating my server for it, since I expect other of my plugins to break, and I REALLY don't have the time to fix it if it does break in any cases. I don't like permissions for it as-is, and this is likely part of why I have not bothered. It has its purposes, and I can even see why you'd want it for this on some servers, but I still don't like using it with this.

    Permissions 3 probably does work, I just am not willing to support issues with it right now, particularly since most issues with permissions and my plugin are issues with users not being able to figure out how to use permissions. If I haven't bothered to learn about the changes, I'm not going to be very good at helping users.
  4. Offline


    Now that I think of it, how exactly would we link two worlds together if we can't get to it without it being linked by a portal?
  5. Offline


    You need a different way to get to the world the first time. This plugin does not provide any facility for doing so; the plugin you're using to generate the world should give you some way to get there initially, though.
  6. Offline


    I'm talking about a pre-generated world, specifically the super hostile canopy carnage world.
  7. Offline


    And my answer remains the same. You need another way to get there initially. This plugin does not and will not provide that.

    Edit: Also what exactly are you referring to? It sounds interesting.
  8. Offline


    It's a world made by Vechs featured in a let's play by the yogscast. Here's the link:☠-vechs-super-hostile-series-☠-00-out/page__hl__super hostile canopy carnage

    Edit: I found another teleportation plugin that I use in conjunction with yours to teleport between worlds.
  9. Offline


    Ah cool; was wondering if I was gonna get a reply. Anyway I hope you were able to find something to get you in. I use general anyway, and that has the command /tele that will teleport any user into any world given in the parameters. If this doesn't fit your needs, there is probably something out there that will. Poke around the forums. Good luck!
  10. Offline


    @cppchriscpp works for 1.7.2 but can you add minecart suppert PLEASE!!!!
  11. Offline


    Good to know, but I don't think minecart support is coming. It'd be a pain to code and there is no demand for it. In addition, it'd probably add a bunch of new bugs I don't have the time to deal with. Sorry.
  12. Offline


    The chunks I'm getting teleported to with 2 of my travelportals don't load, but the chunks around it do. It started with the 1.7 update. I seem to spawn in the correct position, but keep falling because of the missing chunk, and it doesn't get loaded. Really weird. I see in the code you use player.teleport(locy);, so I guess the root cause probably lies somewhere deeper.

    I will test some more to try to find the reason this happens!
  13. Offline


    Okay, this is quite an odd problem really, everyone in my server can use these teleporters absolutely fine. Apart from one person, and I can't seem to figure out why, he just gets stuck in an endless teleport loop, which no one else does. There is nothing different server wise for him than there is anyone else.
    just wondered if you had heard about this before and whether a solution was known?
    Sorry if this has been posted before!
  14. Offline


    thnx great plugin
  15. Offline


    It's the same problem that has happened with every update to Minecraft since ~1.3. The chunks don't load in the right order anymore. The Bukkit developers will get to it within the next month, hopefully. No, there is nothing I can do to fix it.

    Most likely the cause is a slow internet connection or PC. The client doesn't load the chunks fast enough, and thus the player cannot move in time to prevent the timeout. You can always up the amount of time before the portal reactivates for him, but I am not sure if that is ideal for your server. That will be up to you.
  16. Offline


    I'm using BananaChunk to bypass this problem... It allows you to manually request a chunk update whenever you get stuck in an unloaded chunk, but it also automatically requests a chunk update whenever a teleport is called... It simply calls world.refreshChunk onPlayerTeleport. Perhaps you could integrate that so that whenever you teleport someone it refreshes their current chunk?
  17. Offline


    Incorporate? No, that's not happening. Thanks for the idea, though. I can recommend it to people, if it works.
  18. Offline


    I just meant manually calling a chunk update every time you teleport someone, not integrating the whole mod. :)
  19. Offline


    Loaded up the BananaChunk plugin, and the chunk load problem is history!

    Thanks for the great TravelPortal plugin!
  20. Offline


    Please update to #1000 :)
  21. Offline


    Feel free to test it yourself -- I don't think anything should break, as usual. I cannot test it for you right now, and may not be able to for a while. Sorry.
  22. Offline


    works, but i had to install Bananachunk :/
  23. Offline


    Good to hear, and it's not my fault the bukkit devs can't seem to get chunks to load in the right order when you teleport -- sorry for the issue but aside from just requiring bananachunk, there's just nothing for me to do.
  24. Offline


    ok, thanks ;)
  25. Offline


    how do you make it save so when you close the server they stay their?
  26. Offline


    Shut down the server normally. (using the stop command)
  27. When two portals are far from each other or one beneath the ground then smothered it with the teleportation
  28. Offline


    I'd like to help you, but I have no idea what you're trying to ask. Could you try forming that into a coherent English sentence?
  29. When two portals are far apart and I go in the portal than I die (suffocate) or (Under the map).
  30. Offline


    Get out of the portal faster then. Alternatively, if the chunks aren't loading and updating bukkit does not help, bananachunk can help with this. The portals are filled with water, so you will drown if you just stand there for too long.
  31. Offline


    hello ccp, you have truly made a really good plugin and i use it, only i got one problem, when i use this plugin to set the worlds i cant go to the world i specified, it works when it loads the worlds the normal way (though it doensnt seem to remember them after stopping the server and loading another map), but not if i use /worldcreate, can you solve it?

Share This Page