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!
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.
Yeah I want it to spawn them in a random location after death and the first time spawning in. Does it not do this?
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.
@Hyperenci Use the PlayerJoinEvent and PlayerRespawnEvent and then teleport them to a random location.
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.