Skip to content

Commit 574372b

Browse files
committed
chore: resolve lint/format issues
1 parent 85350e1 commit 574372b

File tree

14 files changed

+1943
-1627
lines changed

14 files changed

+1943
-1627
lines changed

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
5+
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

pages/bossmenu/configuration.mdx

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import { Callout, Tabs } from "nextra/components";
55
This comprehensive guide covers all configuration options available in Zerio Bossmenu. Each configuration file serves a specific purpose and allows you to customize the script to your server's needs.
66

77
<Callout type="warning">
8-
**Important**: Always restart your server or the resource after making configuration changes. Some changes may require database updates or framework modifications.
8+
**Important**: Always restart your server or the resource after making
9+
configuration changes. Some changes may require database updates or framework
10+
modifications.
911
</Callout>
1012

1113
## Configuration Files Overview
@@ -41,6 +43,7 @@ Config.ManagementScript = "esx_society"
4143
```
4244

4345
**Supported Options:**
46+
4447
- `esx_society` - ESX society system
4548
- `qb-management` - QBCore management
4649
- `qb-banking` - QBCore banking
@@ -49,7 +52,8 @@ Config.ManagementScript = "esx_society"
4952
- `fd_banking` - FD Banking
5053

5154
<Callout type="info">
52-
**Custom Banking**: You can add support for custom banking systems by modifying the banking functions in `server/functions.lua`.
55+
**Custom Banking**: You can add support for custom banking systems by
56+
modifying the banking functions in `server/functions.lua`.
5357
</Callout>
5458

5559
### Employee Management
@@ -69,6 +73,7 @@ Config.TrackWorkSessions = true -- Enable work session monitoring
6973
```
7074

