- Implement GetQBCorePlayers tool to retrieve player data structure, methods, events, and examples. - Implement GetQBCoreSharedData tool to retrieve shared data types including items, jobs, gangs, vehicles, weapons, starter items, and utilities. - Create corresponding Blade views for displaying player and shared data information. - Add tests for GetQBCoreConfig, GetQBCorePlayers, and GetQBCoreSharedData tools to ensure correct functionality and response handling.
29 lines
695 B
PHP
29 lines
695 B
PHP
## {{ $config['category'] }} Configuration
|
|
|
|
**Location:** `{{ $config['location'] }}`
|
|
|
|
{{ $config['description'] }}
|
|
|
|
### Configuration Options
|
|
| Option | Type | Description |
|
|
|--------|------|-------------|
|
|
@foreach($config['config_options'] as $option)
|
|
| `{{ $option['name'] }}` | {{ $option['type'] }} | {{ $option['description'] }} |
|
|
@endforeach
|
|
|
|
@if($language === 'lua')
|
|
### Lua Example
|
|
```lua
|
|
{{ $config['lua_example'] }}
|
|
```
|
|
@else
|
|
### JavaScript Example
|
|
```javascript
|
|
{{ $config['js_example'] }}
|
|
```
|
|
@endif
|
|
|
|
### Learn More
|
|
- [QBCore Configuration Guide](https://docs.qbcore.org/qbcore-documentation/qb-core/configuration)
|
|
- [QBCore Repository](https://github.com/qbcore-framework/qb-core)
|