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

    Thatar

    Finally, FINALLY. This is what I've been looking for for weeks now... All those stupid overcomplicated plugins, you keep it Minecraft styled! Ok ok, I'm being a bit harsh here, all the other Plugin Developers are great too. It's just that Multiplay and Permissions don't go together too well :\

    Thanks!
     
  3. Offline

    michael05242002

    It's a really cool plugin which is simple to use!
    Just a few plausible suggestion:
    When you 'teleport' by portal, chunk must be loaded within 1-3seconds.
    It is better if you make a screen fade in/out. When your screen is fading(black screen), actually the chunk is loading !
    And it works more like a portal and players do not need to see that unpleasant shaky scene, isn't it?
    Hope it helps:D
     
  4. Offline

    cppchriscpp

    That would require a client mod. Not going to happen. There is no way for me to plausibly implement any of the things you suggested, sorry.
     
  5. Offline

    cppchriscpp

    Since there were no breaking changes other than the name thing, yes.

    You'd have gotten much faster results if you'd just taken the one minute it takes to download it and try it, however.
     
  6. Well, I really wasn't in much of a rush. And I like to have everything working at the same time, so I was just asking. Sheesh.
     
  7. Offline

    swedish2011

    [​IMG][​IMG][​IMG][​IMG][​IMG]

    502 portal. red = offline Green = online

    <333 portal

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

    Phase

    Can you add a method to prevent other players from changing someones portal name/warpto name?

    As a suggestion for my above suggestion, I thought about something like /portal lock would only let the person who locked it modify the name/warp values, or anyone with, say, travelportals.admin.

    You would be able to unlock the portal and allow anyone to modify the name with /portal unlock, etc.

    I love the compactness of this plugin (WormHole's portals are too big, and Stargate has the loud portal sounds), but I need a way to make it so people can stop others from modifying their portals before I can use it.

    Regardless of whether or not you add my suggestion (I hope you do!) this is a pretty sweet plugin. :)
     
  9. Offline

    cppchriscpp

    While locking portals to players has been a planned feature, I have not yet had the time to do it out. With my current time constraints in terms of other obligations, I do not expect to be able to implement this at any time in the near future. I had intended some sort of automatic system with a config option to enable it, but your idea might work better.

    The problem is that currently, I do not store the player that created the portal. Storing this will require reworking quite a few things, and a lot of testing. Plus, there are a few other features that would come with such storage.

    At some point I would like to implement this, however I do not see it happening as soon as most people would probably like. Sorry.
     
  10. Offline

    Phase

    Thanks for your quick response. I'll keep my eye on this plugin for sure, though.

    Good luck with it :)
     
  11. Offline

    xGhOsTkiLLeRx

    Hey,

    can anyone tell me how to use this with nether and multiworlds?!
    I got 3 maps: 1,2 & nether!

    Greets
     
  12. Offline

    cppchriscpp

    Uh, just... use it? Make a portal in one world, give it a name and destination, make another portal in another world, point it at the first one.. etc.
     
  13. Offline

    xGhOsTkiLLeRx

    Yes I did this, but it doesn't work...

    I created a portal (named 1) in world 1
    I set the destination to portal 2

    I restarted the sever with world 2
    I created a portal (named 2) in world 2
    I set the destination to portal 1

    But if I go in the portal, I get teleported to the coordinates from the other portal, but I'm still in the world (I want to travel between worlds...)

    Hope you can help me...
     
  14. Offline

    cppchriscpp

    Why did you restart the server in between these two? I've never tested it against those circumstances, sadly. (today is full of testing failures for me..) I'll look into your particular case as soon as I am able, but I do have one guess. The way you're doing it, I don't think the server is loading both worlds on startup; both need to be loaded for the plugin to work. There are other plugins that can handle this for you. I can't think of any offhand; I only use multiworld for the nether, and my nether plugin handles this for me.

    In short: look into a plugin that will let you switch worlds in game, which should also take care of loading worlds on startup. I'm not 100% sure this is the problem, but it seems likely. I think one of the essentials plugins can do it, though essentials is known for breaking many plugins; this included. If you can find something else, that would be best.

    At any rate, I'll look into the issue - it may be that I need to get my plugin to load any worlds that are not already loaded; this would not be a bad functionality to have anyway. Sorry that you're having problems. I can't promise a fast fix, as I am currently swamped with other work. As soon as I am able I will, however.
     
  15. Offline

    xGhOsTkiLLeRx

    Hey,

    thank you, for your long statement!
    No problem, you have the time, you need ;)

    Greets!
     
  16. Offline

    Trumple

    Thank you so much for this! It really brings far away communities together, and more public! Whereas before warping was command based, so you couldn't really see what other areas there were. This has helped a bunch, thank you very much!
     
  17. Can somone tell me why everytime I restart my server the portals deactivate themselves?
     
  18. Offline

    cppchriscpp

    You're not the only person with this problem, but despite my repeated attempts I can never recreate the issue. The file seems to delete itself without reason on the affected peoples' computers without explanation. If you catch it happening, there should be at least 3 backups in the TravelPortals folder you could move out of the backups folder and into the main TravelPortals folder, then rename TravelPortals.ser.

    Part of the problem with finding the issue is that no one who reports it ever report any of the things I have asked for in the first post. If all three (I think) people who have reported the problem could detail everything I ask for about the server, host machine, and other plugins, I could potentially recreate the problem, isolate it, and ideally make it stop happening.

    At any rate, sorry I can't give you a solid answer, but in short I have no idea what is going wrong. I can just tell you that I have never seen the problem myself, and don't know enough about the specific problem to attempt to find a solution.
     

  19. Actually the day I posted this for some odd reason, the plugins folder was deleted and I know i didnt do it. Then when I re-added them all it saved all the portals.

    Idk if that may help you but maybe try deleting your plugins folder; right down the plugins first though, then re-add them. :D It worked for me.
     
  20. Offline

    Supersam654

    Hey everyone, I am also having the weird "portal deletion" problem. However, part of it deleting all of the saved portals included the entire TravelPortals folder. So basically, all of the portals I created (don't worry, it was only 2) deleted themselves from a "file" and for some reason, the folder deleted itself as well.
    That is the log file for my server when I restart it. I noticed the 2nd to last line said the TP location file could not load (hopefully you know what that means because I don't :). On the client side, all I noticed was portals weren't working. When I typed in /portals list, it said no portals were visable. I believe I am running Ubuntu 10.10 with Servercraft.co and McMyAdmin 0.9.2.3 Enterprise. I am unable to find out what version of java I am running but I will find out if it is actually vitally important. I am assuming that Servercraft forces you to keep Java up to date.

    When I use /version in the backend, I get the following:
    I plan on updating to 1.5 when bukkit releases a new version of it. I am also not sure what the funky dev thing is because this is the only version of bukkit that Servercraft will let me download (in case you aren't familiar, everything you do is through McMyAdmin and you cannot upload your own version of Bukkit, you can only use whatever version it downloads).

    I believe this problem started happening about a week ago when I updated bukkit. However, I do not know what version I was on before. I would also like to mention I deleted the TP.jar file, downloaded a new version, and tried using that one. However, it keeps erasing my portals when the server restarts.

    Although you can see what plugins I am using from my log file, I believe I am using:
    • WorldGuard 5.0 Alpha 9
    • WorldEdit 4.3
    • MinecartMania
    • EssentialsProtect 2.1.32
    • HelpPages 1.2
    • GroupManager 1.0 Alpha 5
    • TravelPortals 1.5
    • EssentialsSpawn 2.1.32
    I also took the time to color the 3 server lines related to TP just because. If you need anymore information, just ask and I will see what I can do.

    Thanks in advance,
    Sam


    EDIT: I also just noticed that when I shutdown my server, I also get the following message:
    CONSOLE: Could not save TravelPortals data!
    I think this is the problem, and hoepfully you know how to fix it.
     
  21. Offline

    cppchriscpp

    Well, I have good news and bad news. The bad news is that I don't currently have the time to fix the problem. However, this is EXACTLY what I want from a bug report about this problem. You provided all of the details I wanted, and from this I can probably actually recreate the problem, and hopefully I can find it and fix it from this.

    Thank you so much for actually taking the time to report everything; it's going to help immensely. I'm just sorry I won't be able to make the time to solve it as soon as I'd like.
     
  22. Offline

    Supersam654

    Don't worry about it. I was just getting aggravated that other people were having this problem but this is the first thread I have seen where someone didn't spend 5 minutes and give you some useful information. Hopefully this problem can get fixed now (and the bukkit update for 1.5 won't break it:)
     
  23. Offline

    cppchriscpp

    It works fine on 1.5; I can confirm this.
     
  24. Offline

    MRGamer01

    I'm not sure whats causing this, but now none of my portals will work. I back up my server's world now and then to be safe. Now I can't name a portal or even deactivate one. When I do try to name one I get the message saying that name is taken even if I haven't used that name yet. I've also gotten "An internal error occurred attempting to perform this command" for each and every command I could use for portals. Was it the recent build of bukkit? Is there another version of Travel Portals on the way? Or is there something I have to fix myself?
     
  25. Offline

    cppchriscpp

    It would be really nice if you provided information about your setup, or the errors you ran across, or any of the information I require of bug reports.
     
  26. Offline

    Monkah

    How about group support? So that only admins can use the _______ portal, and the donators can access the ______ portal.
     
  27. Offline

    NeoEvil

    No problems here, just wanted to say thanks.

    Your plug-in is one of the few I've never had any issues with during upgrades, so thanks! Always works as advertised.
     
  28. Offline

    cppchriscpp

    Nope, permissions only. I'll use the inbuilt when it's possible, and it's sounding like that's soon.

    Glad you like it, though even I am surprised in how long it's been since I've had to do quick maintenance on it. A new release will come if I can ever figure out what's going on with the guys with the deleting portals, but other than that this thing is complete. I have what I need to recreate the situation, and hopefully I can; I just need the time. Soon though; soon.
     
  29. Offline

    drats666

    this plugin is outdated. it does not work on build 766 it should be thrown in the inactive section if it is no longer going to be updated.
     
  30. Offline

    cppchriscpp

    Testing now. Sorry I didn't update immediately. Finals kind of take a higher precedence.

    There have been no reports of breaking changes since the last RB, which it worked with. As such, I just assumed this worked fine. I'll report back as soon as the RB finishes downloading.

    Update: It works as expected. Sorry for not updating the title the second a new build came out with no changes to the underlying API. Believe it or not I keep track of changes to the API; I admittedly did not find any time to personally test the latest build, but there was no reason to believe it would not work as expected. Not every single RB breaks plugins anymore. That's the last version tested against, not the latest version it works with. Please don't say things like that without even trying the plugin. I'll update the title now, since I'm here.

    I do not like that you said that I do not support this plugin just because no one has posted here recently. I still maintain the plugin, and moreover I have still been putting time into fixing the issues with it. I have been pressed for time for the past few weeks, however after this week I'll be much more able to keep these updated. I thought I'd get free time before graduation, but I was sorely mistaken. My apologies for a lack of a new version. You'll note I still respond to all posts within a day; within minutes if I am able, so please do not say it is inactive.
     

Share This Page