Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Intercepting a player spawn


dries007
 Share

Recommended Posts

Is it possible to "intercept" a player spawning (on a server) so you can control where?

And if so, would you be able to tell if it's a new player, a dead player,....

 

Or how you could at least "override" the location by tping to a set of coordinates.

 

Thanks in advance, I'm working on a setspawn command and a separate spawn for new players/different ranks.

 

(Now i think there is a spawning area, and so spawn is not a fixed position, so setspawn isn't very useful)

Please send me all the typo's you found, I'm from Belgium and I'm a little dyslectic and suck @ typing.

width=700 height=100http://dries007.net/banner.png[/img]

Link to comment
Share on other sites

Is it possible to "intercept" a player spawning (on a server) so you can control where?

And if so, would you be able to tell if it's a new player, a dead player,....

 

Or how you could at least "override" the location by tping to a set of coordinates.

 

Thanks in advance, I'm working on a setspawn command and a separate spawn for new players/different ranks.

 

(Now i think there is a spawning area, and so spawn is not a fixed position, so setspawn isn't very useful)

 

Well Minecraft uses random numbers for the spawn, so you need to get those and change them with code, I think those numbers are in World.java.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.