WorldGuard icon indicating copy to clipboard operation
WorldGuard copied to clipboard

Support for unicode characters in regions names

Open leolnid opened this issue 3 years ago • 4 comments

The Problem

There is a need to use different characters in the name of the regions.

A Solution

Request to expand the pattern to any characters (Ideally with space support)

Alternatives

No response

Anything Else?

No response

leolnid avatar Jan 06 '23 11:01 leolnid

WorldGuard does not have region names, it has unique identifiers for each region. These should not be used as "names". If you have a plugin that is incorrectly using this as a name, it should instead be adding a "display name" flag or similar that is handled in the way you're describing

me4502 avatar Jan 06 '23 11:01 me4502

duplicate of #1918

Joo200 avatar Jan 06 '23 12:01 Joo200

I am using PlaceholderAPI (https://api.extendedclip.com/expansions/worldguard/) This assumes that placeholders like %worldguard_region_name% have the wrong name :( (Expected placeholder name: worldguard_region_id)

But I understand that in general this is no longer for you :)

leolnid avatar Jan 07 '23 14:01 leolnid

Maybe you can tell them to create a custom flag for placeholder-name, which should be used instead.

That way there would be utf8 support and no issues with mutliple regions in the same spot.

Joo200 avatar Jan 07 '23 14:01 Joo200