***MAJOR CHANGE***
THIS UPDATE REQUIRES A NEW DATA FILE AND CONFIG FILE.
I recommend you save your old Config and Data Files just in case you must revert to the prior version. I have done a ton of testing but I don't always catch everything!
PlayerSkins.vip (bypasses cost of skin) is now changed to PlayerSkins.free
I have revamped the Ban System to act as a Permission system instead. In doing so I moved the Banned Item and Skin Permissions to the Data file instead of keeping it in the config file. I recommend you make no manual changes to the Data file.
Ban Item still works the same. So you can ban an entire item from showing in the menu for all players.
Instead of Banning Skins you now will assign permissions to determine who can and cannot see it. Therefore, if you want to just hid skins from all players use a permission no one has!
Skin Permissions:
Now in the config file is a List of strings called 'permissions'. Any string you put into this list will be available as a permission within the game. On load of PlayerSkins all strings in this list will register as a permission. Therefore, if you put "test" as a permission on load it would register PlayerSkins.test.
Config shown in image below:
"permissions": [
"vip1",
"vip2",
"vip3",
"test1",
"test2",
"test3",
"test4",
"test5",
"test6",
"test7",
"test8",
"test9",
"test10"
],
Each of these permissions will automatically show as a permission option when you click a skin within admin mode. Each permission will provide (4) options: Assign, Deny, Assign All, Deny All.
Before I explain the permission options understand that if a skin has no permissions assigned to it then it is visible to everyone. If a skin has at-least one permission assigned then the player will need to have that permission or any other valid permission for that skin to see or use it! A skin can have as many or as few permissions as you want.
Assign: Allows Players with that permission to see that skin.
Deny: Removes that permission from the skin.
Assign All: Allows Players with that permission to see all skins within that item!
Deny All: Removes that permission from all skins within that item!
The follow views are only available in Admin Mode: