minetest-mods / skinsdb

Player skin mod, supporting unified_inventory, sfinv and smart_inventory
28 stars 41 forks source link

Chat commands to list and set skins #4

Closed bell07 closed 6 years ago

bell07 commented 6 years ago

Some players like to use chat commands instead of Inventory UI. Chat commands should allow to use private skins with unified_inventory and should be useable with all inventories.

Must have

/skinsdb list -- List all allowed private and public skins
/skinsdb list private -- List all private (player_playername*) skins
/skinsdb list public-- List all public (character_*) skins
/skinsdb set [skinname] -- Set Skin
mnh48 commented 6 years ago

the command /skinsdb list private should just list the user's private skin, not other users' private skin, except for the admin/moderator because they should be able to see list of all skins...

and one user should not able to set their skin as another user's private skin with chat command, unless they're admin/moderator...

but others might have different view ¯\_(ツ)_/¯