Skip to content

Custom Game Codes ​

Plugin ID: cn.hayashiume.codeConfig: None — word lists come from Boot.Codes/

ReferenceWhere
ConfigurationNone — folder of .txt word lists
CommandsNone
Admin PanelNone
HTTP APINone

Assigns readable room codes like SUNSET or ROCKET instead of random six-letter codes.

Word Lists ​

Place .txt files in a Boot.Codes/ folder in the server working directory:

Empostor/
├── Boot.Codes/
│   ├── words.txt
│   ├── animals.txt
│   └── colors.txt
├── config/
├── plugins/
└── ...

Every .txt file is a word list. Each line is one candidate; -- lines are comments, blank lines are skipped:

-- Common words
SUNSET
ROCKET
DRAGON
TEMPLE

-- Animals
PANDA
WHALE

Rules

RuleDetail
LengthCodes must be 4 or 6 characters
CharsetUppercase A–Z only
Invalid linesSilently skipped
OrderShuffled randomly on startup
ReuseCodes return to the pool when a game ends

Duplicate words across files

A word appearing in several files still counts as one code. The pool is the union of all files.

Fallback ​

If Boot.Codes/ is missing, empty, or exhausted, the server falls back to its default random 6-letter generator. No restart is needed after adding words — changes are picked up on next use.

  • Fixed Room Code — deterministic per-player codes instead of random ones.
  • Commands — full list of in-game commands.