Random Spawn Plugin

Discussion in 'Plugin Requests' started by snivell, Jul 16, 2016.

Thread Status:
Not open for further replies.
  1. Offline


    It's been about 2 years. Never thought I'd make another post on this website... anyways, I'm requesting for someone to make a plugin that literally ONLY forces a random spawn point when someone dies/logs in for the first time. No commands, no permissions. Just this single function.

  2. Offline


    Is the area the player spawns in a selected/controlled region?
  3. Offline


    Nope. Any random location throughout the world.
  4. Offline


    I have recently started learning to code plugins. I might be able to do this, let me know. ;)
  5. Offline


    Give it a shot if you'd like. :)
  6. Offline


    So i made your plugin but its having issues setting the spawn, such as itll set the spawn the same place you were last, so what i could do easily and have it done right now and have it teleport them to a random location on death, ultimately its up to you.
  7. Offline


    Yeah I want it to spawn them in a random location after death and the first time spawning in. Does it not do this?
  8. Offline


    Ok but here is the question dude, do you want their spawn to be set where they are teleported after death, or for them to just be teleported, because the problem there is a class method that isnt working for me for setting the home bed.
  9. Offline


    @Hyperenci Use the PlayerJoinEvent and PlayerRespawnEvent and then teleport them to a random location.
  10. Offline


    Thanks ill give it a try! I was using playerjoinevent already but i was using a playerdeathevent before i did respawnevent, well the problem still exists, its teleporting me to the same place on respawn and death no idea why.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 19, 2016
Thread Status:
Not open for further replies.

Share This Page