Random Spawn

Logo

Random Spawn is a simple plugin that spawns players at a random location in the world on their first login (configurable) and when they die. Sleeping in a bed disables the random spawn function and players will respawn at their bed when they die.

This is the first plugin I made. The idea for this plugin came from NuclearW's SpawnArea. I've used that for a while on my own server but thought it could use some extra features, so I tried to make one myself.

Thanks to NuclearW and Bretflann for being awesome and letting me use some of their code!
Thanks to WayGroovy and Francis Fenderson for donating!

Features:

  • Random Spawn will not spawn players in:
    • lava
    • cacti
    • water
    • fire
  • You can set a border where the players will random spawn inside
  • After a player has lain or slept in a bed he won't be random spawned anymore and he will re-spawn at their bed if he dies
    • This can be disabled when setting usebeds: false in the world.yml
  • You can configure if players will be random spawned on there first join. (if false they will spawn at the map's default spawnpoint)
    • you can set the first spawn location with the /setspawn command
  • You can exclude players from being random spawned using the RandomSpawn.exclude permission node
  • Random Spawn spawns players in a set area. You can define this area per world in the worlds.yml.
  • Multiworld compatable
  • Random Spawn signs. Type: [RandomSpawn] on the first line of a sign. To specify a world, type the world name on the second line. Configurable in config.yml.
  • Custom messages after respawning.
  • Spawning on command. since 2.4
When updating to version 1.6, please remove all the yml's and reconfigure them!

How to configure worlds.yml

Commands:

See this page!

Permissions:

The permission nodes are optional.

  • RandomSpawn.info Defaulted true
  • RandomSpawn.help
  • RandomSpawn.reload
  • RandomSpawn.configure
  • RandomSpawn.exclude
  • RandomSpawn.setfirstspawn
  • RandomSpawn.tpfirstspawn
  • RandomSpawn.placesign
  • RandomSpawn.usesign Defaulted true
  • RandomSpawn.spawn

To-do list:

  • Increase performance Increased performance a lot in version 1.6.1
  • Circular spawn area's
  • Any idea's?

Conflicting Plugins:

  • SpawnX

Source available on Github!

If you like what I'm doing. Consider donating :) Please use the donate button in the top right.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Templari0n Templari0n Aug 18, 2014 at 10:25 UTC - 0 likes

    One of the best plugins there is! Seems to work also in 1.7.10

    I wish there was a feature that would load the chunks near the players next spawn before spawning there. Eg. Show black screen with text: "Loading new spawn area..." and spawning there after the area is actually loaded.

    It's better to show nothing than show the player the loading process of the area, slow down the performance and let the monsters tear the player apart (quite often it's night when players die).

  • Avatar of SXRWahrheit SXRWahrheit May 31, 2014 at 23:40 UTC - 0 likes

    I want to set this up such that when players teleport to the nether they get put in a random location, but I don't see a way how to do this with your plugin. Any help?

    http://summaxr.com/newgtop.gif
    I run http://summaxr.com and our Minecraft server at mc.summaxr.com - feel free to visit.

  • Avatar of theory18 theory18 Apr 04, 2014 at 02:21 UTC - 0 likes

    http://pastebin.com/e902LMcR

    This is how i set mine up but for some reason whenever a player joins he still spawns on the same spot as everyone else. If he gets killed or something then it becomes random. Any pointers?

    Last edited Apr 04, 2014 by theory18
  • Avatar of WEB11 WEB11 Mar 09, 2014 at 22:44 UTC - 0 likes

    setting keeprandomspawns: true in worlds.yml is not having any effect. Players are still spawning to different random locations instead of keeping their first random spawn.

  • Avatar of redundantgaming redundantgaming Dec 30, 2013 at 00:41 UTC - 0 likes

    @LordInfinitus: Go

    I had the same issue. I fixed it by going to my world.yml and and under the setting: world: randomspawnon adding a line that had - firstjoin Hopefully that helps

  • Avatar of LordInfinitus LordInfinitus Dec 17, 2013 at 07:57 UTC - 0 likes

    Unable to randomly spawn on First Join.

    When I set the final line in the World config to:

    randomspawnonfirstjoin: true

    I notice that any player that joins for the first time, attempts to randomly spawn, and then instead spawns at the world default on the first Join. If I kill them, from that point on they DO randomly spawn.

    Is there a fix to this so players will indeed randomly spawn on the first join?

    Plugin is working in 1.7.2! Love it.

  • Avatar of shadowfaxenator shadowfaxenator Dec 14, 2013 at 00:26 UTC - 0 likes

    Is Factions plugin supported? Is it possible to configure to ignore factions claimed territories?

  • Avatar of gyus92 gyus92 Dec 12, 2013 at 13:56 UTC - 0 likes

    Hey man! I've sent you a PM yesterday. Please, answer me ASAP :)

    BFAK:40373,bd2ed1579578792fdffc519a38c7d98d8b2aac25ae7a85b4ba7b2783ca85a6b2

  • Avatar of Dudemister1999 Dudemister1999 Nov 24, 2013 at 06:01 UTC - 0 likes

    Is this project dead? If so, I hope someone picks this up!

    BFAK:90926487,3dd48e435eac2aa849e95d3c3581569b2d61f4030235983a0b023715757fa550

  • Avatar of palipali palipali Nov 18, 2013 at 22:16 UTC - 0 likes

    Thanks for plugin, I love it! I have an important request: can you add price/use/world to worlds.yml file? With iConomy and/or Vault plugins. Thank you!

Facts

Date created
Aug 28, 2011
Categories
Last update
Apr 21, 2013
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Random Spawn
Downloads
21,714
Recent files

Authors