Create a safe zone around your base, allowing (or forbidding) other players. To designate a SafeBase, place a lectern on a wool platform, then add a book-and-quill with a list of player names.