7175
When enabled, this feature tracks:
76+
7277
- Employee clock-in/clock-out times
7378
- Session duration
7479
- Activity logging
@@ -86,6 +91,7 @@ Config.MaxSalaries = {
8691
```
8792

8893
**Usage:**
94+
8995
- Set maximum salary per job to prevent abuse
9096
- Use `nil` or omit entry for no limit
9197
- Applies to both individual and role-based salaries
@@ -107,6 +113,7 @@ Config.PlateSecondLength = 3 -- Length of second part of plate
107113
```
108114

109115
**Examples:**
116+
110117
- `ABC123` (PlateFirstLength=3, PlateHasSpace=false, PlateSecondLength=3)
111118
- `ABC 123` (PlateFirstLength=3, PlateHasSpace=true, PlateSecondLength=3)
112119

@@ -150,7 +157,8 @@ Enable for troubleshooting. Adds extra console output for debugging purposes.
150157
## Framework Configuration (`configs/framework.lua`)
151158

152159
<Callout type="info">
153-
**Auto-Detection**: This file usually doesn't need modification as framework detection is automatic.
160+
**Auto-Detection**: This file usually doesn't need modification as framework
161+
detection is automatic.
154162
</Callout>
155163

156164
```lua
@@ -167,6 +175,7 @@ end
167175
```
168176

169177
**Manual Override** (if needed):
178+
170179
```lua
171180
Config.Framework = "esx" -- Force framework type
172181
Config.FrameworkResourceName = "my_custom_esx" -- Custom resource name
@@ -182,37 +191,23 @@ Config.HelpTextType = "normal"
182191

183192
**Available Options:**
184193

185-
<Tabs items={['Normal', 'Target', 'Proximity']}>
186-
<Tabs.Tab>
187-
**Normal** - Standard floating help text
188-
189-
```lua
190-
Config.HelpTextType = "normal"
191-
Config.OpenKey = 38 -- E key (default)
192-
```
193-
194-
Shows standard FiveM help text when near boss menu positions.
195-
</Tabs.Tab>
196-
194+
<Tabs items={["Normal", "Target", "Proximity"]}>
197195
<Tabs.Tab>
198-
**Target** - Targeting script integration
199-
200-
```lua
201-
Config.HelpTextType = "target"
202-
Config.TargetScript = "ox_target" -- or "qb-target", "qtarget"
203-
```
204-
205-
Integrates with popular targeting scripts for immersive interaction.
196+
**Normal** - Standard floating help text ```lua Config.HelpTextType =
197+
"normal" Config.OpenKey = 38 -- E key (default) ``` Shows standard FiveM
198+
help text when near boss menu positions.
206199
</Tabs.Tab>
207-
200+
201+
<Tabs.Tab>
202+
**Target** - Targeting script integration ```lua Config.HelpTextType =
203+
"target" Config.TargetScript = "ox_target" -- or "qb-target", "qtarget" ```
204+
Integrates with popular targeting scripts for immersive interaction.
205+
</Tabs.Tab>
206+
208207
<Tabs.Tab>
209-
**Proximity** - Zerio proximity prompts
210-
211-
```lua
212-
Config.HelpTextType = "proximity"
213-
```
214-
215-
Requires `zerio-proximityprompt` resource for enhanced proximity interactions.
208+
**Proximity** - Zerio proximity prompts ```lua Config.HelpTextType =
209+
"proximity" ``` Requires `zerio-proximityprompt` resource for enhanced
210+
proximity interactions.
216211
</Tabs.Tab>
217212
</Tabs>
218213

@@ -223,6 +218,7 @@ Config.TargetScript = "ox_target"
223218
```
224219

225220
**Supported Scripts:**
221+
226222
- `ox_target` - Overextended target
227223
- `qb-target` - QBCore target
228224
- `qtarget` - Standalone qtarget
@@ -289,21 +285,25 @@ Config.ActivityRetentionDays = 30 -- How many days to keep activity logs
289285
### Common Problems
290286

291287
**Menu Not Opening:**
288+
292289
1. Check `Config.HelpTextType` matches your setup
293290
2. Verify `Config.TargetScript` if using target mode
294291
3. Ensure boss menu positions are created via admin menu
295292

296293
**Framework Integration Issues:**
294+
297295
1. Verify `Config.Framework` detection
298296
2. Check `Config.FrameworkResourceName` matches your setup
299297
3. Ensure proper load order in server.cfg
300298

301299
**Banking Problems:**
300+
302301
1. Confirm `Config.ManagementScript` matches your banking system
303302
2. Verify banking integration in `server/functions.lua`
304303
3. Check society/gang accounts exist
305304

306305
**Permission Issues:**
306+
307307
1. Review admin permissions configuration
308308
2. Verify job grades have proper access
309309
3. Check framework permission system integration
@@ -318,15 +318,17 @@ After configuration changes:
318318
4. **Review Logs**: Check for any warning messages
319319

320320
<Callout type="info">
321-
**Configuration Templates**: Example configurations for common setups are available in our Discord community.
321+
**Configuration Templates**: Example configurations for common setups are
322+
available in our Discord community.
322323
</Callout>
323324

324325
## Next Steps
325326

326327
After completing configuration:
328+
327329
1. Set up boss menu positions using the admin command
328330
2. Configure job-specific vehicle and item catalogs
329331
3. Test employee management features
330332
4. Review and adjust permissions as needed
331333

332-
For advanced customization options, see the [Developer Documentation](/bossmenu/devdocs) section.
334+
For advanced customization options, see the [Developer Documentation](/bossmenu/devdocs) section.

pages/bossmenu/description.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ And most other major inventories, contact us if you're unsure, or want explicit
117117
<Callout type="info">
118118
**Custom Integration Support**: The script is designed with extensibility in
119119
mind. Custom integrations can be easily added through the modular functions
120-
system in `server/functions.lua` and `client/functions.lua`. Contact us first if you're unsure!
120+
system in `server/functions.lua` and `client/functions.lua`. Contact us first
121+
if you're unsure!
121122
</Callout>
122123

123124
## ✨ Why Choose Zerio Bossmenu?

0 commit comments

Comments
 (0)