Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add database, add warning for ND_NPWD #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion pages/addons/phone.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
import { Steps } from 'nextra/components';
import { Callout } from 'nextra/components'
import PreviewVideo from "../../components/preview_video";

# NPWD
This resource creates a phone that can be used to send messages, call, and more.



<Callout type="warning" emoji="⚠️">
``ND_NPWD`` is no longer needed to use NPWD with ND.
</Callout>



## Preview video
<PreviewVideo
src="https://www.youtube.com/embed/Yh8gT8wuywU"
Expand All @@ -31,4 +38,17 @@ Download and add the resource to your server
set npwd:framework ndcore
```

</Steps>

### Set database
```json copy filename="config.json"
"database": {
"useIdentifierPrefix": true,
"playerTable": "nd_characters",
"identifierColumn": "identifier",
"identifierType": "license",
"profileQueries": true,
"phoneNumberColumn": "phonenumber"
},
```

</Steps>