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

    Turbowaffle

    Got it, thanks for the quick reply!
     
  3. Offline

    umarth

    THAAANKKSSS!!!
     
  4. Offline

    mrgreaper

  5. Offline

    Verchiel

    I've been using your plugin for a good 2 weeks now and after a server crash and a backup going into effect, the portals got screwed up. The old data for portals still exist, so I can't overwrite the names or even use them it seems. Is there any way to fix this?

    Even just something as simple as deleting a portal would help.
     
    GOLDdigga1011 likes this.
  6. Offline

    cppchriscpp

    Currently, there is not much you can do. If you break a block in the area it should have been, you should be set. Otherwise, I guess you're out of luck for now. I can introduce an admin/op-only delete command to solve problems like those, but It won't be there too soon.

    Sorry I can't give you an immediate fix.
     
  7. Offline

    Verchiel

    There's no big rush to do any of this, it's just something that I was tinkering around with. If I knew more about java, I'd implement it for you because I feel like it'd be a simple fix. I figured the portal.destroy line was what I needed, but it kept telling me I had improper syntax.

    If I might make a suggestion, not to try and rush you or even to step on your toes, I would change the portal.destroy syntax to be a command "/portal destroy <name>" and change it so if you don't want to BREAK the physical portal change that code to "portal.break" rather than "portal.destroy".

    Just my thoughts on the idea. Am I correct in thinking that this plugin is just reading x,y,z co-ords and assigning them names inside of the TravelPortals.ser file?
     
  8. Offline

    GOLDdigga1011

    i need help deleting one of my portals
     
  9. Offline

    cppchriscpp

    Break the blocks around it; the door first because it is the easiest to break.
     
  10. Offline

    GOLDdigga1011

    i have but it still teleports me to it ,i need to un warp it somehow....
     
  11. Offline

    cppchriscpp

    Update to the newest version, update craftbukkit to a new version, (preferrably 293) rebuild at least the door of the portal where it was, break it, and it should tell you that you broke the portal. If this fails, report back. Make SURE it is in the same position as at least one of the walls of the portal. That really should be going off, granted everything is up to date.

    These details would have been nice in your first post, alongside your versions of craftbukkit and the plugin. It would have made help a little faster in this situation, and much faster had I not been at my desktop computer.
     
  12. Offline

    Josch

    Please add support for CraftBukkitUpToDate!
    You just have to provide a direct links to the jar and give it to the Plugin author!
     
  13. Offline

    cppchriscpp

    As stated earlier when it was asked, I will not be providing support for that. Period.
     
  14. Offline

    Josch

    Thats sad. It is not like you have to change anything in your plugin. Just upload the jar additionally to the .zip with the jar and the source...
     
  15. Offline

    cppchriscpp

    Yes, and then I have to do that every single time I update, and I have to deal with all of the people who cannot figure out his plugin asking me for support. I refuse to deal with that, and in addition it will not even last that long-- fill will replace it and hopefully do a better job. I already have enough maintenance to do with dependence on bukkit and plugins that love to change complete APIs with little notice. If you haven't noticed, I already have extreme difficulty keeping up with updates. I do not want any additional potential sources of problems.

    I will not be support that plugin, so please do not continue to ask.

    In short, drop it.
     
  16. Offline

    Sheik

    I have a problem, it seems whenever I reset my server the file "TravelPortals.ser" resets too, so all the portals break and I have to activate them one by one. Any idea why this could be happening?
    Thanks.
     
  17. Offline

    cppchriscpp

    Nope, no idea at all. That should never happen. It'd be helpful if you actually described what was going wrong, however. Give your version of craftbukkit, your version of this plugin, and a descriptive explanation of what is going wrong. Does the file just disappear? Are you even able to locate it? Are there any errors in the console? What does the console say when you start the server? Is it every time, or just once in a while? In this case, are you running with a ramdisk? I can't tell you anything from the information you provided; this is a problem that I have never seen before, and I have no way to recreate it.
     
  18. Offline

    Sheik

    Ok, I'll try my best.
    The version of craftbukkit is 0.0.0-458-g557f3d2 according to the server console. The TravelPortals version is 1.32.
    It deletes all information within the "TravelPortals.ser" every time I open the server. It seems to save it just fine when I shut the server down, but I have no way of using it because it deletes the info as I've said.
     
  19. Offline

    cppchriscpp

    It doesn't save on exit. It saves every time a portal is created/destroyed/deleted/etc.

    As for the versions, your version of craftbukkit is a tad behind; that theoretically could be a cause, but I am not sure. You also did not answer the rest of my questions..
     
  20. Offline

    Sheik

    Does the file just disappear? Nope, the file is still there, but it's empty.
    Are you even able to locate it? Of course.
    Are there any errors in the console? No.
    What does the console say when you start the server? It just says the usual "preparing level, preparing start region, travelportals ver. 1.32 is enabled, done.
    Is it every time, or just once in a while? Every time i restart the server.
    In this case, are you running with a ramdisk? I'm not sure what a "ramdisk" is. Sorry, I'm kind of a noob at this.
    I was aware the plugin saved every time a portal was created, I meant to say that the data was deleted when I started the server, not when I shut it down.

    Anyway, I'll try updating, and post the results.
     
  21. Offline

    cppchriscpp

    Darn, I was really hoping I'd be able to rule it out from that. Updating is your best bet; if not I don't have any idea where to go from there. I'd try deleting the file entirely too. You might check and make sure it's not read-only or anything like that for some reason. Good luck to you.
     
  22. Offline

    Sheik

    Tried deleting the file, it did nothing. I also checked for "read-only" but it wasn't the problem.
    Anyway, I updated everything I could, and it's working.
    Thank you very much.
     
  23. Offline

    RustyDagger

    I have problems with portals just stopping working Could be the same issue as above but Im on build 474.

    its annoying becase the plugin is the only way for my players to get to the player map Its upto date as far as i can get it.
    1ith 17 plugins updating to higher builds is not easy if you could maybe recompile it for build 474 or some thing that might help idk
     
  24. Offline

    cppchriscpp

    Try updating to 480 or higher and see if the issue persists. I suggest just going to the latest recommended build; 493.
     
  25. Offline

    RustyDagger

    DiD you not read i just said that its hard to update when you have 17 plugins half of witch are not ready for 493...
    Granted most are but theres a few that are not IM going to start gathering them up later to day onto my dev server but it could be a day or 2 before i can push it to the live server.

    Interested in fixing the live server atm Im sure you understand.

    Thanks for the update any way.
     
  26. Offline

    cppchriscpp

    Yes, I read your post. You asked a question; I gave you the only solution I have. I am not rebuilding the plugin just for you because you are not up to date. The source code is available if you want to do it yourself.
     
  27. Offline

    Kevin Forte

    Hey, I'm not positive as to why this is happening as my command prompt doesn't seem to show anything, but my portals are only working about 10% of the time I walk into them; any ideas? They are all correctly linked and named.
     
  28. Offline

    cppchriscpp

    Not a clue; this has been happening to me too however; I just assumed it was my setup. I'll look into it as I am able - the current solution is simple -- walk out and then walk back in. This usually works after a second try; on rare occasions a third. I've just been associating it with lag, but I can look into it and find out if this is really the case.
     
  29. Offline

    fatgit

    Happens here too, but we've just lived with it as it still works, just needs a few attempts (and you get enough hassle as it is, so I didn't post before :p )
    Not a major issue tbh.
     
  30. Offline

    PopeUrban

    Similar issue now. Just got done updating the server to 493, installed your update, and every time travelportals loads it deletes the contents of travelportals.ser

    So I stop the server, restore travelportals.ser from a backup, and try again... and poof, travelportals forgets my portals again!
     
  31. Offline

    cppchriscpp

    I have no idea what is going wrong; I can't recreate it, and no one else has ever had complaints even vaguely similar. Unless you can give me a lot more details about exactly what is going wrong and what is unique about your system, I can't do a thing for you.

    Sorry, but there is literally nothing I can do for you.
     

Share This Page