Random spawn
#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:


Messages In This Thread
Random spawn - by Boo - 04-16-2015, 06:12 PM
RE: Random spawn - by xoft - 04-16-2015, 06:35 PM
RE: Random spawn - by Boo - 04-16-2015, 07:06 PM
RE: Random spawn - by Boo - 04-19-2015, 07:41 PM
RE: Random spawn - by Schwertspize - 11-30-2015, 11:43 PM
RE: Random spawn - by NiLSPACE - 12-01-2015, 12:15 AM
RE: Random spawn - by LogicParrot - 12-01-2015, 02:13 AM
RE: Random spawn - by the1robert - 03-30-2018, 03:50 PM
RE: Random spawn - by Lain - 08-04-2019, 06:55 AM
RE: Random spawn - by xoft - 08-04-2019, 07:04 AM
RE: Random spawn - by Lain - 08-04-2019, 07:16 AM



Users browsing this thread: 4 Guest(s)