Random Spawns
Random Spawns
Features
Random Spawns is a plugin that allows you to set an infinite amount of spawnpoints in the world and then, when players type /rspawn, they are sent randomly to one of those spawns. Hopefully this plugin brings great improvement to your server!
Commands
- /rspawn - Randomly spawns the player in the world
- /rsetspawn [#] - Set one of the random spawns
- /rspawn [#] - allows certain players to choose their spawn
- /addnewspawn - adds one more possible spawn to the config. This command was made to simplify adding a new spawn. You are able to do this manually in the config.yml
Permissions
- RandomSpawns.* - gives the player all of the permissions default: op
- RandomSpawns.spawn - allows the player to spawn, default: everyone
- RandomSpawns.chooseSpawn - allows the player to choose their spawnpoint default: op
- RandomSpawns.setSpawn - allows the player to set the spawnpoints
- RandomSpawns.addToConfig - allows the player to add a spawn to the config with /addnewspawn
Config
There is only one thing to configure in the config, but it is vital to your plugin working. The "numberOfSpawns" lets the plugin know how many spawns it has to choose from. In order to make it easy, I put in the /addnewspawn command which automatically adds 1 to this value in the config. You are able to do this manually by opening the config.yml, but it's there as an option just in case.
Works perfectly with 1.6.4, however executing the command has a hughe delay til i actually get respawned :/ (having 40 spawns)
@Dudemister1999
When I use it, I get an out of date error. Please help me? :3
Thanks!
Oh my, it works with 1.7! Congratulations, you made an eternal plugin!
This would be perfect if the command was /spawn not /rspawn
Does this work for 1.5.2??
It's a great plugin but it lacks a commands like for example /rsetspawn [nameofspawn] and /rspawn [nameofspawn] or /rspawn [nameofspawn] [#]
Can you port it to 1.4.7?
Does this have multiverse support?
I want to enable random spawning in one world only.
I'm also getting an error. I loaded the plugin, then as op, flew around and did 9 or so /addnewspawn commands. All seemed well, until I type /rspawn. Then console does this:
org.bukkit.command.CommandException Unhandled exception executing command 'rspawn' in plugin RandomSpawn v1.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523)
at net.minecraft.server.v1_5_R3.PlayerConnection.handleCommand(PlayerConnection.java:965)
at net.minecraft.server.v1_5_R3.PlayerConnection.chat(PlayerConnection.java:883)
at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:840)
at net.minecraft.server.v1_5_R3.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292)
at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109)
at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35)
at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.IllegalArgumentException Name cannot be null
at org.apache.commons.lang.Validate.notNull(Validate.java:203)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.getWorld(CraftServer.java:819)
at com.RepublicAnarchy.RandomSpawns.RandomSpawnsCommands.spawnPlayer(RandomSpawnsCommands.java:221)
at com.RepublicAnarchy.RandomSpawns.RandomSpawnsCommands.onCommand(RandomSpawnsCommands.java:37)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more
Any tips or advice? Thanks!
ralphhogaboom
@SjonnieHunter
Do you have any spawns set up? If so do you have them registered in the config?
if you type: /rpsawn it's doesn't work!
Can you add a command /rspawnplayer [name] to teleport a player to one of the random spawns?
Can you add multiverse support, where I want to enable random spawning in a particular world only.
you had it where its one per life?
Sorry there has been no download link, Bukkit is still approving the file it's no longer in my hands, I don't have control over how fast they approve it
Maybe it would be a good idea to actually make the plugin before posting the info about it..
you should make typing /rspawn a option, so pvp servers can use this to instantly spawn randomly around the map, just a suggestion, and a permission that allows this plugin to be your default spawning method on the map, other then that I love the idea!
Edit: also for the download link, he probably added it but you do realis that bukkit has to approve these kind of things before the public gets ahold of it.
please add a download link need this
No download link?