Quote from MunkeyCraft
hmmm would looking at how the bukkit plugin works help at all cos i found a plugin called setspawn that just does that any nothing else so the code isn't bogged down with other stuff.
This is the page for it: https://github.com/mtornwall/setspawn
This is the Java code for it: https://github.com/m...c/SetSpawn.java
As i've not been able to get my head around Bukkit as of yet im not sure how much help it is but just thought i would try and help
best of luck with school work and merging the code.
I think it's a bit different, but I'll look into how that plugin does it.