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


    That's just a last-ditch effort to save your data if the fix does not work, but the fix really, really should work. Good luck.
  3. hi !

    i just installed travelportals on my bukkit server (on mineOS) and it works fine so far but - how can i connect a portal to another server, especialy which runs hellworld?
    Current status: I already have two servers on my machine, hellworld (port 25566) and non-hellworld (25565), both runs with bukkit and have travelportals installed.
    I hope you can help me!

  4. Offline


    Uh, you can't. This plugin does not, has not, and will not support that functionality. You can support the nether now with multiple worlds on one server, but you cannot support travel between servers. Sorry.

    Edit: Wow rich, you outdid me big time with your post. If you're interested in what I said, he gives exact details, and a much better explanation. The only difference between his method and mine is that I simply used dinnerbone's netherbone plugin to make my nether; that's all that I needed in my case. In the long run, the general essentials option is most likely much better, however. That is likely to actually see continued support, and he portals will stop working if the netherbone plugin is not loaded.
  5. Offline


    Yes and no... and its actually easier than you think now... Just not the way you are trying to do it.

    The latest versions of craftbukkit (271+ I think) implement a multiple world configuration on a single server... ie same server/same port, and cppchriscpp has taken his time to implement it properly. (Thanks Chris!)
    Cppchriscpp has taken a KISS approach to this plugin, and he gets a commendation from me on that. His plugin is very simple to use, and the design of each portal is simple, compact, and functional. Its a no nonsense, slim-non-bloaty plugin. From his replies it sounds like he's trying to avoid feature bloat.

    Soo.. about ServerPort, its a great plugin for the purpose of transporting between servers. The problem is that it really need a client mod to work effectively... otherwise all they do is disconnect you and transfer your player.dat file to the other server. I had a few problems with users getting confused, or stuck on the other server, and end up loosing all of their items, or not being able to connect back onto the original server unless you remember to disconnect using the other portal.. if you can get to it again, for whatever reason.. In the end I decided that its a great idea in concept, but in reality, unless there is some server specific settings or unique play mechanics that really benefit.. it just isn't worth it. This may be better in the future, especially if Mojang decides to implement it into the client.

    Here is what you can do...

    Make sure you are using the latest CraftBukkit, Latest Essentials (or something with a /world type command) & Latest TravelPortals.

    Using Essentials (or equivilent plugin), type /world 0 or /world 1 to spawn in the nether, and create a portal there, and do the same thing on your main world... link them in the standard way. tada! Functional portal to the nether in SMP. I don't know if you will be able to keep your existing nether you already have.. It may be possible... There is an additional DIM-1 folder now inside of your world/nether folders... I'm pretty sure its instrumental in getting the nether/multiworld working in SMP on a single server... You will need to experiment a bit to find out if its possible.

    hope this helps!

    --- merged: Feb 8, 2011 10:56 PM ---

    I'm a little confused about the lack of a delete function for your database. I fully created 3 portals side by side, named them, linked them, physically broke them.

    Now the info is still in the database... Are you just figuring on hiding them so they don't list anymore but they are still in the file?

    Is it supposed to clean the records up if it detects the portal has been physically removed?

    What about if you want to re-use the name again... won't it complain that the name is in use?

    Since the data file isn't easily edited, I guess I would feel better if I knew how to get the records out of the database manually... short of constant backups of the data file.



    btw.. I really like your plugin.. you did an excellent job! nice balance of usefulness / non-bloat. BUT.... I don't think an admin/op only delete function would junk it up too bad. ;-)

    Also.. along the same lines.. I know you are really busy, but have you thought about adding a mysql option to hold the data? It would make adding the delete function much less important...
  6. Do you think this will eventually have full Nether functionality? (i.e. auto-creation of portals within the Nether, distance dilation for fast-travel, etc.)
  7. Offline


    No, since I don't even implement the nether part. I'll let someone modify real hell portals to do that and work as they should. I believe at least one person/group is already on this, and I strongly suggest using that. If anything, I would use this in addition to those as another option for transportation.

    The little hack I have in for my server will probably go away when someone writes a plugin that does proper hell portals. My method is, well, hacky, and another plugin could do it much better.
  8. Offline


    Hey Cppchriscpp,

    I just updated to the latest version (love your plugin) All of my portals now port me to the nether for some reason. Even when I create a new one and assign it somewhere else, it appears to port me to the nether.
  9. Offline


    Great plugin! This has what warpgate lacks, simplicity. I love the ability to create private doorways to other zones, and it's a big part of my server. Keep this plugin coming, it's great!
  10. Offline


    Sorry to tell you, but I have no idea what could be going wrong for you. I'd understand if existing ones did that, though I would not be able to come up with a simple fix. It could be a conflict with other plugins; I can only say I have tested with netherbone, but the way I wrote it should lend itself to any and all worlds you might have. I can try to look into the issue when I have some time -- what plugin are you using to create alternate worlds? A list of the rest of your plugins might be helpful too.
  11. Offline


    I did some more testing with the new version (sorry I didn't reply last night) and my problem seems to be as soon as I enable te nether using Dinnerbone's plugin - I get dumped in the nether from a great Hightower, even if the portal is set to warp to the one 2m away, and there are no portals in the nether (I started fresh with a new bucket install and copy of the map).
    I'll have a test today on a local machine as I was getting the error that server couldn't keep up, whic may indicate a load issue, so I want to rule that out.
    Until I load dinnerbone's plugin, new and old portals are now working though, so thanks.
  12. Offline


    You don't load his plugin on start? Also server load most likely has nothing to do with it. Are you absolutely sure you have the latest version of the plugin? That sounds like the behavior I was getting with the second most recent build of this. I suggest redownloading just to make completely sure. Sorry if I'm repeating myself on that issue.
  13. Offline


    Following Rch's tutorial, I still couldn't figure it out and couldn't make a nether portal. First of all, I have latest TravelPortals and Essentials. There is no such command as /world.

    EDIT: And yes, both worlds (same folder) on same server.
  14. Offline


    That's not my plugin; I haven't even used it before. I don't know what you want me to tell you/do. Once you get yourself into another world, you can make a portal and it should (key word here; apparently this isn't going as well for some people as it has for me) work as they would normally. As a server administrator, if you do not have another method for users to transport between worlds, you have to find/make a way for yourself to get to the other world, and put the first one of these portals there.

    They are not nether portals, they do not work like nether portals, and they are not built like nether portals. If there is any confusion about this, please see the first post; it explains how to build them in the best detail I can give. This video also may help explain. (Thanks fretzor)
  15. Offline


  16. thanks a lot for your replies Rich&Chris !
    one question from me: is craftbukkit == bukkit ; which is normally installed with mineOS ?
    i will try it now and hope it will work - I would realy appreciate it if this works with a "one server" solution, because running the netherworld on an additional server would push my pc-resources to its limits - so thanks again ;)


    edit: it fully works as you said =) thanks a lot nice to enjoy netherworld with friends ^.^
  17. Offline


    No, craftbukkit != bukkit; bukkit->craftbukkit would be more accurate. Craftbukkit is the server software that implements the api made present by bukkit. Your server is running craftbukkit, and it should work fine with this as long as you update to a recent version. (Build 283+ is best, I'm told.) And yes, this can work as a one-server solution to the nether problem, BUT you will have to combine it with the netherbone plugin or essentials. If you simply want the nether however, I will actually steer you away from my plugin -- particularly if you can wait. There is a project on the forums that is going to make nether portals basically work like they do in single player; (see here) this is probably much more appropriate for your needs. If you want these portals and just want to use them to get to the nether for now, by all means, go on. If there is any difficulty going from netherbone to that, I'll be in the same boat, and granted I find a solution I'll be more than willing to share.

    In short, you have what you need to make the portals themselves work for you. Let me know if you run into any issues.

    Edit: haha, well this post looks kinda silly now. Glad it works for you!
  18. thank you =) only problem we had was that if you died in netherworld the spawn could be over lava haha :D
  19. Offline


    Yeah, that's up to the bukkit devs to deal with, I'm afraid. Or the plugin developers that make the world. Or both.
  20. Offline

    Jake Radcliff

    Can it teleport you to another portal? And it would be very helpful if you replied to each post instead of just putting up another post. If gives you alerts if you reply, which tells me that I have something to look at.
  21. Offline


    News to me; most forum software isn't that quirky.

    Your question is very unclear; what do you mean?
  22. Offline


    Is this Permissions supported? Or will the users be able to use all the commands?
  23. Offline


    Users can do everything; permissions support does not currently exist.
  24. Offline


    Well, the latest version did screw up all my portals.. Tried to go back to the old version again, but then it just says the warplist is empty.. In the new version, I can see all my warps when I type /portal list but it wont let me warp..

    U wrote:
    Update 2/7: Updated with support for multiple worlds. Using this on my server to let players get into hell. Also making a slightly modified version for my players that will launch them there if they try to use a real nether portal. Redownload if you're interested; no other features have changed.

    I downloaded it after that, but in the readme.txt it saids V1.2 only.

    edit: DL:ed again after reseting the browsercache.. still says V1.2 not 1.2_1
  25. Offline


    I didn't update the readme file. The code is updated though. The plugin SHOULD say it is 1.2_2, but I think I goofed up and it does not. If you want to go to the old one you'll have to rename doorwarp.ser.bak back to doorwarp.ser. HOWEVER, I would like to find out what the problem is and sort it out for you/with you. First though, I'm going to need a little more information. What happens when you attempt to use a portal? Does anything show up in the console? Do new ones work as intended? Prior to this, were you keeping up with updates to this plugin?

    Sorry I can't help you more, but you did not actually tell me much about what is going wrong.
  26. Offline


    With your "slightly modified" version, will your gates auto-create on the other side?
  27. Offline


    No, they will all just link to one portal in the nether -- one normal non-nether style portal that someone has to create in the nether first with the name "hell"

    It's rather corny and I actually have disabled it on my own server. It's in the source code commented out if you want to try it, but it's far from complex and quite fragile.
  28. Offline


    Oh, sorry.. I was so tired when I wrote my message so I must have forgot. This is the error I get:
    2011-feb-10 07:29:19 org.bukkit.plugin.SimplePluginManager callEvent
    ALLVARLIG: Could not pass event PLAYER_MOVE to TravelPortals
    java.lang.NoSuchMethodError: org.bukkit.Server.getWorlds()Ljava/util/List;
    I tried 3 different new bukkits-versions non work with this addon.
  29. Offline


    Are you sure about that? I just tested with build 299 and it works as expected. That's a really bizarre error, too. The build I tested with. I need to update the title of this to state which versions it works with more accurately -- I just realized I never updated it with the worlds update.
  30. i got an older version of both cb and tp but still i didnt saw ppl posting it here, you have an line out put on the server(i use the .bat to run mine so i can see directly on my server) that will list any portals if some1 is close to any of them(i think it works like that)
    its pretty annoying, so my question is, is it gone ?:)
  31. Offline


    That was removed ages ago. That was a dev thing that I accidentally let slip out in one of the builds -- I removed it within a few hours.

Share This Page