Zrips / CMI

115 stars 97 forks source link

Can have armorstand renamed with colors/format in inventory without permission #8850

Closed PoliticraftMC closed 3 months ago

PoliticraftMC commented 3 months ago

Description of Issue

A player can rename an armor stand through the armor stand interface, then break it and have it in their inventory renamed with potentially colors and formatting, even though they do not have the permissions to rename items.

Version Information

[15:14:45 INFO]: --------------------------------------------------
[15:14:45 INFO]: Version du plugin CMI : 9.7.2.4 Unknown CMIB  MySQL-> 9.7.4.0
[15:14:45 INFO]: CMILib: 1.4.7.16 -> 1.5.0.1
[15:14:45 INFO]: Server: Paper(307) 1.20.2-R0.1-SNAPSHOT-
[15:14:45 INFO]: CMI economy: Activé Vault: 1.6.10(+) CMI Chat: Activé 
[15:14:45 INFO]: Modules -> 57 enabled 2 disabled: tablist, votifier
[15:14:45 INFO]: --------------------------------------------------

Errors

No response

Relevant Config Sections

No response

Relevant Plugins

No response

Agreements

Zrips commented 3 months ago

Will add additional permission node as cmi.command.armorstand.renaming just to separate option from changing armor stand name visibility and its renaming.