Skip to content

Commit 7e37920

Browse files
authored
Merge pull request #114 from Zerio-Scripts/misc-improvements
feat: bossmenu v2
2 parents 0f7cb57 + 5b0355f commit 7e37920

27 files changed

+5157
-1626
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@
4444
"prettier": "^3.3.3",
4545
"typescript": "^5.6.3",
4646
"typescript-eslint": "^8.15.0"
47-
}
47+
},
48+
"packageManager": "pnpm@9.14.2+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387"
4849
}

pages/afterbuying.mdx

Lines changed: 170 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,179 @@
1-
# After buying
1+
import { Callout, Steps, Tabs, Cards } from "nextra/components";
2+
import {
3+
DownloadIcon,
4+
GearIcon,
5+
BookmarkIcon,
6+
ChatBubbleIcon
7+
} from "@radix-ui/react-icons";
28

3-
After buying a resource, we recommend you look through the documentation for that specific resource.
9+
# After Buying
410

5-
Most of the time, if not done automatically, you will have to execute the SQL files (if there are any).
11+
Congratulations on your purchase! This comprehensive guide will walk you through everything you need to know to successfully install, configure, and maintain your new Zerio-Scripts resource.
612

7-
You would also, just like any other resource, have to add/start it via your `server.cfg` file.
13+
## 🚀 Quick Start Checklist
814

9-
## Configuring the resource
15+
<Steps>
1016

11-
In all our resources, there are configuration files. Depending on when the resource was made, the file structure may differ.
17+
### Download Your Files
1218

