Simple Rename

Simple Rename

135k Downloads

Blocking specific names and then allowing them via permissions?

EcksEcksEcks opened this issue ยท 2 comments

commented

Hi there. I'm working on adding custom elytras to my server which involves renaming the items via an anvil. I would love to use this plugin to gatekeep players from renaming their elytra unless given a specific permission.

Do you know if this is possible at the moment or may be considered for a future update?
To confirm I want to be able to define multiple name permissions and not just one that unlocks them all.

eg:
sn.name.elytra1
sn.name.eltyra2
sn.name.eltyra3

This way I can individually give players these permissions to "unlock" the renaming and allow them to get the custom skins.

commented

Hello, thank you for opening an issue. I think it's a good idea, expect an update soon ;)

commented

After thinking a bit about this I am not sure if that would be the right implementation.
I see two main problems:

  • Permission collision. sr.name.MATERIAL_NAME is already in use to whitelist specific materials
  • It doesn't allow spaces in names
    Any other suggestion?