qyl27 / NBTEdit

Minecraft In-Game NBTEdit is reborn now. Download from https://www.curseforge.com/minecraft/mc-mods/nbtedit-reborn .
https://modrinth.com/mod/nbtedit-reborn
GNU General Public License v3.0
33 stars 5 forks source link

Suggestion : Player in survivale wont be able to edit the nbt. #32

Closed AmibeSkyfy16 closed 4 months ago

AmibeSkyfy16 commented 5 months ago

Survival player can only show and copy the nbt on a nice GUI, no edit

qyl27 commented 5 months ago

Are you mean a read-only gui for some players who has no permission to edit? But I can't imagine the actual scenario, could you have a detailed description?

AmibeSkyfy16 commented 5 months ago

It would be nice, to see the nbt tag and to be able to copy it in a survival minecraft server. Just because im curious on certains stats... Of course if player is in survival, it is logic he cant edit, otherwise he could got an mending enchant or anything for free and it would be cheats

qyl27 commented 5 months ago

This mod was designed as an admin tool originally, and in some situation, NBT shouldn't be shown to players.
How about create a permission node for it?

AmibeSkyfy16 commented 5 months ago

Yeah i understand that. Implementing a permission node is a lot of work no ? So otherwise, like it's a mod for server admin and server creator, it would make sense to not allow player who are not OP to edit nbt right ?

Sry for that so bad english Xd

qyl27 commented 5 months ago

Forge has provided a PermissionAPI for that, no lots of work. I will provide a configuration to let server owner decide whether allow players to view NBT or not. Is that ok?

AmibeSkyfy16 commented 5 months ago

Ok, looks good