Blockland Forums > Suggestions & Requests

OnPlayerSpawn

Pages: (1/3) > >>

darkhog:

Can you make event that would fire as soon as player spawns into world, regardless of whether he is inside or outside minigame?

We have OnRespawn event, but it is basically unusable outside minigames and aside of that it's not at all what I need. What I need is event that fires ONLY when player initially spawn into world (i.e. after joining and downloading all server junk, etc), not every time he dies and respawns.

Possible uses of such event:

- Make players spawn in same, specified place every time they join on free build servers where making minigame and use spawn bricks makes no sense
- Displaying rules of server, either by chat messages or by MessageBoxOK event.
- many others that I can't think about now because I'm so damn tired.

Greek2me:

There are specific mods for the uses you have listed.

darkhog:

Yeah, but eventing them would be easier for most people and if, let's say I want both, I'd need to install only OnPlayerSpawn mod and teleport mod instead of rules/setting position on join (both would either require fiddling with console/changing some files outside BL). It's just easier.

hodototman:


--- Quote from: darkhog on February 28, 2013, 10:55:55 PM ---Yeah, but eventing them would be easier for most people and if, let's say I want both, I'd need to install only OnPlayerSpawn mod and teleport mod instead of rules/setting position on join (both would either require fiddling with console/changing some files outside BL). It's just easier.

--- End quote ---

why would you make the person teleport on spawn lol

just put the spawn where you want them to be

or do you mean like

yeah idk

darkhog:

hodototman, the problem is, spawn bricks only work in minigames. On freebuild servers making default minigame just so player will spawn in right place make absolutely no sense (and since other people would probably be able to build, they would be able to build other spawn blocks, which makes player spawn randomly, AFAIK in one of them).

Pages: (1/3) > >>

Go to full version