feat: allow players to nick themselves with any characters

Since people can already do it with command blocks...

This is the fastest way to do it, as the regex check is performed before the permission one.
This commit is contained in:
amyavi 2025-03-27 00:38:47 -03:00
parent 4688964901
commit 2f6bc0e090
Signed by: amy
SSH key fingerprint: SHA256:CoLIqZWDYPZEhs1j1HQWwV0j1JhC3BFWcaUF7ZLZHJA
2 changed files with 6 additions and 1 deletions
permissions.yml
plugins/Essentials

View file

@ -28,6 +28,11 @@ op:
geyser.command.reload: false
geyser.command.stop: false
# Essentials requires this permission to be explicitly granted
# to players
essentials.nick.allowunsafe: true
# Due to WorldEdit permission shenanigans, we have to grant
# permissions manually to enforce block edit limits

View file

@ -36,7 +36,7 @@ max-nick-length: 64
# The regex pattern used to determine if a requested nickname should be allowed for use.
# If the a requested nickname does not matched this pattern, the nickname will be rejected.
# Users with essentials.nick.allowunsafe will be able to bypass this check.
allowed-nicks-regex: '^[a-zA-Z_0-9§]+$'
allowed-nicks-regex: ''
# A list of phrases that cannot be used in nicknames. You can include regular expressions here.
# Users with essentials.nick.blacklist.bypass will be able to bypass this filter.