mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-01 21:39:07 +02:00
core: add support for sign text transformations
Add support for regexp replacement patterns, which can be useful when the text matched by --sign-filter or --sign-prefix should not be displayed.
This commit is contained in:
parent
a99a734df8
commit
8a1a26c13c
4 changed files with 71 additions and 2 deletions
|
@ -75,6 +75,12 @@ All prefixes and filters are applied to the front and back text separately, but
|
|||
both the front and the back text will be shown in the popup when one of them
|
||||
matches.
|
||||
|
||||
Finally, `--sign-transform` allows to specify sed-style replacement patterns to
|
||||
modify the text displayed on the map. This can be used if the text matched by
|
||||
`--sign-prefix` or `--sign-filter` should not be displayed:
|
||||
`--sign-filter 's/\[Map\]//'` would replace each occurence of "\[Map\]" with
|
||||
the empty string.
|
||||
|
||||
## Installation
|
||||
|
||||
Binary builds of the map generator for Linux and Windows, as well as an archive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue