Inactive [TP] RandomTeleport v1.1 - Teleport players randomly [1.2.5-R4]

Discussion in 'Inactive/Unsupported Plugins' started by Fedexx2, May 4, 2012.

  1. Offline

    Fedexx2

    This simple plugin allows a player to teleport himself or to get teleported to a random location, inside a WorldBorder's border but not spawning you onto water or lava.
    It's my first plugin, simple and small, based on the idea of the not updated "Randman" plugin, with some modification.
    Will not work in Nether or without a border.
    I recommend you use the fill feature of WorldBorder to prevent lag when teleporting to new zones.


    Commands:
    • /randtp --> teleport the player to a random location
    • /randtpp [player] --> teleport another player to a random location
    • /randtpall --> teleport all online player to a random location (in their world)
    Permissions:
    • randomteleport.basic --> to teleport yourself
    • randomteleport.other --> to teleport other players
    • randomteleport.all --> to teleport all players
    Download:
    Link

    TODO:
    I'll take suggestions

    Changelog:
    -1.1 Now working on 1.2.5 R4.0
    -1.0.1 Added /randtpall command
    -1.0.0 Released Plugin
     
    Cap K likes this.
  2. Offline

    Cap K

    i love you for this. was looking for exactly this feature in a plugin and just found out that randman wasn't updated. will test immediately

    would it be possible to have a command teleporting all players on the world to a random location within the border?

    edit: also: not using a direct download link prevents me from wgtet-ing this right onto my server system, additionally, why zip a 4kb file? oO
     
  3. Offline

    Fedexx2

    Yep, I can do it. Do you need to teleport all player to the same random location, right?

    I use my website to count downloads of my plugins, I tried to download it with wget and it works.
    and I removed the zip file xD
     
  4. Offline

    Cap K

    nope, i want to spread them on the map without using the command for every player sperately :)
     
  5. Offline

    Fedexx2

    Ahn, I see :p
    Ok, I will add this function asap in the v1.0.1 ;)

    EDIT: done, it was easy, but works only with online players.
     
    Cap K likes this.
  6. Offline

    adde

    Getting this error :S :
    Code:java
    1. 12:01:15 [ALLVARLIG] Could not load 'plugins\RandomTeleport.jar' in folder 'plug
    2. ins'
    3. org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError
    4. : me/fedexx2/randomteleport/randomteleport : Unsupported major.minor version 51.
    5. 0
    6. at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    7. ava:151)
    8. at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    9. java:305)
    10. at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    11. .java:230)
    12. at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
    13. at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189)
    14. at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    15. ationManager.java:53)
    16. at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166)
    17. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    18. at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    19. Caused by: java.lang.UnsupportedClassVersionError: me/fedexx2/randomteleport/ran
    20. domteleport : Unsupported major.minor version 51.0
    21. at java.lang.ClassLoader.defineClass1(Native Method)
    22. at java.lang.ClassLoader.defineClassCond(Unknown Source)
    23. at java.lang.ClassLoader.defineClass(Unknown Source)
    24. at java.security.SecureClassLoader.defineClass(Unknown Source)
    25. at java.net.URLClassLoader.defineClass(Unknown Source)
    26. at java.net.URLClassLoader.access$000(Unknown Source)
    27. at java.net.URLClassLoader$1.run(Unknown Source)
    28. at java.security.AccessController.doPrivileged(Native Method)
    29. at java.net.URLClassLoader.findClass(Unknown Source)
    30. at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    31. java:41)
    32. at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    33. java:29)
    34. at java.lang.ClassLoader.loadClass(Unknown Source)
    35. at java.lang.ClassLoader.loadClass(Unknown Source)
    36. at java.lang.Class.forName0(Native Method)
    37. at java.lang.Class.forName(Unknown Source)
    38. at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    39. ava:140)
    40. ... 8 more
    41.  


    I updated randman, to newest build. Tell me if you want it. Pm me.

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

    ndvenckus1

    Code:
    2012-06-19 02:46:12 [SEVERE] Could not load 'plugins\RandomTeleport_1.0.1.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/fedexx2/randomteleport/randomteleport : Unsupported major.minor version 51.0
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:151)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:550)
        at org.bukkit.Bukkit.reload(Bukkit.java:182)
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
        at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:475)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:612)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:581)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.UnsupportedClassVersionError: me/fedexx2/randomteleport/randomteleport : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140)
        ... 13 more
     
  8. Offline

    rominos2

    No build problem.
    The Dev compile it with Java 1.7 and you're running Java 1.6
    The Dev should compile it using 1.6
     
  9. Offline

    md_5

    Approved.
     
  10. Offline

    Fedexx2

    Plugin fixed, now compiled with java 1.6 and working on 1.2.5 R4.0
     
  11. Offline

    helen269

    Will randtpall send all the players to the same location or seperate ones?

    Instead of making this only work if a border has been set and requiring the user to use WorldBorder why not simply send players to pre-existing land? The algorithm that checks for lava or water could check to see if land=null and then choose another random location if necessary.
     
  12. Offline

    zombiewaflle

    Sweet! I've just received my free minecraft giftcode!

    >> Minecraftcodes.info <<
     
  13. Offline

    f3nr1z

    Could there maybe be a way to use this plugin with wg regions? So it would randomly teleport players inside predefined region. It would be nice to use it with arena I just built on my server
     
  14. Offline

    ForDummiez

    Awesome plugin, looking forward to use this in my server!
     
  15. Offline

    Kevin Forte

    For some reason, the /randtp command doesn't seem to do anything for me at all. It doesn't give any console error nor message; nothing happens. I have the proper permissions. Any ideas?
     
  16. Offline

    Ed-1994

    does it work on 1.3 yet?
     
  17. Offline

    Beldrama

    Would love this for 1.3.1
     
  18. Offline

    djay732

    Is there anyway you can add a CoolDown to using the command, or something like a One Time Use?
     
  19. Offline

    JPTech234

    Very light plugin! Thanks a lot but I have a little feature request I hope you don't mind and also I hope you read this...
    Since im running a PVP server this plugin helps many newbies teleport and escape dangers near the spawn... but the problem is that veterans of the server know that they can just randtp to safety in a heated battle without delay... So my request is that a adjustable delay is needed and also a feature that allows the teleport to cancel when moved from the current position when they are in.
     

Share This Page