Skip to content

Commit 8273dae

Browse files
committed
Add it_bridge
1 parent aa6e7f9 commit 8273dae

29 files changed

+1083
-24
lines changed

pages/_meta.json

+6
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
"type": "separator",
2626
"title": "Scripts"
2727
},
28+
"it_bridge": {
29+
"title": "⚙️・it_bridge",
30+
"theme": {
31+
"footer": false
32+
}
33+
},
2834
"it-drugs": {
2935
"title": "🌱・it-drugs",
3036
"theme": {
+24-24
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"zones": {
3-
"title": "🗺️・Zones",
4-
"theme": {
5-
"footer": false
2+
"zones": {
3+
"title": "🗺️・Zones",
4+
"theme": {
5+
"footer": false
6+
}
7+
},
8+
"recipes": {
9+
"title": "📜・Recipes",
10+
"theme": {
11+
"footer": false
12+
}
13+
},
14+
"crafting-points": {
15+
"title": "📍・Crafting Points",
16+
"theme": {
17+
"footer": false
18+
}
19+
},
20+
"crafting-tables": {
21+
"title": "⚙️・Crafting Tables",
22+
"theme": {
23+
"footer": false
24+
}
625
}
7-
},
8-
"recipes": {
9-
"title": "📜・Recipes",
10-
"theme": {
11-
"footer": false
12-
}
13-
},
14-
"crafting-points": {
15-
"title": "📍・Crafting Points",
16-
"theme": {
17-
"footer": false
18-
}
19-
},
20-
"crafting-tables": {
21-
"title": "⚙️・Crafting Tables",
22-
"theme": {
23-
"footer": false
24-
}
25-
}
26-
}
26+
}

pages/it_bridge.mdx

+92
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
title: "it-crafting"
3+
description: "Easy to use advanced Crafting-System! Ready for every big FiveM Framework"
4+
---
5+
6+
import YouTube from '@components/YouTube'
7+
import ExternLink from '@components/ExternLink'
8+
9+
[![Crafting Banner](https://i.imgur.com/8bJSAW7.png)](https://github.com/it-scripts/it-crafting?tab=readme-ov-file#it-crafting "Go to repo")
10+
11+
Bridge resource that makes it possible for all future it-scripts to be compatible with the following frameworks, inventories, etc:
12+
13+
### Supported Frameworks
14+
- `` **| ESX**
15+
- `` **| QbCore**
16+
- `` **| QBox**
17+
- `` **| NDCore**
18+
19+
### Supported Inventorys
20+
- `` **| esx_inventory**
21+
- `` **| qb_inventory**
22+
- `` **| ps-inventory**
23+
- `` **| qs_inventory**
24+
- `` **| ox_inventory**
25+
- `` **| codem-inventory**
26+
- `` **| origen-inventory**
27+
28+
### Supported Interactions
29+
- `` **| ox_target**
30+
- `` **| qb-target**
31+
- `` **| distance interaction (press [E])**
32+
33+
### Supported Notifications
34+
- `` **| brutal_notify**
35+
- `` **| ox_lib**
36+
- `` **| esx_notify**
37+
- `` **| qb-core**
38+
- `` **| es_extended**
39+
- `` **| mythic_notify**
40+
- `` **| okokNotify**
41+
42+
### Supported TextUIs
43+
- `` **| ox_lib**
44+
- `` **| qb-core**
45+
- `` **| esx_textui**
46+
47+
### Supported Menus
48+
- `` **| esx_context**
49+
- `` **| ox_lib - context**
50+
- `` **| qb-menu**
51+
52+
### Supported Menus
53+
- `` **| qs-dispatch**
54+
- `` **| ps-dispatch**
55+
- `` **| cd_disaptch**
56+
- `` **| codem_dispatch**
57+
- `` **| emergency_dispatch**
58+
- `` **| origen_police**
59+
60+
<br/>
61+
<table>
62+
<tbody>
63+
<tr>
64+
<td>
65+
<h4 align='center'>Legal Notices</h4>
66+
</td>
67+
</tr>
68+
<tr>
69+
<td>
70+
it_bridge (it-scripts)
71+
72+
Copyright (C) 2024 [it-scripts](https://github.com/it-scripts)
73+
74+
This program is free software: you can redistribute it and/or modify
75+
it under the terms of the GNU General Public License as published by
76+
the Free Software Foundation, either version 3 of the License, or
77+
(at your option) any later version.
78+
79+
80+
This program is distributed in the hope that it will be useful,
81+
but WITHOUT ANY WARRANTY; without even the implied warranty of
82+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83+
GNU General Public License for more details.
84+
85+
86+
You should have received a copy of the GNU General Public License
87+
along with this program.
88+
If not, see https://www.gnu.org/licenses/
89+
</td>
90+
</tr>
91+
</tbody>
92+
</table>

pages/it_bridge/_category_.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
collapsible: true
2+
collapsed: true
3+
link:
4+
type: generated-index
5+
description: Easy to use advanced Crafting-System! Ready for every big FiveM framework

pages/it_bridge/_meta.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"config-preview": {
3+
"title": "👀・Config Preview",
4+
"theme": {
5+
"footer": false
6+
}
7+
},
8+
"installation": {
9+
"title": "📥・Installation",
10+
"theme": {
11+
"footer": false
12+
}
13+
},
14+
"exports": "⚙️・Exports"
15+
}
16+

pages/it_bridge/config-preview.mdx

+131
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
---
2+
title: it-crafting - Config Preview
3+
description: Full configuration preview of the it-crafting script
4+
---
5+
6+
7+
# Config Preview
8+
Here you can find the full configuration of the it_bridge script.
9+
10+
```lua
11+
-- ┌───────────────────────────────────────────┐
12+
-- │ ___ _____ _ _ _ │
13+
-- │|_ _|_ _| | |__ _ __(_) __| | __ _ ___ │
14+
-- │ | | | | | '_ \| '__| |/ _` |/ _` |/ _ \│
15+
-- │ | | | | | |_) | | | | (_| | (_| | __/│
16+
-- │|___| |_|___|_.__/|_| |_|\__,_|\__, |\___|│
17+
-- │ |_____| |___/ │
18+
-- └───────────────────────────────────────────┘
19+
-- Configuration file for the bridge resource
20+
21+
Config = Config or {}
22+
23+
--[[
24+
Supported frameworks:
25+
* AUTO_DETECT: auto-detect framework
26+
* Framework.ESX: es_extended, https://github.com/esx-framework/esx_core
27+
* Framework.QBCore: qb-core, https://github.com/qbcore-framework/qb-core
28+
* Framework.QBOX: qbx_core, https://github.com/Qbox-project/qbx_core
29+
* Framework.NDCore: ND_Core, https://github.com/ND-Framework/ND_Core
30+
]]
31+
Config.Framework = AUTO_DETECT
32+
Config.FrameworkAdminGroups = {
33+
[Framework.ESX] = { 'superadmin', 'admin' },
34+
[Framework.QBCore] = { 'god', 'admin' },
35+
[Framework.QBOX] = { 'god', 'admin' },
36+
}
37+
38+
39+
--[[
40+
Supported inventories:
41+
* AUTO_DETECT: auto-detect inventory [Only detecting supported inventories below]
42+
* Inventories.ESX: es_extended, https://github.com/esx-framework/esx_core
43+
* Inventories.QB: qb-inventory, https://github.com/qbcore-framework/qb-inventory
44+
* Inventories.PS: ps-inventory, https://github.com/Project-Sloth/ps-inventory
45+
* Inventories.QS: qs-inventory,
46+
* Inventories.OX: ox_inventory,
47+
* Inventories.CODEM: codem-inventory
48+
* Inventories.ORIGEN: origen-inventory
49+
]]
50+
51+
Config.Inventories = AUTO_DETECT
52+
Config.InventoryImgPath = {
53+
[Inventories.QB] = "qb-inventory/html/images/",
54+
[Inventories.PS] = "ps-inventory/html/images/",
55+
[Inventories.QS] = "qs-inventory/html/images/",
56+
[Inventories.OX] = "ox_inventory/web/images/",
57+
[Inventories.CODEM] = "codem-inventory/html/images/",
58+
[Inventories.ORIGEN] = "origen-inventory/html/images/",
59+
}
60+
61+
--[[
62+
Supported interactions:
63+
* AUTO_DETECT: auto-detect interactions [Only detecting supported interactions below]
64+
* Interactions.OX: ox_target,
65+
* Interactions.QB: qb-target,
66+
* Interactions.MV, ps-inventory,
67+
* Interactions.NONE, distance interaction - press [E]
68+
]]
69+
Config.Interactions = AUTO_DETECT
70+
71+
72+
--[[
73+
Supported phone resources:
74+
* AUTO_DETECT: auto-detect phone resource
75+
* Phones.LB: lb_phone,
76+
]]
77+
Config.Phones = AUTO_DETECT
78+
79+
--[[
80+
Supported Notify resources:
81+
* AUTO_DETECT: auto-detect Notify resource
82+
* Notifications.BRUTAL: brutal_notify,
83+
* Notifications.OX: ox_lib,
84+
* Notifications.ESX_NOTIFY: esx_notify,
85+
* Notifications.QBCORE: qb-core,
86+
* Notifications.ESX: es_extended,
87+
* Notifications.MYTHIC: mythic_notify,
88+
* Notifications.OKOK: okokNotify,
89+
]]
90+
Config.Notifications = AUTO_DETECT
91+
Config.NotificationsSettings = {
92+
Success = 'success',
93+
Info = 'primary',
94+
Warning = 'warning',
95+
Error = 'error',
96+
}
97+
98+
--[[
99+
Supported TextUI resources:
100+
* AUTO_DETECT: auto-detect TextUI resource
101+
* TextUI.OX: ox_lib,
102+
* TextUI.QBCORE: qb-core,
103+
* TextUI.ESX: esx_textui,
104+
* STANDALONE: no TextUI resource found.
105+
]]
106+
107+
Config.TextUI = AUTO_DETECT
108+
109+
--[[
110+
Supported Menu:
111+
* AUTO_DETECT: auto-detect menu
112+
* Menus.ESX_CONTEXT: esx_context,
113+
* Menus.OX: ox_lib - context,
114+
* Menus.QB: qb-menu,
115+
]]
116+
Config.Menus = AUTO_DETECT
117+
118+
--[[
119+
Supported dispatches:
120+
* AUTO_DETECT: auto-detect dispatch resources
121+
* Dispatches.QS, qs-dispatch
122+
* Dispatches.PS, ps-dispatch
123+
* Dispatches.CD, cd_disaptch
124+
* Dispatches.CODEM, codem_dispatch
125+
* Dispatches.LOVE_SCRIPTS, emergency_dispatch
126+
* Dispatches.ORIGEN, origen_police
127+
]]
128+
129+
Config.Dispatches = AUTO_DETECT
130+
```
131+

pages/it_bridge/exports/_meta.json

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"disptach": {
3+
"title": "⛑・Disptach System"
4+
},
5+
"framework": {
6+
"title": "💾・Framework"
7+
},
8+
"interaction": {
9+
"title": "👀・Interaction"
10+
},
11+
"inventory": {
12+
"title": "🛒・Inventory"
13+
},
14+
"menus": {
15+
"title": "🗂️・Menus"
16+
},
17+
"notification": {
18+
"title": "📨・Notification"
19+
},
20+
"textui": {
21+
"title": "📋・Text UI"
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"client": {
3+
"title": "Client",
4+
"theme": {
5+
"footer": false
6+
}
7+
},
8+
"server": {
9+
"title": "Server",
10+
"theme": {
11+
"footer": false
12+
}
13+
}
14+
}
15+

0 commit comments

Comments
 (0)