# How can a visitor use one door in your Rust community workshop?

[Rust server guides](https://rustsc.com/learn/index.html.md) / [Players and community](https://rustsc.com/learn/community/index.html.md)

For a workshop where guests can use the public room while the rest of your base stays private, put a Code Lock on the guest entrance. Give the visitor its guest code. Keep a separately locked door between that room and the private area.

## Walk the route before inviting anyone

Build a small example on a practice world. Stand outside as a visitor would. Trace every route from the front door to the furnaces and from the furnaces to your storage. An open side entrance defeats the room layout even if the front lock works perfectly.

On the workshop’s Code Lock, set a main code you keep and a different guest code for that entrance. Close and lock the door. Use distinct codes for the private area. Keep both codes out of your public server description and screenshots.

## Check from an ordinary player’s account

Ask a player who has never used the main code to try the guest entrance. Someone already authorised as an owner cannot demonstrate the guest experience.

| Try as the visitor | What should happen |
| --- | --- |
| Use the workshop’s guest code. | The visitor can open and close that door. |
| Open the lock controls. | The guest cannot change the main code, unlock the lock or remove it. |
| Walk from the furnaces toward private storage. | The separately locked door still blocks entry. |

## Describe the actual access in the invitation

“Come through the courtyard door to use the public furnaces” gives a guest a destination they can recognise. If the visitor reaches private storage during the rehearsal, fix the route or the second lock before sharing the workshop entrance.

## Use a temporary visit to test the whole route

Mo could write to a Long Ear Foundry visitor privately, ‘Use the courtyard entrance Saturday from 18:00 to 20:00 UTC. I will meet you by the public furnaces. The inner door is for staff.’ Share the guest code separately. Give each person their role for the test.

| Player | What to verify |
| --- | --- |
| Visitor who received the guest code | Can enter the furnace room and leave by the same door. The inner door and stock stay private. |
| Unrelated passerby with no code | Cannot open the closed courtyard door. A steward watches the door while visitors go through if other people might follow. |
| Workshop owner | Can still lock the courtyard and reach private storage independently. |

## Prove the visit is over from the guest's side

At the announced end, close the guest route and end temporary access. If you clear or change a guest code, ask someone who already used it to try the closed door again. Also ask a fresh passerby to try. If the former guest can still enter, keep an independently locked barrier across the route and leave the public room closed.

Rehearse replacing the guest entrance's lock on the test setup before applying the change to the real entrance. With the real entrance closed again, verify that the former guest and a fresh passerby cannot use it and that the owner can still open and secure it. Check the owner's private door too. Confirm those results before taking down the barrier or reusing the public room. Remove the old invitation and post that the visit has ended.

## Sources

- [Facepunch introduction to guest codes](https://rust.facepunch.com/news/devblog-149)
- [Facepunch Code Lock item reference](https://wiki.facepunch.com/rust/item/lock.code)

## Related resources

- [Why can one Rust teammate build at the base while another can't?](https://rustsc.com/learn/troubleshooting/why-rust-teammate-cannot-build-at-base/index.html.md)
- [Open your Rust builders' town for a guided tour](https://rustsc.com/learn/community/run-a-guided-rust-builders-town-tour/index.html.md)

---

HTML version: https://rustsc.com/learn/community/give-a-visitor-access-to-one-rust-workshop-door/
