Hexaoxide / Carbon

Carbon is a modern chat plugin built on channels, with just about every single setting and format configurable.
https://modrinth.com/mod/carbon
GNU General Public License v3.0
131 stars 39 forks source link

Regardless of the variable the nicks feature changes the name at will. [Bug] #513

Closed ChrisTVH closed 3 months ago

ChrisTVH commented 3 months ago

Bug Description:

The alias commands of my server are not working because of the nicknames, no matter if I put a variable that indicates a clean name the nickname comes out.

What is not working as it should?

It always returns the nickname instead of a clean name.

Steps to reproduce:

  1. In my case activate the nicknames in carbon chat
  2. Right now I am using CMI for alias commands.
  3. Set up an alias command with any variable that returns a player name.

System Details:

  1. Server Type: Paper
  2. Server Software: git-Purpur-2175 (MC: 1.20.4)*
  3. MC Version: 1.19.4 - 1.21
  4. Carbon Version: 3.0.0-SNAPSHOT+3a93b78

Pastebins:

image image

Any other relevant details:

In short, no matter what variable I use it always returns the nickname and not the actual username.

ChrisTVH commented 3 months ago

I reopen this issue, because I happen to notice, either the npcs plugin or any alias command that is run as a player no matter what variable I stress "no matter what variable is used" is always changed to the carbon nickname.

jpenilla commented 3 months ago

I am having a hard time deciphering what this issue is about. But I am not able to reproduce any issues with PlaceholderAPI. Running /papi parse me %player_name% %carbonchat_nickname_l% returns Screenshot 2024-07-20 at 9 42 50 AM, as expected. Maybe you don't have the Player PAPI addon? Either way this issue cannot be looked into without a clear description of the problem and reproduction steps, with only PlaceholderAPI and Carbon installed (as mentioned in Discord).

ChrisTVH commented 3 months ago

Yes, I did that too and it came out correctly.

ChrisTVH commented 3 months ago

That is the same reason why I reopened it, because it is as if carbon changed the variable by the nickname instead of showing what the variable should give.

ChrisTVH commented 3 months ago

image Even if I use the variable %player_name% it is replaced by the nickname. image image You can't just close the issue without trying to understand why I opened it in the first place.

ChrisTVH commented 3 months ago

And obviously I'm using placeholderapi, literally no plugin would work properly without that.