Random Set Spawns Hello, I am looking for a plugin that can spawn a user at a set random spawnpoints around a map. Currently all the plugins that do this are dead unfortunately and haven't been updated in a very long time. Commands needed: /RandomSpawnPoint Add (Name) Adds this spawnpoint to a list /RandomSpawnPoint Delete (Name) Removes the spawnpoint from the list. And thats it, each time a player will randomly spawn at one of these spawn points set by the administrator Please someone create this, i would appreciate it so much.
That would be great I think the random spawn could be done with a percent chance but what do I know, your the dev
My attempt. http://www.4shared.com/file/GncxwowT/RandomSpawns.html Command: /randomspawn <add:delete> <name> Permissions: RandomSpawns.addSpawn, RandomSpawns.deleteSpawn you can also use /rs instead of /randomspawn if you do /rs without any args, it'll display a list of the spawns.
Thank you so much, I will go try it now! You gonna slap this on bukkitdev or? Thanks , I tried it but I am not quite sure whats overriding the spawn points. I think it might be essentials or the default /spawn commands Edit: Worked PER-FECT-LY. I had to remove essentialsspawn.jar and it does exactly what I requested Thank you so much for spending spending your time to assist me. Kudos to you sir! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
There are no default /spawn commands... It is essentials or your multiworld-plugin ( if you have one )
I know this might be a bit late but could you also add the command "/randomspawn spawn" that will randomly spawn you as well? Just so players can type it too If not I thank you for taking the time and effort to make this! it has made such a difference to my server
Yeah, I'll add it tomorrow when I get on. Should be updated now: http://www.4shared.com/file/GncxwowT/RandomSpawns.html added in permissions: RandomSpawn.spawn RandomSpawn.spawn.others /rs spawn /rs spawn <player>
Hello, I am looking for a plugin that does exactly what you've made. Sadly your plugin doesn't seem to work for me. When I start the server, it throws an error message and doesn't load the plugin. Code: 2013-08-19 19:49:58 [INFO] This server is running CraftBukkit version git-Bukkit-1.6.2-R0.1-b2838jnks (MC: 1.6.2) (Implementing API version 1.6.2-R0.1) 2013-08-19 19:49:58 [SEVERE] Could not load 'plugins\RandomSpawns.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/hotmail/mattanderson776/RandomSpawns/RandomSpawns : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_6_R2.PlayerList.<init>(PlayerList.java:56) at net.minecraft.server.v1_6_R2.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:106) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:391) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.UnsupportedClassVersionError: com/hotmail/mattanderson776/RandomSpawns/RandomSpawns : 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.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) 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:173) ... 9 more I tried with both CraftBukkit-1.5.2-R1.0 and CraftBukkit-1.6.2-R0.1. A second question; does it override bed spawns? I would like to have players spawn at a random spawnpoint, unless they've slept in a bed and the bed isn't broken.
Thanks. At the moment, when a player joins the server for the first time, they don't spawn at one of the spawnpoints, but rather near the center of the map. Is it possible to change that, and also make it so you can still set your own spawn by using a bed?
Alternatively, I haven't touched Java in my life, but can you upload the source so I can try and do it myself?
You know that I didn't make this plugin? No need for quoting me, you need to update your java: http://java.com/download/
My mistake, thought you were the same guy who made the plugin. I already have the plugin working, no need for updating java. Can you upload the source?
If I decompile it, won't the function/variable names be changed to placeholder names, making it harder for me to understand the code?
AZUMIKKEL no, the comments are not saved in jar file, unless the source is packed in it. Normally variable names and such things are included to have it easy to cancel bugs. But you can uncheck this then creating the jar file.