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

    cppchriscpp

    Quite a few people have brought this problem up. I've tried to reproduce it many times, and never have.

    Try reinstalling the plugin, and make sure that you've installed it correctly. This means make sure that you copy both the TravelPortals.jar file, and the TravelPortals folder with the config.yml file in it to your plugins folder. If you do not do this, it will not work.

    If this doesn't solve it, please pass on any information that might be available in the logs after turning on debug mode; particularly on server startup and on server shutdown, and after creating a portal. Knowing what OS and java version your server runs on also would help.

    Thank you,

    Chris
     
  3. Offline

    Minedmaster

    Thanks that might be why , i was only copying the jar
     
  4. Offline

    cppchriscpp

    Yeah, I've been meaning to change how that works, so that you only need the jar. It didn't make it into 2.0, but it should be in a smaller future release. I just need to figure out how to programmatically copy a file from inside the .jar to outside of the jar, which is probably quite easy.
     
  5. Offline

    ShootToMaim

    1. Are you only allowed to make 2 destinations in a world?
    2. Multiworld Support?
    3. PermissionsEx support?
     
  6. Offline

    cppchriscpp

    1) No, you can make as many as you want. Just construct one, give it a name, and give it the name of a destination portal. (Which does not need to exist yet.) Rinse, lather, repeat.
    2) Yes, that has been present since multiworld was available. This is stated in the first post and on BukkitDev.
    3) Version 2.0 supports bukkit's built in permissions system. No more, no less. If PermissionsEx works off of that (I'm 95% certain it does), then this supports it.
     
  7. Offline

    cppchriscpp

    Hey guys, this is just a head's up that a new version (2.1) has been released. This was a rather quick release, and only has one fix. There was a big problem with importing old portals which has since been fixed. If you had problems importing portals from an earlier version, try this one. If you still encounter problems, let me know.

    Sorry for the double post; it just makes it easier for me to keep track of what was released when if I make a new post for each release.
     
  8. Offline

    Pwned231

    awesome mod, keep up the good work! ^^
     
  9. Offline

    michael05242002

    Bug with worldguard:
    Admin lock the portal with worldguard and want to protect the portals in case of griefer.
    However, when griefer break the door, the door reappear again but the portal is still broken.
    And, it cannot be tracked by logblock, so it should be a must-fixed issue....
    Using CB1597, latest plugin.

    Thanks!
     
  10. Offline

    cppchriscpp

    Yep, sounds like an issue. I will need to check the cancelled status of the event, which I have not done in that location. Next time, could I ask you to please report the bug as a BukkitDev ticket? This is just so I do not lose track of it. I'll add this as a bug for the next release when I get a chance tonight. Thank you for your report.
     
  11. Offline

    michael05242002

    Done. BTW, can i edit the ticket? or add some comment on it?
     
  12. Offline

    cppchriscpp

    I don't think the system's going to let you edit the ticket, but commenting should be open to everyone. Thank you.
     
  13. Offline

    Pwned231

    This work with 1.0.1 version of minecraft?
     
  14. Offline

    cppchriscpp

    I'm using it on it and have been since prior to the release. I'll update the version in the topic as soon as I find some time, which may not be until saturday. (I'll want to double-check to be 100% sure it works; personal thing.) I'm currently responding on my lunch break.
     
  15. Offline

    Pwned231

    Awesome, waiting for the new version then :D
     
  16. Offline

    cppchriscpp

    I never said there would be a new version; I said I'd test it to make 100% sure it worked with the latest recommended build, which it does.

    Edit: Okay, so rereading my post, I could see how you would assume that meant a new version. Pardon my rudeness there then; but there's not going to be a new version - I just wanted to test it myself before I said for certain that it worked.
     
  17. Offline

    Pwned231

    np :), and THAT'S AWESOME NEWS :3333
     
  18. Offline

    cppchriscpp

    Hey, this is just my usual notice to let you know a new version is out. This adds a few new features (including a polling method that can replace onPlayerMove for better performance) and quite a few bug fixes. Most of the tickets filed against this are now closed.

    It also uses a new plugin architecture I developed which should make future development faster and easier, and also eliminates some of the bugs that were present in prior versions.
     
  19. Offline

    Crafted_devil

    Doesn't seem to work in 1.0.0 Unless there is a new way to make the portals?
     
  20. Offline

    cppchriscpp

    Yes they do - there has been a new release since that version and I have been successfully using it since it came out on the new rb. If this is reproducible, please use the bug reporting facility on dev.bukkit.org and include all messages in the server log that have TravelPortals in them.
     
  21. Offline

    darkshark6

    Sounds practical and useful, but.... its not the most elegant or Deseret telporter out there....
     
  22. Offline

    kris989c

    You cant set destanation anymore?
     
  23. Offline

    cppchriscpp

    Uh, what? The plugin should work the exact same way it always has. If you're using permissions, check them.
     
  24. Offline

    Raymond21211

    I have been using this for a while, but I just noticed no one else can use my portal's, I can use everyone's because I have admin bypass, but I was wondering is there a way to work around the ownership?
     
  25. Offline

    cppchriscpp

    With the current version, if you are using permissions, you can only use your own portals unless you have travelportals.admin.portal.use. All that permission does is let users use any portal they come across; there's no danger in giving this to all users. One of the default permission sets for users actually includes this one.

    There is an item marked for the future to lock portals, which would change how this system works. I am not sure when or if it will be implemented, but it seems worthy of noting here.
     
  26. Offline

    Raymond21211

    Ok, thanks its an awesome plugin anyway.
     
  27. Offline

    hidro636

    I'm having the same problem as Arthurdd1994, have you updated the plugin to R3?
     
  28. Offline

    cppchriscpp

    The plugin works fine with R3; R1 and R2 will not work correctly because of problems with CraftBukkit itself. I don't see any postings from that name anywhere, so I am not sure what you are asking about.

    But yes, the version marked for version R3 will work on version R3.
     
  29. Offline

    LetCraft

    Will this work without Permissions?
    But with CreativeGates?
    Because this one seems very cool...
     
  30. Offline

    cppchriscpp

    Yep; there's actually something in the configs that you have to enable to turn on permissions. By default, they're disabled. I actually run my server with the plugin without permissions.

    I've never run this with CreativeGates, but I can't think of any reason why it would not work.
     
  31. Offline

    LetCraft

    Ok thanks! Anyways, is this updated to (minecraft) 1.2 yet?
     

Share This Page