just run the command /time stop For borders you need a plugin that cancels PlayerMoveEvent if players go out of range