Skip to content

Commit

Permalink
Merge pull request #52 from iLLeniumStudios/prop-blacklisting
Browse files Browse the repository at this point in the history
feat(resource): Props blacklisting support
  • Loading branch information
TheiLLeniumStudios authored May 14, 2022
2 parents fb2e90b + e4e5c83 commit 3b185ad
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 104 deletions.
128 changes: 73 additions & 55 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Discord: https://discord.gg/ZVJEkjUTkx
- Player specific outfit locations (Restricted via CitizenID)
- Makeup Secondary Color
- QBCore Theme
- Clothing Blacklist support
- Component & Props Blacklist support

## New Preview (with Tattoos)

Expand Down Expand Up @@ -99,62 +99,80 @@ Here is how the JSON file would look like, for such configuration:
```json
{
"male": {
"masks": [
{
"drawable": 10
},
{
"drawable": 11
},
{
"drawable": 12
},
{
"drawable": 13
},
{
"drawable": 14,
"textures": [5, 7, 10, 11, 12, 13]
}
],
"upperBody": [],
"lowerBody": [],
"bags": [],
"shoes": [],
"scarfAndChains": [],
"shirts": [],
"bodyArmor": [],
"decals": [],
"jackets": [
{
"drawable": 10
},
{
"drawable": 11,
"textures": [1, 2, 3]
},
{
"drawable": 12
},
{
"drawable": 13
},
{
"drawable": 18
}
]
"components": {
"masks": [
{
"drawable": 10
},
{
"drawable": 11
},
{
"drawable": 12
},
{
"drawable": 13
},
{
"drawable": 14,
"textures": [ 5, 7, 10, 11, 12, 13 ]
}
],
"upperBody": [],
"lowerBody": [],
"bags": [],
"shoes": [],
"scarfAndChains": [],
"shirts": [],
"bodyArmor": [],
"decals": [],
"jackets": [
{
"drawable": 10
},
{
"drawable": 11,
"textures": [ 1, 2, 3 ]
},
{
"drawable": 12
},
{
"drawable": 13
},
{
"drawable": 18
}
]
},
"props": {
"hats": [],
"glasses": [],
"ear": [],
"watches": [],
"bracelets": []
}
},
"female": {
"masks": [],
"upperBody": [],
"lowerBody": [],
"bags": [],
"shoes": [],
"scarfAndChains": [],
"shirts": [],
"bodyArmor": [],
"decals": [],
"jackets": []
"components": {
"masks": [],
"upperBody": [],
"lowerBody": [],
"bags": [],
"shoes": [],
"scarfAndChains": [],
"shirts": [],
"bodyArmor": [],
"decals": [],
"jackets": []
},
"props": {
"hats": [],
"glasses": [],
"ear": [],
"watches": [],
"bracelets": []
}
}
}
```
Expand Down
58 changes: 38 additions & 20 deletions blacklist.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,44 @@
{
"male": {
"masks": [],
"upperBody": [],
"lowerBody": [],
"bags": [],
"shoes": [],
"scarfAndChains": [],
"shirts": [],
"bodyArmor": [],
"decals": [],
"jackets": []
"components": {
"masks": [],
"upperBody": [],
"lowerBody": [],
"bags": [],
"shoes": [],
"scarfAndChains": [],
"shirts": [],
"bodyArmor": [],
"decals": [],
"jackets": []
},
"props": {
"hats": [],
"glasses": [],
"ear": [],
"watches": [],
"bracelets": []
}
},
"female": {
"masks": [],
"upperBody": [],
"lowerBody": [],
"bags": [],
"shoes": [],
"scarfAndChains": [],
"shirts": [],
"bodyArmor": [],
"decals": [],
"jackets": []
"components": {
"masks": [],
"upperBody": [],
"lowerBody": [],
"bags": [],
"shoes": [],
"scarfAndChains": [],
"shirts": [],
"bodyArmor": [],
"decals": [],
"jackets": []
},
"props": {
"hats": [],
"glasses": [],
"ear": [],
"watches": [],
"bracelets": []
}
}
}
2 changes: 1 addition & 1 deletion game/dist/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit 3b185ad

Please sign in to comment.