[TP] EnderTP v1.2 - Teleport using EnderPearls [1337]

Discussion in 'Inactive/Unsupported Plugins' started by DirtyStarfish, Sep 25, 2011.

  1. Offline


    EnderTP - Teleport using EnderPearls!
    Version: v1.2

    EnderTP allows you to teleport around your world using EnderPearls. To teleport simply right-click when holding an EnderPearl and you will teleport to the block you are looking at.
    EnderPearls will break after the amount of uses set in the config file.

    • Teleport using EnderPearls
    • Right-click to teleport, left-click to see how many uses are left
    • EnderPearls break after a set amount of uses
    • Smoke and portal effect when teleporting
    • Configurable amount of uses and teleport distance
    • Configurable messages upon teleporting and the EnderPearl breaking
    Permissions (superperm)
    Permission to use EnderPearls to teleport will automatically default to Op. Otherwise use the following permission:

    Config (open)

    Uses per pearl: 1
    EnderTP enabled: true
    Deny teleport: true
    Turn off messages: false
    Message upon attempt to teleport too far: Location is too far out of reach!
    Distance to teleport: 100
    Message upon teleporting: The power of the EnderPearl teleports you!
    Message when pearl breaks: The EnderPearl shatters as you teleport!
    Portal effect: true
    Should be easy to understand.
    Uses per pearl: How many times a pearl can be used to teleport before it breaks.
    EnderTP Enabled: Set to false to disable the plugin. Default is true.
    Deny teleport: Prevents player teleporting if the location is further than the max distance set.
    Also sends the Message upon attempt to teleport.
    Turn off messages: Set to true to turn off the messages.
    Message upon attempt to teleport too far: Message displayed when the location is out of reach.
    Distance to teleport: Set the max distance that can be teleported.
    Message upon teleporting: Message displayed to player when teleporting.
    Message when pearl breaks: Message displayed to the player when the pearl breaks.
    Portal effect: Turn the portal effect when teleporting on or off (true or false)

    Video (open)

    Video of version 1.1

    Made by Gabriel Moon


    Download EnderTP: Here
    Source is included in the jar file.

    • Improve teleporting
    • Update configuration file code
    Version 1.2
    • Tested against build 1337
    • Added new effect when teleporting. Can be turned off in config.
    • May need to delete config.yml and generate a new one to get the portal effect option.
    Version 1.1
    • Fixed a bug that prevented player interact on right click.
    Changelog (open)

    Version 1.0
    • Added an option in the config to turn off messages
    • Added a feature, left-click to see how many uses are left
    Version 0.9
    • Fixed a bug when right-clicking with items other than EnderPearls.
    Version 0.8
    • Rewrote the code and added comments
    • Source is now available in the jar file
    Version 0.7
    • Added some more code to prevent being able to teleport to the sky
    Version 0.6
    • Added some code to prevent teleporting to the sky
    Version 0.5
    • Added configurable setting to prevent teleporting further than the max set distance
    • Added configurable message when player attempts to teleport further than the max set distance
    • Tidied up the config file
    Version 0.4
    • Added configurable amount of uses per pearl
    • Added configurable message upon pearl breaking
    Version 0.3
    • Added config file
    Version 0.2
    • Added Permissions
    Version 0.1
    • Initial release.
    szakidani, strontkever and Netu like this.
  2. Offline


    Uploading v0.9 tomorrow that fixes something else, so I'll test that bug then.
  3. Looks like the orginal dev removed his plugin, no ide why.. seems a bit wierd
    maby because its getting put in the game.
  4. Offline


    Had to disable this wonderful mod due to a terrible bug I received on my server.

    Right clicking in general, was buggy. Players reported they couldn't eat food properly, and Bows/Eggs didn't fire at all, unless aiming at the ground. Sounds were played, but they simply didn't work. Disabling this mod, fixed the entire thing.

    I would love if this was looked into, seeing as these make a wonderful addition to an "Ender Hunter" class for the mob arena. Thanks. :) If you need any additional information from me, please let me know.
  5. Offline



    Yeah, sorry about that. While trying to make the code look all neat and tidy I must have added a line. It was basically canceling the player interact event if you right clicked with something that wasn't an enderpearl!

    Either way it should be fixed if you download version 0.9 :)
  6. Offline


    thx alot man adds a really cool rpg element and something for the leet players on my server to waste money on
  7. Offline


    This is awsome!
  8. Offline


    this got added in 1.9 beta 2 (not the same but close!)

  9. Offline


    Is there a way for us to see the remaining uses of a EnderPearl?
  10. Offline


    How could I go about removing the messages this sends? I'd rather it just stay silent, if that's okay. I tried removing the messages, but they seem to like to make themselves come back. So now I just have them say "Fwoosh! Crack! Nzz-gthup!" Haha. It works for the moment, I guess. ;)
  11. Offline


    I could try and add a way for you to find out, how do you think would be best?
    Ill see if i can do that. It will probably be if the message you set equals "null" dont send out the message!

    Thanks for all the feedback!
    Netu likes this.
  12. Offline


    Well. There are people who like commands and people who don't. For non command usage, ... mayne an implementation of the shift key? Shift-Right Click/Right Click .. Shift-Left Click/Left Click ... 4 options and just 2 you need. Optimal would be .. 1 command to list the uses and options in the config to define which shift-click/click combination to use for jump/report uses left. But take it easy try to implement just a shift-click for now :D.

    More... How about... Unlimited uses of EnderPearl jumps for health or hunger damage?
    Ah.. and for major epicness: Try to add the Enderman FX on jump if possible ^^
    Netu likes this.
  13. Offline


    You have some good ideas!
    Firstly, to detect the keys being pressed I would have to add Spout as a dependancy, get the server to use the Spout plugin, and also get everyone to use the SpoutCraft client! So, while the idea is good, to get it to actually work is quite complicated!

    So, I've made it so if you left click while holding a pearl, it will tell you how many uses you have left. It will only do this if you left click air, so it won't spam you if you hit a door or another player.

    As for the Enderman FX I assume you mean the purple particles? I wanted to add that! But I have no idea how, or if its even possible. Apparently it might be soon by using Spout. But until then, I think we are stuck with the smoke particle effect!
  14. I call this blinking rather than teleporting

    hence i changed the config file

    Uses per pearl: 5
    EnderTP enabled: true
    Deny teleport: true
    Turn off messages: false
    Message upon attempt to teleport too far: Location is too far
    Distance to teleport: 100
    Message upon teleporting: Blinking
    Message when pearl breaks: The EnderPearl shatters as you blink
    ps. great plugin.
  15. Offline


    Thanks so much! I appreciate it infinitely. :D
  16. Offline


    No problem! Just set "turn off messages" to true.
  17. Offline


    Great! Now I can see how many uses my pearls have left. Thank you!
  18. Offline


    Kinda like the worldedit compass?
  19. Offline



    My member say to me they have some problem with bow/food .

    After uninstall your plugin all is ok.

    Do you plan to fix it?
  20. Offline


    Are you using the latest version of the plugin? I'm pretty sure I fixed that :)
  21. Offline


    Which version are you using? That problem is long fixed.
  22. Offline


  23. Offline


    How i can know that in the server.log i don't that this information. (cb 1240)
  24. Offline


    Try redownloading. If you still have problems post your plugin list.
  25. Offline


    ok i will try that :)
  26. Offline


    Try downloading the latest version and see if it works. I'm planning on updating it soon to make sure it works with the latest recommended build, as there are some new things with config files I should probably change. But like I said, it should work if you re-download :)
  27. Offline


    I re-download it and it same :) bow/food don't work (work only if i look the floor).

    Only for my member for op is ok.

    i use Enlete for this time :)

    Plugins list
    +cb 1317
  28. Offline


    Ok, it should be fixed. If it was only affecting player that didn't have the permission then I think there was still a problem.. The download link is updated for version 1.1.

    I've tested it with no permissions and I was not Op and I could eat and use a bow :)
  29. Offline


    ok i will try tomorrow morning :) i keep you advice.
  30. Offline


    Very good plugin just throwing errors

    [SEVERE] Could not pass event PLAYER_INTERACT to EnderTP
    at me.dirtystarfish.EnderTp.EnderPlayerListener.teleportRange(EnderPlayerListener.java:133)
    at me.dirtystarfish.EnderTp.EnderPlayerListener.onPlayerInteract(EnderPlayerListener.java:54)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:142)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:560)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:41
  31. Offline



    What version of bukkit are you using?
    In the config file, what have you put for the "Message upon attempt to teleport too far:"
    Have you left it blank?

Share This Page