Описание
# About the Mod
This mod adds a permission and locking feature for trains from the Create mod. By locking a train, you can prevent other players from driving it or modifying its schedule without the owner's permission.
## Item Introduction
### Train Key
**Iron Key:** The train owner can right-click the train controls to imprint the key. Other players holding the imprinted key can then right-click the controls to gain permission to use the train (drive and modify its schedule).
Sneak-right-clicking the key will clear its imprint.
**Gold Key:** The train owner can right-click the train controls to unlock the train completely. An unlocked train is considered public, and any player can lock it to claim ownership.
**Admin Key:** Unconditionally grants usage rights when you right-click train controls. Unconditionally unlocks the train when you sneak-right-click the train controls.
### Train Lock
When a train is public, right-clicking the train controls with a lock in hand will lock the train, making you the owner. Right-clicking again will cycle through the train's permission levels.
| Permission Level | Effect |
| ---------------- | ------------------------------------------------------------------------ |
| **Private** | Only the owner or players with a verified key can drive and use the schedule. |
| **Protected** | Anyone can drive and use the schedule, but cannot lock it. |
| **Public** | Anyone can drive, use the schedule, and lock the train to claim it. |
# FAQ
**Q: Are newly assembled trains locked automatically?**
A: No, newly assembled trains are set to the "Public" permission level by default. Anyone can lock it to become the owner.