Inactive [TP/MECH] TravelPad v1.8 - Social Teleportation! [1.2.4-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by Gravity, Nov 21, 2011.

  1. Offline

    Gravity

    [​IMG]

    TravelPad is a new kind of teleportation plugin. TravelPad allows each player one portal, you build it on the ground, name it, and then you can share the name with whoever you like so they can get there. Anyone can teleport to your Travel Pad!



    Build a travel pad like this:​
    [brickblock]
    [brickblock][obsidian][brickblock]
    [brickblock]
    (Thats brick on the side and obsidian in the middle :p)
    Once the portal is created, you must name it, and then your set to go! To warp from one pad to another, each player must have one Enderman Pearl in their inventory. Then, step onto a portal and type /travelpad tp [name]. You may either choose to take the pearl from the player once they teleport, or leave it in their inventory (That option is in the config file)


    Server admins have full control over portals, you may remove any portal by name in-game, or through the MySQL database. All portals are protected, so nobody but portal owner may break it, The plugin detects blocks that would get in the way of a player's teleportation, and disables placing blocks in that area.

    Each player is allowed only one pad, however, if a player wishes to remove a Travel Pad at any time, they simply must break the obsidian center of it, or stand on top of it and type /travelpad delete. This will unregister their portal and allow them to create another one wherever they like.

    If a player is wandering around and finds a travel pad, they may find out what the name of it is by standing on top of it and typing /travelpad identify.

    This plugin was requested here!

    Dont know where to get started? Just create this shape in game.
    [brickblock]
    [brickblock][obsidian][brickblock]
    [brickblock]

    Photos:​
    Show Spoiler
    Show Spoiler

    Portal layout/creation:​
    [​IMG]
    Once the above layout has been set the Travel pad activates!​
    [​IMG]
    Naming portals is as easy as issuing a command!​
    [​IMG]
    Teleporting to a portal is simple if you know its name.​
    [​IMG]
    Dont know what that pad is called? Identify it!​
    [​IMG]
    Removing the center block or issuing a /travelpad delete command will remove the entire portal in one easy step​
    [​IMG]
    Features:
    • Permissions support​
    • Multi-World support
    • Allow players to choose names/locations/who knows how to get there
    • Lightweight portal protection
    • Allow users or admins to delete a Travel Pad at any time
    • Economy (Vault) Support.
    • Does not clutter your map (Travel Pads are small, and if they expire or a player deletes it the physical portal is also removed from the map.)
    • Uses an SQL database to reliably track, edit, remove, and handle transportation.
    • Protection against players placing blocks in the way of someone's teleport that could be dangerous to them.
    Downloads:

    Commands:

    /Travelpad Identify - Identifies the current pad you are standing on.
    /Travelpad Name [name] - Names your created pad.
    /Travelpad tp [name] - Teleports your player to the specified travelpad.
    /Travelpad delete - Deletes the travelpad you own.
    /Travelpad delete [name] - Allows players to delete a pad by name.

    Permissions:

    travelpad.create - Allows a player to make a travelpad.
    travelpad.teleport - Teleports your player to the specified travelpad.
    travelpad.delete - Deletes the travelpad you are standing on, if its yours.
    travelpad.delete.all - Allows admins to delete any portal by name.
    travelpad.max.[number] - Allows a player to have a set amount of pads. For instance, a player with travelpad.max.4 will be able to have up to 4 pads.
    travelpad.infinite - Allows a player to have infinite portals.
     
    Thumbz, Suprem20 and Ciro like this.
  2. Offline

    Sir Savary

    I'm going to go on a limb and say that your category tags are wrong. [INFO] seems off, [FUN/TP] perhaps?
     
  3. Offline

    Gravity

    Wow I have no idea where info came from.. why did I even put that. Changed, lol.
     
  4. Offline

    Sir Savary

    Also, you have a double spoiler thing happening with your photo section.
     
  5. Offline

    Gravity

    Yeah, I tried to get rid of that but I dont know whats goin on there - I tried it a few different ways and its still doing that. No big deal, I guess.
     
  6. Offline

    Sir Savary

    I've heard of it before. Oh well!
     
  7. Offline

    Windwaker

    Everything looks good except you're missing a valid version in your title

    ie. " [TP/MECH] TravelPad v0.1 - Social Teleportation! [1337]"
     
  8. Offline

    Gravity

    Agh. Thanks. Fixed.
     
  9. Offline

    Ciro

    Thank you so much for this. I would give you diamonds, but since I can't, here goes a Like for your post :)

    I'll test it tomorrow.
     
  10. Offline

    Windwaker

    +[diamond] You can certainly give diamonds
     
    h31ix likes this.
  11. Offline

    Ciro

    Ok... have one +[diamond]

    I noticed that the borders of the pad can be removed. It can be a little hard to know it's a pad without these.
    Also, can you make admins have a unlimited amount of travel pads?
    And I'm having problems to make the plugin detect that I am standing on the obsidian, but I know that you're aware that.
     
  12. Offline

    lolydodo123

    WOW Great! I saw the Git for travel portals and i'm amazed from all the java u know, Maybe you can help me with a plugin? I made a REQ but no one seemed to answer!
    Link
    P.S: I ment help me as in maybe you can make me it, And yes. I put it in the plugin requests
     
  13. Offline

    Moe041991

    it would be even cooler if you only can travel to travelpads you already have discovered. kinda like in FallOut or Skyrim.
     
  14. Offline

    Gravity

    Ciro, I'll definitly take a look into border protection, hopefully tonight I have enough time but I'm planning on upgrading it to SQL to fix the issues I have had with portal recognition, and I think that will make the border protection possible as well.

    Attention: Version 1.1 is now out! For all who used 1.0, PLEASE update to 1.1, it includes a complete restructure of the plugin that increases its functionality by 200% and severely decreases any glitches. The plugin now uses an SQL Database to store Travel Pads, so if you dont know where to get one just head over and to http://www.freesql.org/freesql/mysql and create one, then use the info on the connect page in the plugin config. Dont worry, you dont have to manage the database at all unless you are comfortable - EVERYTHING is editable in game and the table sets itself up automatically.

    EDIT: Oh, also I forgot about letting admins have unlimited pads. I'll check that tomorrow.

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

    Gravity

    Ciro likes this.
  16. Offline

    creeperhugger

    hey could u send me the scource code this plugin could use editing? ill give all cred to u! :)
     
  17. Offline

    Gravity

    It's all avaliable through my github, I don't have the link right now because I'm on a phone, but it's one of the links on my site, www.h31ix.net
    If you use it to make something be sure to link me :)
     
  18. Offline

    Ciro

    I think you put everything I need :)

    But there's a problem here. Since the first version, the server can't detect that I'm standing on a pad. I can create and delete, but I can't identify or teleport. The connection with SQL is all right.

    What could I have done wrong? Anyone else is testing the plugin?
     
  19. Offline

    Gravity

    I did extensive testing on everything before I released it, and as I recall identification was working. Does teleportation and everything else work? I'm not currently at home so I cant really test or anything. Is anyone else having this problem?
     
  20. Offline

    creeperhugger

    kk i will ty
     
  21. Offline

    Gravity

    @Ciro can you try wiping every travelpad data you have, the jar, the folder, the config, the database, and then download this and set it up with the SQL info http://h31ix.net/travelpad_1_2/TravelPad.jar
    If it still doesn't work please tell me any console errors you are having, and what your table looks like on your database?
    EG.
    id player x y z name world
    1 h31ix 5 8 1 derp world
    2 name 9 3 6 hello World
     
  22. Offline

    Gravity

    Added release v1.4, check post for more details.
     
  23. Offline

    md_5

    Nice, approved
     
  24. Offline

    Kiste

    Using Bukkit 1597

    Found a Bug:
    Code:
    2012-01-12 03:47:48 [SEVERE] Could not pass event BLOCK_PLACE to TravelPad
    java.lang.NullPointerException
        at net.h31ix.travelpad.Travelpad.searchPortalByCoords(Travelpad.java:251)
        at net.h31ix.travelpad.TravelpadBlockListener.onBlockPlace(TravelpadBlockListener.java:74)
        at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:483)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:100)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
        at net.minecraft.server.ItemBlock.a(ItemBlock.java:97)
        at net.minecraft.server.ItemStack.placeItem(ItemStack.java:83)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:282)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593)
        at net.minecraft.server.Packet15Place.a(SourceFile:39)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    When does this happen?
    Everytime someone places a Block, so it spams my server.log like hell.

    Also it doesn't work because of this.
     
  25. Offline

    Gravity

    I do believe you are using an outdated version, could you please try it with this?
    http://dev.bukkit.org/server-mods/travelpad/files/5-travel-pad-v1-4/

    Also, make sure the SQL connection is made when the plugin loads.
     
  26. Offline

    Thumbz

    Is there a way of making it so it doesn't require an enderpearl to use? I love everything else about this plugin, except that.
     
  27. Offline

    Gravity

    Yes, set require ender pearl to false and take ender pearl on tp to false in the config.yml file.
     
  28. Offline

    Thumbz

    Woot. Thanks guy! :D Great plugin btw.

    Hey, I'm having difficulties setting up the SQL config stuff. Could you give me an example of what it should look like? I have a database set up, but I guess I'm not connecting to it. Nothing happens when I create a warp pad.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
    h31ix likes this.
  29. Offline

    Gravity

    When the plugin starts, it should either say SQL Connection Established or SQL Connection Failed.
    Simply copy the hostname (ip) that the sql server is running on (if its the same server as your minecraft server is running on, 'localhost' or '127.0.0.1' will do), then you just need the user name, password, and database name in the config.
     
  30. Offline

    Thumbz

    I must be doing something wrong then, because I haven't gotten either a Established or Failed message. Well, no worries, I only have one town for now. It's the servers 2nd day still.
     

Share This Page