Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use non-alphanumeric nicknames? #1630

Closed
Midnight9746 opened this issue Nov 7, 2017 · 9 comments
Closed

Can I use non-alphanumeric nicknames? #1630

Midnight9746 opened this issue Nov 7, 2017 · 9 comments
Labels
status: open to PR Low priority enhancements that anyone is welcome to contribute. type: enhancement Features and feature requests.

Comments

@Midnight9746
Copy link

Midnight9746 commented Nov 7, 2017

Hello, I am wanting to use non-alphanumeric nicknames, but I can't seem to find that anywhere. I am a staff member on a mythology server and I wish to use Hades, as my name. But doing /nick Hades, just says "Must be alphnumric!". Any ideas?

Note:

I tried using essentials.nick's perms, bunch of plugins, and group manager, but I can't find a way to allow anything to be my nickname. I've seen many other servers that do have names using symbols and fancy font, but as far as I can Google. Nothing helps.

I heard of a permission for non-alphnumric but I don't know it, the person who suggested it didn't give the node

EssentialsX version (/essentials): 1.12.1

Server software (/version): Spigot 1.12.1

EssentialsX / Group Manager X, I don't think my config or groups have anything to do with it. I've already checked.

I am assuming it's possible, just wanna know how:
https://imgur.com/XdsTVae

Update:

It's possible to edit your essential user config (essentials > userdata > your UUID) and change your prefix to use non-alphanumeric nicknames. However, once you change your name again in-game, you can't go back without editing the config... Anyway to do this without the config, and in-game without other plugins?

@Midnight9746 Midnight9746 changed the title Can I use non-alphnumric nicknames? Can I use non-alphanumeric nicknames? Nov 9, 2017
@mdcfe
Copy link
Member

mdcfe commented Nov 11, 2017

Currently, this isn't possible without recompiling EssentialsX with changes. The alphanumeric characters check is done here, so you could remove the first check and rebuild EssentialsX.

If someone's willing to submit a PR that makes this configurable, feel free.

@mdcfe mdcfe added the type: enhancement Features and feature requests. label Nov 11, 2017
@mdcfe mdcfe added the help wanted Issues that need further investigation. label Feb 10, 2018
@mdcfe mdcfe added status: open to PR Low priority enhancements that anyone is welcome to contribute. and removed help wanted Issues that need further investigation. labels Feb 19, 2018
mdcfe pushed a commit that referenced this issue Sep 2, 2018
Pretty much what the title says. Closes #1630.

This is a fun little feature that I'm sure many people have always wanted. I can understand that the original authors of Essentials were probably concerned about users entering names that cannot display correctly in the chat, and that is understandable.

I have added a new permission "essentials.nick.allowunsafe", which must be given to anyone who is allowed to use characters outside of the alphanumeric set. The name of the permission is inspired from "essentials.enchantments.allowunsafe", which allows unsafe enchantment levels to be applied to items without guaranteed behaviour. Similarly, the permission "essentials.nick.allowunsafe" allows unsafe characters to be entered for the user's nickname without making any guarantee that those characters will show up in chat correctly.
@mdcfe
Copy link
Member

mdcfe commented Sep 2, 2018

In the 1.13 branch, you can now give users the permission essentials.nick.allowunsafe to let them use non-alphanumeric characters in nicknames.

Edit: this isn't in release builds from the normal download link yet. We don't recommend using 1.13 builds on 1.12 and below, but in their current state, they should be functional on both versions.

@Midnight9746
Copy link
Author

Aw sweet, Thank you so much, I'll get to updating the plugin now!

@Midnight9746
Copy link
Author

I've had gotten busy with other things and updated to version 1.13.2, and even from 1.13 this has been happening and I've used this link: https://github.com/EssentialsX/Essentials/tree/1.13 (Scroll down to the Jinkins link, which was like https://ci.ender.zone/job/EssentialsX/ but that link looked weird to me) and basically it works fine as normal and I have the perm but the nick part still won't work.

Is there a config setting or anything I'm missing? The plugin is from the 1.13 branch.
2018-11-01_01 38 09

@Xeyame
Copy link
Contributor

Xeyame commented Nov 1, 2018 via email

@Midnight9746
Copy link
Author

Thanks, that works, I'm so happy!

@soshimee
Copy link

soshimee commented Jan 8, 2021

Was this removed? I can't do this anymore for some reason.

@Chew
Copy link
Member

Chew commented Jan 9, 2021

Please make a new issue (filling out template completely)

@pop4959
Copy link
Member

pop4959 commented Jan 9, 2021

You need the essentials.nick.allowunsafe permission to use non-alphanumeric characters.

Keep in mind, this allows you to use any characters, which could cause potential problems such as incompatibilities with other plugins. Please test yourself before enabling the feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: open to PR Low priority enhancements that anyone is welcome to contribute. type: enhancement Features and feature requests.
Projects
None yet
Development

No branches or pull requests

6 participants