/npc runtests
Run a set of test NPCs
- Działa tylko wtedy, gdy komendę wykonuje gracz, a nie przez konsolę serwera.
Zapis
/npc runtests [--roles=<value>] [--abort] [--fail] [--pass] [--preset]
- Polecenie głównenazwa polecenia, od której wszystko się zaczyna
- PodpoleceniePodpolecenie: kolejne słowo po poleceniu
- Opcjonalnieopcjonalne, w postaci --name=wert
- PrzełącznikPrzełącznik bez wartości
Argumenty
| Argument | Typ | Typ | Opis |
|---|---|---|---|
--roles | Opcjonalnie | Text Words, text, numbers, letters | A list of comma separated roles. Prefixing # with a number can be used to designate a flock size |
--abort | Przełącznik | – | Abort the current running set of tests |
--fail | Przełącznik | – | Mark the current test NPC as failing |
--pass | Przełącznik | – | Mark the current test NPC as passing |
--preset | Przełącznik | – | Use the preset list of roles defined in the plugin for testing |
Uprawnienia
- Uprawnienie
hytale.npc.command.npc.runtests- Grupa domyślna
- WorldEditorz polecenia nadrzędnego
Grupy tworzą hierarchię: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Wyższa grupa dziedziczy uprawnienia niższych; nowi gracze trafiają do grupy Adventurer, a administratorzy (OP) mogą robić wszystko.