Random Spawn Plugin

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

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

    snivell

    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.

    Thanks!
     
  2. Offline

    Jakeeeee

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

    snivell

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

    Josh9722

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

    snivell

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

    Hyperenci

    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

    snivell

    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

    Hyperenci

    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

    Firestar311

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

    Hyperenci

    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