mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +00:00
ox_core config
This commit is contained in:
1 parent
3d6f31e67c
commit
fec5240a3a
1 file changed
+10
-14
@@ -1,20 +1,16 @@
|
|||||||
# Config
|
# Config
|
||||||
|
|
||||||
## Convars
|
Resource configuration is handled using [convars](https://docs.fivem.net/docs/scripting-reference/convars/).
|
||||||
|
|
||||||
| Name | Replicated | Default |
|
## Server
|
||||||
| -------------------- | ---------- | ------- |
|
|
||||||
| ox:primaryIdentifier | false | fivem |
|
|
||||||
| ox:characterSlots | true | 5 |
|
|
||||||
|
|
||||||
## Convar overrides
|
```yml
|
||||||
|
# Players must have a valid identifier to join the server. Used to fetch userid from the database.
|
||||||
|
set ox:primaryIdentifier "fivem"
|
||||||
|
|
||||||
Convars for other resources are set when ox_core starts.
|
# Set the number of active characters a user can have registered.
|
||||||
|
setr ox:characterSlots 5
|
||||||
|
|
||||||
| Name | Replicated | Value |
|
# Enables debug and development features. Should only be used in a development environment.
|
||||||
| ----------------------------------- | ---------- | ------------------------------------------------------- |
|
setr ox:debug 0
|
||||||
| inventory:framework | true | ox |
|
```
|
||||||
| inventory:trimplate | true | true |
|
|
||||||
| pe-basicloading:disableAutoShutdown | true | 1 |
|
|
||||||
| npwd:useResourceIntegration | false | true |
|
|
||||||
| npwd:database | false | {playerTable: "characters", identifierColumn: "charid"} |
|
|
||||||
Reference in new issue
Block a user