13-
Generally, your configuration files would be one of these:
19+
1. Check your email for the download confirmation
20+
2. Visit [FiveM's Portal](https://portal.cfx.re) to download your files
21+
3. Extract the resource to a temporary location for review
1422

15-
- The `config.lua` file in the main project folder
16-
- All files in the `shared` folder in the main project folder
17-
- All files in the `config` folder in the main project folder
23+
### Review Documentation
1824

19-
## Community server
25+
1. Read the specific product documentation for your resource
26+
2. Check the requirements and compatibility information
27+
3. Review configuration options before installation
2028

21-
As someone interested, you are always welcome to join our [community server](http://docs.zerio-scripts.com). We **especially** recommend this for our customers, as a lot of important information is sent here.
29+
### Install and Configure
30+
31+
1. Upload files to your server's resources folder
32+
2. Import SQL files (if applicable)
33+
3. Add the resource to your `server.cfg`
34+
4. Configure settings to match your server setup
35+
36+
### Test and Launch
37+
38+
1. Start your server and test basic functionality
39+
2. Join our [community Discord](https://discord.zerio-scripts.com) for support
40+
3. Consider contributing feedback for future improvements
41+
42+
</Steps>
43+
44+
## 📁 File Management
45+
46+
### Downloading from the cfx.re Portal
47+
48+
<Callout type="info">
49+
All Zerio-Scripts products are delivered through FiveM's official Portal,
50+
ensuring secure and authenticated downloads.
51+
</Callout>
52+
53+
1. **Login to the cfx.re Portal**: Visit [portal.cfx.re](https://portal.cfx.re) using your FiveM account
54+
2. **Find Your Asset**: Locate your purchased resource in the "Granted Assets" section
55+
3. **Download Files**: Click the download button to get the latest version
56+
4. **Extract Archive**: Unzip the downloaded file to access the resource folder
57+
58+
## ⚙️ Installation Process
59+
60+
### Method 1: Standard Installation
61+
62+
1. Extract the downloaded ZIP file
63+
2. Copy the resource folder to `[server-folder]/resources/`
64+
3. Open your `server.cfg` file in a text editor
65+
4. Add `ensure zerio-resourcename` (replace with actual resource name)
66+
5. Save and restart your server
67+
68+
## 🗄️ Database Setup
69+
70+
### SQL File Import
71+
72+
Many resources require database tables. Import these **before** starting the resource:
73+
74+
<Tabs items={['phpMyAdmin', 'Command Line', 'HeidiSQL']}>
75+
<Tabs.Tab>
76+
1. Open phpMyAdmin in your web browser
77+
2. Select your FiveM database
78+
3. Click "Import" tab
79+
4. Choose the SQL file from the resource's `sql/` folder
80+
5. Click "Go" to execute the import
81+
</Tabs.Tab>
82+
<Tabs.Tab>
83+
```bash
84+
mysql -u username -p database_name < /path/to/resource/sql/install.sql
85+
```
86+
Replace `username` and `database_name` with your actual values.
87+
</Tabs.Tab>
88+
<Tabs.Tab>
89+
1. Open HeidiSQL and connect to your database
90+
2. Select your FiveM database
91+
3. Go to Tools → Load SQL file
92+
4. Select the SQL file from the resource
93+
5. Execute the script
94+
</Tabs.Tab>
95+
</Tabs>
96+
97+
<Callout type="warning">
98+
**Important**: Always backup your database before importing new SQL files.
99+
This ensures you can restore your data if something goes wrong.
100+
</Callout>
101+
102+
## 🛠️ Configuration Guide
103+
104+
### Configuration File Locations
105+
106+
Depending on when the resource was created, configuration files may be located in different places:
107+
108+
<Cards>
109+
<Cards.Card icon={<GearIcon />} title="Modern Structure" href="#" arrow />
110+
111+
<Cards.Card icon={<BookmarkIcon />} title="Legacy Structure" href="#" arrow />
112+
</Cards>
113+
114+
## 🔧 Testing Your Installation
115+
116+
### Basic Functionality Test
117+
118+
1. **Server Startup**: Check console for any error messages
119+
2. **Resource Loading**: Verify the resource starts without warnings
120+
3. **In-Game Testing**: Join your server and test basic functionality
121+
4. **Command Testing**: Try any included commands or interactions
122+
5. **Permission Testing**: Test with different user permission levels
123+
124+
### Common Test Scenarios
125+
126+
- **Player Interactions**: Test all player-facing features
127+
- **Admin Functions**: Verify administrative capabilities work
128+
- **Database Integration**: Confirm data is being saved/loaded correctly
129+
- **Multi-Player**: Test with multiple players if applicable
130+
- **Error Handling**: Test edge cases and error scenarios
131+
132+
## 📞 Getting Support
133+
134+
### Community Resources
135+
136+
<Cards>
137+
<Cards.Card
138+
icon={<ChatBubbleIcon />}
139+
title="Join Our Discord"
140+
href="https://discord.zerio-scripts.com"
141+
arrow
142+
/>
143+
144+
<Cards.Card
145+
icon={<BookmarkIcon />}
146+
title="Product Documentation"
147+
href="https://docs.zerio-scripts.com"
148+
arrow
149+
/>
150+
</Cards>
151+
152+
### When Asking for Help
153+
154+
To get the best support experience, please provide:
155+
156+
1. **Resource Name**: Which Zerio-Scripts product you're having issues with
157+
2. **Server Framework**: QBCore, ESX, or standalone
158+
3. **Error Messages**: Full console output including any error messages
159+
4. **Configuration**: Relevant parts of your configuration files
160+
5. **Steps to Reproduce**: Detailed steps that lead to the issue
161+
162+
### Important Announcements
163+
164+
Our Discord community is where we share:
165+
166+
- **Update Notifications**: When new versions are available
167+
- **Breaking Changes**: Important compatibility information
168+
- **Feature Announcements**: New features and improvements
169+
- **Community Tips**: User-generated guides and solutions
170+
171+
<Callout type="info">
172+
**Pro Tip**: Join our Discord community immediately after purchase. Many
173+
common questions are answered in our FAQ channels, and you'll be notified of
174+
important updates automatically.
175+
</Callout>
176+
177+
---
178+
179+
_Successfully installed? Great! Don't forget to check out the specific documentation for your resource to learn about advanced features and configuration options._

pages/beforebuying.mdx

Lines changed: 136 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,143 @@
1-
# Before buying
1+
import { Callout, Steps, Cards } from "nextra/components";
2+
import {
3+
ExternalLinkIcon,
4+
QuestionMarkCircledIcon,
5+
CheckCircledIcon
6+
} from "@radix-ui/react-icons";
27

3-
We always recommend you look through our showcase video and our requirements list before purchasing a resource.
8+
# Before Buying
49

5-
If you're unsure about the requirements, or such, please do contact us and ask!
10+
Making an informed purchase decision is important. This guide will help you understand our products, requirements, and purchasing process to ensure you get exactly what you need for your server.
611

7-
## So, how/where do I buy it?
12+
## 🎯 Research Your Purchase
813

9-
All purchases are done online, automatically, via our [webstore](https://store.zerio-scripts.com).
14+
<Steps>
1015

11-
These purchases can be made via a variety of different payment methods.
16+
### Review Product Features
1217

13-
## Why does my price differ?
18+
Each product page includes comprehensive information about features, capabilities, and use cases. Take time to review:
1419

15-
Your price always depends on which country you are from/in. More specifically, how much VAT your country takes on purchases. This is **not** something we can control and it is required by law that we pay it on your behalf.
20+
- Feature demonstrations in our showcase videos
21+
- Detailed product descriptions
22+
- Script requirements and compatibility
23+
- Screenshots and examples
24+
25+
### Check Compatibility
26+
27+
Ensure the product works with your current setup:
28+
29+
- **Framework**: QBCore, ESX, or standalone
30+
- **Database**: Whether it is required or not
31+
- **Dependencies**: Whether other additional resources are needed
32+
33+
### Understand Requirements
34+
35+
Every product lists specific technical requirements. Common requirements include:
36+
37+
- SQL database resource (oxmysql, ghmattimysql, mysql-async)
38+
- Framework-specific dependencies
39+
- Target system compatibility (ox_target, qtarget)
40+
- Minimum server specifications
41+
42+
</Steps>
43+
44+
## 🛒 Purchasing Process
45+
46+
<Cards>
47+
<Cards.Card
48+
icon={<ExternalLinkIcon />}
49+
title="Visit Our Store"
50+
href="https://store.zerio-scripts.com"
51+
arrow
52+
/>
53+
54+
<Cards.Card
55+
icon={<QuestionMarkCircledIcon />}
56+
title="Need Help?"
57+
href="https://discord.zerio-scripts.com"
58+
arrow
59+
/>
60+
</Cards>
61+
62+
### Payment Methods
63+
64+
We accept various payment methods through our secure online store:
65+
66+
- **Credit/Debit Cards**: Visa, MasterCard, American Express
67+
- **Digital Wallets**: PayPal, Apple Pay, Google Pay
68+
- **Regional Options**: Local payment methods based on your location
69+
70+
### Instant Delivery
71+
72+
All purchases are **automatically processed** and delivered instantly:
73+
74+
- ✅ Immediate access after payment confirmation
75+
- ✅ Download links sent to your email
76+
- ✅ Lifetime updates included
77+
78+
## 💰 Pricing Information
79+
80+
### Regional Pricing
81+
82+
Your final price depends on your location due to **Value Added Tax (VAT)** requirements:
83+
84+
<Callout type="info">
85+
VAT is a legal requirement that varies by country/region. This tax is
86+
automatically calculated and included in your final price. We cannot control
87+
or modify VAT rates as they are set by local governments.
88+
</Callout>
89+
90+
**Common VAT Rates:**
91+
92+
- EU Countries: 19-27%
93+
- UK: 20%
94+
- Canada: 5-15% (varies by province)
95+
- Australia: 10%
96+
- United States: Tax-free for digital products
97+
98+
### What's Included
99+
100+
Every purchase includes:
101+
102+
-**Partial source code**: A file with editable functions for each script
103+
-**Lifetime Updates**: All future versions of the specific product at no extra cost
104+
-**Community Support**: Access to our Discord community for support
105+
-**Documentation**: Comprehensive setup and usage guides
106+
-**FiveM Asset Protection**: Secure asset delivery of the product
107+
108+
## ❓ Pre-Purchase Questions
109+
110+
### Common Concerns
111+
112+
**"Will this work with my framework?"**
113+
114+
- Check the requirements section on each product page
115+
- Most products support both QBCore and ESX
116+
- Framework-specific notes are clearly marked
117+
118+
**"Can I modify the code?"**
119+
Yes, partially atleast! Our script(s) are protected via FiveMs asset system, which does mean they are obfuscated. However, we do provide a file with editable functions for each script.
120+
121+
**"What if I need help after purchase?"**
122+
123+
- Join our community Discord for support
124+
- Read through our comprehensive documentation
125+
- Get help from either our staff or community members
126+
127+
**"How do I know if updates are available?"**
128+
129+
- Updates are announced in our Discord
130+
- Download updated versions from the cfx.re Portal
131+
132+
### Still Unsure?
133+
134+
<Callout type="default">
135+
If you have questions about compatibility, features, or anything else, **please contact us before purchasing**. We're here to help ensure you make the right choice for your server.
136+
137+
Join our [community Discord](https://discord.zerio-scripts.com) or create a support ticket for personalized assistance.
138+
139+
</Callout>
140+
141+
---
142+
143+
_Ready to purchase? Visit our [store](https://store.zerio-scripts.com) to browse our complete catalog._

pages/bossmenu/_meta.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
export default {
2-
description: "Description",
3-
installationguide: "Installation guide",
4-
faq: "Frequently asked questions",
5-
devdocs: "Developer documentation"
2+
description: "Overview",
3+
features: "Features",
4+
installationguide: "Installation Guide",
5+
configuration: "Configuration",
6+
faq: "FAQ",
7+
devdocs: "Developer Documentation"
68
};

0 commit comments

Comments
 (0)