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

    yeahMan

    my portal list keeps deleting itself and I have to reconfigure the portals. Is this problem occuring for users using updated builds of this plugin? I'm using and older CB build (164, I think) and a travelportal.jar from 1/29/2011 so yeah.
     
  3. Offline

    27ace27

    UPDATE

    It turns out that the plugin was just conflicting with the permissions plugin. It would seem as if the permissions aspect of the plugin isn't working, or I don't have the file configured correctly.

    UPDATE UPDATE

    It turns out that is was not the permissions plugin, it was the multiverse plugin. Unfortunately I use this plugin to host more than one world, and would like to use TravelPortals to get between said worlds. any ideas on how to stop the conflict?
     
  4. Offline

    cppchriscpp

    Update craftbukkit, and update to the (mostly) stable version of this plugin that has been out for a very long time, and see if that solves your problems. If it does not, please come back and I will help you in any way I can. If it does, good. That sounds like some bugs that were fixed quite a while ago.
    Thank you for pointing out the exact plugin that this conflicts with; I guess you were actually the first to say it in this thread. I will investigate and hopefully solve the issue with the conflict between these two plugins, granted it is not an issue with the other plugin. If I can find an issue with the other plugin that I cannot work around, I will alert the person that is responsible for that plugin to the problem, and if the code is available probably suggest a fix. I expect that the problem can be fixed on my end, but that is the intended course of action on all fronts.

    Additionally, PLEASE do not email me the same exact question when you do not get an instant reply. I know I was a tad slow with this one, but rest assured I see all postings on this and get informed of them by email. I will respond as soon as I am able, and that will just make me somewhat annoyed. I much prefer answer these questions just once, and in a way that other people with the same problems can see how other people solved them. Thank you for your future cooperation; I am sorry if this is coming off a tad snappy.

    Also, due to some things I dealt with today, I am fairly certain that I have sorted out how to do configuration options. They should be fairly easy to implement when I get the chance. The only problem is time; the world is bashing me with all kinds of things right now still, so it is most likely going to be a few days. It is coming though guys; I really am trying.
     
  5. Offline

    27ace27

    I apologize for not being more patient, I really should have gone a different route. There is no hurry on this one, I understand what you're going through and that real world issues take precedent over minecraft. Your plugin works fine for me, it just conflicts with multiverse.

    quite frankly I don't even know why I posted that here in the first place, it's not really your issue to be dealing with.

    My main problem is that there is no plugin that deals just with multiple worlds. Multiverse is the only one allowing them to work, and the rest just support it. If I can get the source for Multiverse, I'll look for any obvious conflicts, and then just try to extract the multiple worlds part alone and use it as a stand alone plugin.

    Sorry for bothering you.
    Paul
     
  6. Offline

    cppchriscpp

    I think there might be a separated piece of Essentials that might work -- I think I saw something about it in plugin releases, but do not quote me on that. At any rate letting me know about the conflict between the two is a good thing, and I do intend to fix it, as I'd expect any reasonable plugin author to do. If you find anything more like it, let me know. If you find anything with mine, or for that matter theirs, please let me know. Didn't mean to upset you at all; just was frustrated as is. Good luck to you!
     
  7. Offline

    27ace27

    No problem, I can relate to that frustration.;) I posted in the thread for the conflicting plugin, and as soon as I did that, everything started working properly.:rolleyes: As per the usual, once I cause a ruckus, the problem goes away, and I look like a total idiot.:mad:Essentially I just changed the config so everything but the multi world aspect of the plugin was disabled. I've let them know in the other thread, and he says he might just release a multi-world stand-alone anyway.:) I suspect this will all sort itself out once bukkit is released for real, but for now this is all a big mess. Thank you so much for responding quickly and putting up with me. I'm sorry for putting you through all this, I guess the reason is because I like it so much! I can already tell it will be an indispensable part of my server.:D Just to say than you for all your troubles, I'll let you know once the server is ready, and you can be a mod if you'd like.
    --- merged: Feb 20, 2011 4:22 PM ---
    Sorry for the double post, but may I suggest a feature? I'd like to be able to make portals that aren't editable by normal users, while still letting them create and edit their own portals. is this possible?
     
  8. Offline

    pyroville

    nice plugin. the problem is i cant get it to work. for some reason it wont show up in my startupbat. does anybody know what i am doing wrong? I have put the jar file in the plugin folder and put the plugin name in the server.properties behind the other plugins that i use
     
  9. Offline

    Tommy

    HELP i installed this plugin and it worked fine then (when i tried to update i think) it just stopped working please help
     
  10. Offline

    PopeUrban

    428 seems to have broken a lot of plugins, thusfar I'm holding back on updating because it busts up travelportals and preciousstones on my server.

    Try reverting to an older build until chris can squeeze in time for an update?
     
  11. Offline

    KevGraf94

    no possibility to use permissions? becuase all of my users can create a portal :/
    And where are the portals saved or how can i delete it?
     
  12. Offline

    pyroville

    thanks for the reply i am a bit new to this all so i didnt know what the problem could be. i will just wait till the plugin is fixed. dont mind when or something.
     
  13. Offline

    cherryghost

    Any update on this?
     
  14. Offline

    cppchriscpp

    Actually, yes. That's kind of an annoying question to come back to, though. Anyway this would have been up this morning had the forums not been in DNS limbo. Oh well; it's worked out now. Here's your 1.3 release. Now with official configuration and permissions thanks to Cecer!

    Edit: Oh, and to anyone having problems, try the new release. The hmod one is extremely unsupported as of now, if anyone's still looking at it. I removed the link, as such.

    Edit2: Oh, also this most likely will not work with Permissions 2.1. As soon as I make any release there's instantly another problem with it... I'll make it compatible as soon as I get time again... I'm not sure how much longer I can keep doing this type of thing.
     
  15. Offline

    ddoolin

    I love you, man. Another plugin working again!
     
  16. Offline

    cherryghost

    I understand that it's annoying dude, but I do appreciate your effort :)
     
  17. Offline

    Calvin

    So there is no multiworld support yet?
     
  18. Offline

    Latros

    Does this or does this not work post 1.3? (craftbukkit build 447 here)
     
  19. Offline

    Waffletastic

    Does this work with 1.3?
     
  20. Offline

    cherryghost

    It does indeed work. I can confirm it myself :p
     
  21. Offline

    Waffletastic

    It's not working for me..
     
  22. Offline

    cherryghost

    Works fine for me, running the server with Essentials lastest update
     
  23. Offline

    cppchriscpp

    It has had multiworld support since the DAY multiworld came out! I am running it utilizing this feature on my server using build 432 since this morning, and had it on the first build after the 1.3 update since yesterday.

    Yes, it does. I can't promise it will work with that build yet; I'll test against new builds when I get the chance; probably tomorrow. I can confirm it does work with 432.

    Ditto; a build number would be nice.


    Glad to hear it; might be nice to tell people what build you are using though.

    Noted.


    Good to hear; 447ish, I assume?
     
  24. Offline

    Waffletastic


    Chris, is it possible you could teamview with me and help me figure this out?
     
  25. Offline

    cppchriscpp

    No. I'm extremely busy at the moment, and need to concentrate on other things. Get the latest version of this plugin, the latest version of all the others you have, (SAVE FOR PERMISSIONS; USE 1.9!) the latest craftbukkit from http://ci.bukkit.org/job/dev-CraftBukkit/ and try again.

    Failing that, try build 447. If that one fails, try 432.

    Finally, PLEASE share what build number you are using so I can at least attempt to recreate your situation if I do have to debug with you. If you don't know it, start it up and type "version" into the console and paste that here. Sharing a list of plugins you use would also be helpful. At any rate, I strongly suggest trying to solve this problem on your own, because I cannot devote the time to fixing this tonight.
     
  26. Offline

    cherryghost

    Right yeah, I'm actually running the Essentials release build 227 (not dev builds). Just tested 228 there and it works fine. Anything other than that just results in 'Thread 4' errors and nothing runs at all. Tried dev builds 44x and just got those errors. Didn't try anything else.

    BTW Where can I donate to your cause? I'd be more than glad to :)
     
  27. Offline

    PopeUrban

    432 (current recommended build):
    Portals no longer fire their destruction events, but will become "one way destinations" with water removal as before. Basically, all portals are permanent at the moment without manual removal from the flatfile.

    However if you create a new portal in the location of the old one, it will automatically inherit the warp info of the old portal. Server logs turns up:

    Code:
    2011-02-24 01:27:50 [SEVERE] Could not pass event PLAYER_COMMAND to TravelPortals
    java.lang.NullPointerException
        at com.bukkit.cppchriscpp.TravelPortals.TravelPortalsPlayerListener.onPlayerCommand(TravelPortalsPlayerListener.java:74)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:150)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:646)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:596)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:590)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    On attempts at /portal list
     
  28. Offline

    cppchriscpp

    I did not notice this in my testing for some reason; sorry about that. Apparently a change was made to how to tell if a block is broken in the onBlockDamage function. Current code throws no errors; it just does not work. I just found out what went wrong now - see my note in the first post if you have the same problem. At any rate, I have released 1.3_1 to remedy this problem; download it again and let me know if any further problems arise.
     
  29. Offline

    Josch

    How do I import my old portals with the new version? It works for new portals, but I have a lot of old ones at my server
     
  30. Offline

    cppchriscpp

    How old is the version you're using? All versions since the hmod versions of this should import just fine. Just make sure TravelPortals.ser (formerly doorwarp.ser) is in your main bukkit directory. (I know this is frowned upon but changing it would cause far too much confusion.) If you tried to import them and it failed at one point, you can force it to import again (losing any new ones) by changing doorwarp.ser.bak to doorwar.ser again. You should not need to do this, however.
     
  31. Offline

    PopeUrban

    Well done, TravelPortals is functioning exactly as before. I'm still going to try and fork in that bucket event at some point here, just as soon as I resolve the bucket issue with my other plugin (buckets are weird :p)

    I'll try and toss that in to the config when I get it done and post here.

    Aside: You've had a better look at the new bucket sources than I have, any better hope on catching block events destroyed by TNT/creepers?
     

Share This Page