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

[Feature request] pretty-print the node's meta, hide private meta #3

Open
VanessaE opened this issue Sep 20, 2018 · 3 comments
Open

Comments

@VanessaE
Copy link

VanessaE commented Sep 20, 2018

This should be addressed if possible:

image

The meta should be displayed in some more readable way, maybe just "dumped" similar to the node definition. Might be a good idea to do the same for the meta inventory, (though the node being inspected in that image is not affected).

Also, I think it would be a good idea to prevent the inspector from revealing "private" meta unless the wielder has sufficient privileges, or is the node's owner.

@sofar
Copy link
Member

sofar commented Apr 26, 2019

This item shouldn't be available by default, let's address that issue instead?

@VanessaE
Copy link
Author

It's good that it is available though -- but perhaps one ought to have "server" privilege for that to show up?

Treer added a commit to Treer/inspector that referenced this issue Jul 21, 2019
Implement part of feature request minetest-mods#3
Increase indent in table dumps
sofar pushed a commit that referenced this issue Aug 6, 2019
Implement part of feature request #3
Increase indent in table dumps
@FaceDeer
Copy link
Member

If my latest pull request goes through then only players with the "server" privilege will be able to use the inspector tool. That's already the case for the chat command version. Hopefully this will protect private metadata sufficiently while still letting modders see it for their work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants