mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 22:22:46 +00:00
new docs
This commit is contained in:
1 parent
3cebaf7fa5
commit
b5eba8423f
229 files changed
+6238
-10690
No files matched your search
@@ -0,0 +1,53 @@
|
||||
import { Steps } from 'nextra-theme-docs';
|
||||
import { Callout } from 'nextra/components';
|
||||
import ResourceLinks from '@components/resource-links';
|
||||
|
||||
<ResourceLinks repo="https://github.com/overextended/ox_doorlock" />
|
||||
|
||||
A door management resource that can be used standalone or alongside ox_core, qb-core, and es_extended.
|
||||
|
||||
## Installation
|
||||
|
||||
<Callout type="info">
|
||||
|
||||
We **strongly** recommend referring to [Guides](../guides) for setting up Git, Node.js, and pnpm.
|
||||
|
||||
</Callout>
|
||||
|
||||
<Steps>
|
||||
### Install all resource dependencies.
|
||||
- [oxmysql](../oxmysql)
|
||||
- [ox_lib](../ox_lib/)
|
||||
|
||||
### Download a [release](https://github.com/overextended/ox_doorlock/releases) or build the source code.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/overextended/ox_doorlock.git
|
||||
cd ox_doorlock/web
|
||||
pnpm i
|
||||
pnpm build
|
||||
```
|
||||
|
||||
### Install optional dependencies.
|
||||
|
||||
These resources aren't required but provide additional functionality.
|
||||
|
||||
- [ox_target](../ox_target/) or [qb-target](https://github.com/qbcore-framework/qb-target)
|
||||
|
||||
</Steps>
|
||||
|
||||
## Opening the UI
|
||||
|
||||
If you have installed and started the resource, you can use `/doorlock` to open the UI.
|
||||
|
||||
- If the cursor is displayed but not the UI then you have not built it.
|
||||
- You may not be authorised to use the command.
|
||||
|
||||
- Enter `test_ace player.1 command.doorlock` in the server console (replace 1 with your server id).
|
||||
|
||||
## Convert doors
|
||||
|
||||
Door configuration files written for nui_doorlock (and its fork, qb-doorlock) can be automatically added to your MySQL database.
|
||||
|
||||
- Any files with the `.lua` extension placed in the `ox_doorlock/convert` directory will be read on resource start.
|
||||
- Conversion cannot be guaranteed, especially if the config was not written for nui_doorlock.
|
||||
Reference in new issue
Block a user