Inactive [FUN/TP] Randman - Tp random inside 'WorldBorder' [1.2.3][1.2.5-R4.0]

Discussion in 'Inactive/Unsupported Plugins' started by adde, Jun 4, 2012.

  1. Offline

    adde

    Version: 1.2.3
    CB: 1.2.5-Rx.x (From R3.x and up)
    Author: LRFLEW
    Updater: Adde [Me]

    This is a small plugin that randomly teleports you to a random location inside a WorldBorder
    This plugin can be useful if you players can't find any free spot to build on or if it is to long to walk from a free area. You wont spawn in lava or underground.

    Found any bug? Pm me or post a reply below!

    Download:

    1.2.3: https://dl.dropbox.com/u/25795380/RandMan-1.2.3/RandMan.jar
    SOURCE: https://dl.dropbox.com/u/25795380/RandMan-1.2.3/RandManSource.zip

    Older:


    1.2.2: https://dl.dropbox.com/u/25795380/RandMan-1.2.2/RandMan.jar

    1.2.1: https://dl.dropbox.com/u/25795380/RandMan-1.2.1/RandMan.jar

    1.2: https://dl.dropbox.com/u/25795380/RandMan-1.2/RandMan.jar


    To setup a border, you install the plugin "WorldBorder" and type "/wborder set [radius]" without the quotes.

    Example: /wborder set 2000

    Then the players can land anywhere from where you set the border up to 2000 blocks around it.
    If you want, please make a video about it.

    This plugin works with Towny
    It works so if you make a random tp with WorldBorder with a claimed land with Towny inside the border, it makes you not land in the claimed land, you land in the 'Wilderness'.

    Permission node(s):
    randman.tp - allows you to use the "/rand" OR "/random" command.

    This is Randman but I just updated it so it works with the latest build.

    Changelog:

    1.2.3:
    Fixed plugin disabled when no Towny found.
    Fixed spawn in caves or in lava.(Again, I know :p)
    Added source into the download links.

    1.2.2:
    Fixed spawning in caves and in lava.

    1.2.1:
    Fixed plugin.yml

    1.2:
    Updated it to work with Latest CB
     
    Typical_Name likes this.
  2. Offline

    zecheesy

    Could you teleport underground?
     
  3. Offline

    adde

    I think it is blocked. I just updated so it works with the newest build, I didn't change the body of the code. Because Randman, the real one prevented you from spawn in caves.
     
  4. Offline

    adde

    Bump, updated it to version 1.2.2. Changelog: Fixed so you wont spawn in lava or underground.
     
  5. Offline

    woodrow

    Thank you for bringing this back![​IMG]
     
  6. Offline

    adde

    Np :)
     
  7. Offline

    Typical_Name

    Whoa, just a couple days or so ago I remember mentioning exactly this concept as something I wish I could do... it even has Towny support! This is awesome!


    I shall try it when I get the chance. Is there a way I can set it up so that instead of users entering a command, they can right click a sign or walk into a certain location or something? I don't want players to be able to use this anywhere, just when they first reach the spawn city and don't want to put the effort into walking a hundred blocks or so to where they can build.
     
  8. Offline

    KevinEssence

    Add cooldowns please..
     
  9. Offline

    LRFLEW

    Could you send me the source to your version? I'm working on updating a number of old plugins, and it would help if I could see what you've done :)
     
  10. Offline

    md_5

    Approved.
     
    adde likes this.
  11. Offline

    Amsek

    I'm getting this error: :(
    Code:
    2012-06-19 11:00:52 [SEVERE] Could not load 'plugins/RandMan.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/palmergames/bukkit/towny/exceptions/NotRegisteredException
        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.NoClassDefFoundError: com/palmergames/bukkit/towny/exceptions/NotRegisteredException
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140)
        ... 13 more
    
     
  12. Offline

    adde

    Use ServerSigns, http://dev.bukkit.org/server-mods/serversigns .

    Oh, Hi! Nice to see you! :) I will send it when I have time! :)

    Thanks! ;)
    Wops! Forgot to fix that, it means you don't have towny installed, I will fix it in next update, thanks for sending this bug to me! :)
     
  13. Offline

    Typical_Name

    Hmm, it says it's not compatible with mcmmo :(. That's strange...


    Also, does RandMan prevent players from getting teleported into a worldguarded area, as it would a Towny area? My server actually just recently decided to move away from using Towny.
     
  14. Offline

    adde

    Hmm, I will try to fix that with worldguard but I don't think I could fix it compatible with McMmo, I am currently working on that bug that Amsek said

    Fixed.

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

    Pomme72

    I putted Randman.jar in my plugins folder and reboot but nothing happened. Randman doesn't exist. Nothing in the console too... :/
     
  16. Offline

    trollathon

    getting this error:
    Code:
    2012-06-21 17:54:15 [SEVERE] Could not load 'plugins\RandMan.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/palmergames/bukkit/towny/exceptions/NotRegisteredException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150)
        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:207)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NoClassDefFoundError: com/palmergames/bukkit/towny/exceptions/NotRegisteredException
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139)
        ... 8 more
    Caused by: java.lang.ClassNotFoundException: com.palmergames.bukkit.towny.exceptions.NotRegisteredException
        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)
        ... 11 more
    with v 1.2.3
    have worldborder installed with a border set.
    other plugins:
    CombatTag
    NoCheatPlus
    Orebfuscator
    SMP_Hardcore
    spout
    Tracking Plugin
    Worldborder
     
  17. Offline

    Amsek

    hello, im getting that error now :D
    Code:
    2012-06-22 19:51:59 [SEVERE] Could not load 'plugins/RandMan.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/palmergames/bukkit/towny/exceptions/NotRegisteredException
        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.<init>(CraftServer.java:189)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NoClassDefFoundError: com/palmergames/bukkit/towny/exceptions/NotRegisteredException
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140)
        ... 8 more
    
     
  18. Offline

    adde

    What CB do you use? Use 1.2.5-R4.0.
     
  19. Offline

    pixlepix

    Could you please add a radius? Dont want worldborder, and I dont want people going tens of thousands of blocks away.
     
  20. Offline

    nicquehen

    This plugin is multiworld compatible?

    Example :

    I have two world
    world a
    world b

    My user in the world a use /rand --> the command teleport my user in the world B in a random position.

    i don't want my user use another command to teleport in the world b before use /rand
     
  21. Offline

    nicquehen

    Same error (just use wb with randman with the last recommended build)

    edit : This plugin need towny :( why the plugin not able to work without towny :( (i don't want this plugin)

    2012-06-30 22:46:34 [INFO] Starting Minecraft server on *:25567
    2012-06-30 22:46:35 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R4.0-b2222jnks (MC: 1.2.5) (Implementing API version 1.2.5-R4.0)
    2012-06-30 22:46:35 [SEVERE] Could not load 'plugins\RandMan.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/palmergames/bukkit/towny/exceptions/NotRegisteredException
    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.<init>(CraftServer.java:189)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NoClassDefFoundError: com/palmergames/bukkit/towny/exceptions/NotRegisteredException
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: com.palmergames.bukkit.towny.exceptions.NotRegisteredException
    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)
    ... 11 more
    2012-06-30 22:46:35 [INFO] [WorldBorder] Loading WorldBorder v1.5.4
    2012-06-30 22:46:35 [INFO] Preparing level "war"
    2012-06-30 22:46:35 [INFO] Default game type: 0
    2012-06-30 22:46:35 [INFO] Preparing start region for level 0 (Seed: 1499125544)
    2012-06-30 22:46:35 [INFO] [WorldBorder] Enabling WorldBorder v1.5.4
    2012-06-30 22:46:35 [INFO] [WorldBorder] [CONFIG] Using square border, knockback of 3.0 blocks, and timer delay of 5.
    2012-06-30 22:46:35 [INFO] [WorldBorder] [CONFIG] Border-checking timed task started.
    2012-06-30 22:46:35 [INFO] [WorldBorder] [CONFIG] World "safe" has border radius 300 at X: 33,3 Z: 0,0
    2012-06-30 22:46:35 [INFO] [WorldBorder] [CONFIG] World "war" has border radius 750 at X: 150,5 Z: 750,7
    2012-06-30 22:46:35 [INFO] For reference, the main world's spawn location is at X: 158,0 Y: 72,0 Z: 758,0
    2012-06-30 22:46:35 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2012-06-30 22:46:35 [INFO] Done (0,494s)! For help, type "help" or "?"
     
  22. Offline

    adde

    This bug is really weird because it works for me without Towny :S I really don't know what I have to do more to get this fixed :S I will check it next week.

    I don't know, never tried.

    Hmm, I will try.

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

    suprememiners

    Make it work with factions please or dose it already. otherwise good
     
  24. Offline

    re4ly

    new version?
     
  25. Offline

    adde

Share This Page