Cuberite Forum
Random spawn - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Requests (https://forum.cuberite.org/forum-3.html)
+--- Thread: Random spawn (/thread-1875.html)



Random spawn - Boo - 04-16-2015

Hi, i need the plugin for random spawn players on map.

Please, help me to get this pluginAngel


Sorry for my english


RE: Random spawn - xoft - 04-16-2015

So what exactly should this plugin do?

Let the admin define a list of spawning points and spawn new players in one of those predefined places? Or each player spawns in a completely random place? Any limits about how far apart each such random place should be?


RE: Random spawn - Boo - 04-16-2015

i need what players spawn random in map after dead, and at the first login on server.


RE: Random spawn - Boo - 04-19-2015

up. Any Help me?


RE: Random spawn - Schwertspize - 11-30-2015

actually this one is pretty old. basically you want people to spawn on a random (already generated?) location. right? so the plugin must hook at PlayerSpawning or PlayerDeath, get a list of generated chunks and move the player to one of these chunks. should not be too hard


RE: Random spawn - NiLSPACE - 12-01-2015

I don't think it's currently possible to get a list of all chunks that were generated. It is possible to loop through a list of all loaded chunks though.


RE: Random spawn - LogicParrot - 12-01-2015

Alternatively, move the player to a random spot in a specified region.


RE: Random spawn - the1robert - 03-30-2018

This is the first time I've ever tried to do anything in LUA, but I managed to get a mostly working RandomTeleport plugin and I modified the Signin plugin to randomteleport new players when they /login. It will also set the spawn after dying point to the new location, so if they die they don't get lost.

Essentially, what this does it put every new player in their own area instead of starting everybody in the same spot.
Also, if the first teleport doesn't work, or you don't like what you got you can type /rtp to RandomlyTeleport again.

Note that you have to give the "Default" group (or whatever group your new users go into)
the permission for RandomTeleport "randomTP.rtp" and the permission for Signin "signin2.core"

I also included the Chatter plugin, so that the player messages are in color. They are easy to miss all in white.

It's not perfect, but it works pretty well for me and I didn't see anybody else working on it it so....

http://tinyurl.com/yakdp5dy