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

Please, help me to get this pluginAngel


Sorry for my english
Reply
Thanks given by:
#2
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?
Reply
Thanks given by:
#3
i need what players spawn random in map after dead, and at the first login on server.
Reply
Thanks given by:
#4
up. Any Help me?
Reply
Thanks given by:
#5
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
Reply
Thanks given by:
#6
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.
Reply
Thanks given by:
#7
Alternatively, move the player to a random spot in a specified region.
Reply
Thanks given by:
#8
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
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)