/replace regex
Replace blocks matching a regex pattern (e.g., Rock_.* matches all Rock blocks, .*_Hardwood matches blocks ending in _Hardwood)
- Fonctionne uniquement lorsqu’un joueur exécute la commande, pas depuis la console du serveur.
Notation
/replace regex <from> <to…>
- Commande principalele nom de la commande, par lequel tout commence
- Sous-commandeSous-commande : un autre mot après la commande
- Obligatoireobligatoire, dans un ordre fixe
Arguments
| Argument | Type | Type | Description |
|---|---|---|---|
from | Obligatoire | Text Words, text, numbers, letters | The regex pattern to match block names against (must match the full block key) |
to | Obligatoire | Block Pattern: List A list of blocks with optional weights (e.g., [20%Rock_Stone, 80%Rock_Shale]) | The block pattern to replace matched blocks with |
Autorisations
- Autorisation
hytale.buildertools.command.replace.regex- Groupe par défaut
- WorldEditor
Les groupes sont hiérarchisés : Adventurer, Builder, WorldEditor, ServerEditor, Admin. Chaque groupe supérieur hérite des permissions des groupes inférieurs ; les nouveaux joueurs sont Adventurer, et les admins (OP) peuvent tout faire.