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

    cppchriscpp

    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.

    [​IMG]

    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:
    Code:
    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.
    [​IMG]
    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:
    1.5_1
    - Fixed a small world loading issue. If you ever had issues with multiworld worlds not loading right, this build is for you!

    1.5
    - 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.

    1.4_3
    - Cooldown time is now variable. The config option is "cooldown" and the default has been changed to 8.
    1.4_2
    - 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.
    1.4_1
    - Permissions fix because I goofed up something minor. If you don't use permissions, don't worry about this one.
    1.4
    - Fix for portals not always triggering in recent versions.
    - /portal info now shows info about nearby portals, or those named. (Permission node: travelportals.command.info)
    - /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.
    1.3_2
    - onCommand fix.
    1.3_1
    - 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.)
    1.3
    - 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.


    Download:
    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.

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

    WolvesSoulZ

    Can't seem to make more than one portal, no error. Made one, the second or third one never worked.

    Using Craftbukkit 531, permissions, being op with all perms, and this 1.4_2.

    Any help?
     
  3. Offline

    cppchriscpp

     
  4. Offline

    davr

    In a previous version, the portals would often not activate, taking many times going in and out before you'd teleport. You seemed to have fixed that now...except you fixed it a little too well, now it triggers too much instead of not enough.

    Often I'll go into a portal, warp to the other world, and then when i hit W to walk forward and leave the portal, it activates again and returns me back to the first world. Making it impossible to leave the portal on the destination side, without being re-warped back to the source portal.

    It's almost as if it's treating the block in front of the portal as the portal itself, so when I leave the portal, it thinks I've just stepped into the portal and activates it? Just wild guesses here.

    Version infos:
    17:54:33 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-g6c6c30a-b556jnks (MC: 1.3)
    17:28:15 [INFO] TravelPortals version 1.42 is enabled!
    java version "1.6.0_20"
    Linux a010 2.6.32-29-server #58-Ubuntu SMP Fri Feb 11 21:06:51 UTC 2011 x86_64 GNU/Linux
     
  5. Offline

    cppchriscpp

    Get out of the portal faster. Seriously. >_>

    You have 5 seconds before the portal reactivates again; if you aren't out fast enough, you warp again. If this is not enough, get back to me. This should really already be a configuration option, but I haven't added it in yet. The next version will have it; I'll make a special release for this if someone needs it however.

    Edit: It's coded - I don't want to take the time to put together another build tonight unless someone really wants it. So if you really want it, let me know.

    Oh, and the block in front of it won't activate -- it's just the block inside. All movement is caught by the only hook I'm able to use for movement, including that within blocks. This is why you're experiencing this behavior.
     
  6. Offline

    davr

    Ok yeah, sometimes it takes more than 5 seconds for the world to load and me to be able to get out (due to the bukkit/minecraft bug where it loads chunks in the wrong order, further away ones before nearby ones, so i'm stuck jittering in the air and can't walk out).

    Speculation: What if for each player you stored the integer block position since last time your hook fired? Then in your hook, only check for active portals if the block position has changed. This would have two effects: 1) less time spent checking if you're in a portal and 2) wont re-activate the portal until I leave and enter it.
     
  7. Offline

    cppchriscpp

    I had something like that; bukkit kept breaking it. It seems to like changing which block the user is on without said user moving. This way at least continues to work.
     
  8. Offline

    davr

    Hmm...maybe you could do it based on the door opening and closing? Don't let the portal activate unless the door has been closed and then re-opened? I could throw a pressure plate in front of it to make it auto-close after someone uses the portal. Though in the short term, allowing me to up the timeout to 10 or 15 seconds would probably solve it 99% of the time.
     
  9. Offline

    cppchriscpp

    Pending the world making my life more difficult, I'll try to get a build with that out tomorrow.

    Edit: New version's out. One new variable added to the config; cooldown.
     
  10. Offline

    Bilkokuya

    Just posting to say thanks for making this - it's really great fun and the fact that you can easily edit portals without re-making them is a definite plus.
     
  11. Offline

    cppchriscpp

    Updated for the newest changed function names. I didn't even bother changing the version number. I'm putting a link to the 556 version alongside the post-556 version.
     
  12. Offline

    Fireside

    Hey cppchriscpp. I swear I made a reply to your answer a page or so ago, but must have failed to hit the post button as I can't find it lol. So I owe you a big thank you for the changes you have implemented.

    Running on CB556 here and everything is working great. I mainly came to post today that I've found a couple of alternatives to water filled gates. Normal torches work fine, but are easily knocked off by accident. Then I discovered that signs (wallsign block 68), even though they fall off upon gate creation, they can be manually reapplied to the back wall of the gate and full functionality is achieved. Furthermore just one sign on the lower block is sufficient.

    Anyway, hope thats not old news. I know my players will be happy with non drowning portals.. Particularily as some of the gates run lockable metal doors :D

    Thanks again.
     
  13. Offline

    I WIKE PANDAS63

    i seriously dont know how to make the portal
     
  14. Offline

    Skrip037

    What bukkit build should we use?
     
  15. Offline

    cppchriscpp

    Well, it's explained in the first post and a good few more here, but if that's still unclear, a user here made a video showing it that's pretty helpful. This should be in the first post, but for some reason is not.
    http://www.youtube.com/watch?v=8H4JjwDvLMU

    The latest recommended with the one labelled for use with that build. (556 unless a new build has already been promoted.)
    Actually from the look of the most recent commits on bukkit, use 556. It looks like there's probably more breakage beyond 568..
     
  16. Offline

    27ace27

    How does one convert the .ser file to the new .txt format?
     
  17. Offline

    CullenShane

    From the first post:

    /portal export dumps the current portals to travelportals.txt

    *thumbsup*
     
  18. Offline

    Skrip037

    Can you please post a link to the correct build? I just can't seem to get the correct one.
    http://ci.bukkit.org/job/dev-CraftBukkit/556/
    [​IMG]
    Plugin list:
    [​IMG]

    Java and everything else seems up to date.
    Windows 7x64
     
  19. Offline

    cppchriscpp

    That kiiinda looks like you're using the build of this meant for bukkit builds beyond 556 - try downloading again paying special attention to which one you're grabbing.

     
  20. Offline

    Jake Radcliff

    Can you make it work between worlds?
     
  21. Offline

    cppchriscpp

    It has for literally months. This is stated in the first post and in at least 10 posts since then.
     
  22. Offline

    Jake Radcliff

    right... thanks for your help
     
  23. Offline

    PopeUrban

    You know chris, I love TravelPortals SO much that I'm holding off on 600 until you're done.

    Just for you.
     
  24. Offline

    cppchriscpp

    We're good! There are a few updates to the actual plugin as well. Users won't notice much, but the code is much cleaner and I finally moved some files where they belong. Please let me know if you have any issues with the new build. This WILL work with 1.4, unlike many plugins that I would very much like to have work with 1.4.
     
  25. Offline

    Windwaker

    This plugin doesnt seem to load as of RB 617
     
  26. Offline

    cppchriscpp

    Working fine here - try redownloading both the plugin and the server. If that fails, please actually provide the details I ask from bug reports.
     
  27. Offline

    Fireside

    One of my mods made a discovery today. When using signs instead of water for the portal material. Breaking the block below the door leaves the portal in working order. This remains functional after server restart and seems quite happy.
     
  28. Offline

    phobos2deimos

    This plugin is perfect, THANK YOU!
     
  29. Offline

    Kevin Forte

    I've got a bug on CB 612 where I can't actually leave the portals; every time I move within the portal, I simply am teleported again (as opposed to being able to step out). I eventually just give up and use /spawn to escape.
     
  30. Offline

    Mitch C

    does this plugin work with the new minecraft update (V Beta 1.4)?
     
  31. Offline

    cppchriscpp

    Up the timeout.

    Yes; please read better next time. Or you could just try testing it.
     

Share This Page