Skip to content

usernames.yml

This file holds the names hidden players are shown under, grouped into pools.

usernames.yml
usernames:
default:
- Cani
- Gatien
- Steve
- Alex
- Notch

default is the pool used by the keyword random, which is what a fresh install uses. Editing this list is the quickest way to change the names your players see.

Every key under usernames is a pool. Add as many as you like:

usernames.yml
usernames:
default:
- Steve
- Alex
medieval:
- Aldric
- Bertrand
- Guenievre

Then point a zone at it by name:

zones.yml
zones:
tournoi:
disguise:
name:
value: medieval

Run /sh reload to apply.

RuleWhat happens if you break it
A pool cannot be called randomThe pool is skipped and a warning is logged, because random already means the default pool.
A pool cannot be named like a placeholderSame: skipped, with a warning.
A pool must be a list of namesAn empty pool, or one that is not a list, is skipped with a warning.
Names are 16 characters at mostLonger names are cut when shown, like any Minecraft name.

SomaHider never hands the same name to two hidden players at once. When it picks one, it skips the names already taken by online players and by other disguises.

Which raises the question of what happens when a pool runs out. SomaHider does not reuse a name and does not fail: it makes one up, eight random letters and digits, something like aX3fZ9qP. It works, but it looks nothing like the names you chose.

So size the pool for your biggest event. If sixty players can be in the zone at once, sixty names in the pool is the minimum, and more is better since online players’ real names are excluded too.