Cuberite Forum
cant change the spawn point even with /setspawn - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: cant change the spawn point even with /setspawn (/thread-1660.html)



cant change the spawn point even with /setspawn - lostfile1 - 11-21-2014

i tried to change the spawn point using /setspawn but when i die i tp to the old spawn point insted


RE: cant change the spawn point even with /setspawn - NiLSPACE - 11-21-2014

That's because only the world.ini is changed. The change will only work after a restart. Maybe we should add an API to change the spawnpoints?


RE: cant change the spawn point even with /setspawn - xoft - 11-21-2014

There is already such an API: cPlayer:SetBedPos (yeah, talk about bad naming)
We need an API function for settnig the worldwide spawn, though.


RE: cant change the spawn point even with /setspawn - lostfile1 - 11-24-2014

i did do i server restart and its still doing that i could do a regen using the same seed but meh

there is also another prop the rank prefixs i set using webmin that came with the server are not showing up how ever this could be just my pic its a 5 year old laptop running ubuntu ssh server


RE: cant change the spawn point even with /setspawn - NiLSPACE - 11-24-2014

If you want you could:
  • Stop the server
  • Change the spawn coordinates in the world's world.ini
  • Start the server again
And then the spawn should have changed.