• Stars
    star
    347
  • Rank 122,141 (Top 3 %)
  • Language
    TypeScript
  • License
    Other
  • Created about 4 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NPWD is a FiveM phone resource written entirely in TypeScript and React.
Material-UI logo

NPWD

Monorepo structure

Apps

  • phone: The React code for NPWD.
  • game: Game releated scripts and code that runs on the client/server-side in FiveM.

Packages

  • npwd-hooks: Hooks used throughout external apps. Mainly to communicate with npwd through custom window events.
  • npwd-types: Auto-generated types from NPWD that can be used in external apps.
  • database: Database configuration and classes for each app
  • logger: Logging lib with winston
  • config: NPWD related config functions

Standalone Information & Installation

We have designed NPWD to be generally framework agnostic, meaning that it can easily be integrated with both popular open source frameworks like ESX & QBCore or any arbitary custom framework.

For further details on this system, please refer to our installation documentation.

You will also need screenshot-basic.

Technical Stack and Development

NPWD uses React + TypeScript to form the NUI front end and uses TypeScript (V8 runtime) for game scripts. You can find more technical information regarding the development of this project on our docs page here.

Feature Request & Issue Reporting

Please open an issue/enhancement on our Github Repo. This is the best way for us to track what needs to be resolved or improved upon.

Features

  • Optimized
    • 0.01 ms on idle and 0.05 while in use.
  • Twitter
    • Like, reply, retweet, report and delete your own Tweets.
    • Send emojis and images directly from the phone's gallery, or from an external url. Gifs too!
    • NPWD features discord logging so all reported tweets will be sent to the configured webhook.
    • Log tweets directly to discord with configured webhook.
  • Matchmaker
    • Like tinder but without all the bots. Swipe right into romance or rejection.
    • As of v1.0, there is no filter for sexual preference.
    • Don't want this app? Follow the documentation here to disable it.
  • Marketplace
    • Post an ad with/without a picture.
    • Choose a picture from your gallery or from a url.
    • Features calling/messaging icons so no need to provide your number.
  • Text Messaging
    • Send a message or an image taken straight from the phones Gallery.
    • Group messages
  • Calling
    • Call anyone from anywhere.
  • Camera
    • Take pictures of oneself or your surroundings.
    • All pictures save to the gallery where they can be retrieved with a copyable link.
    • As of v1.0, there is currently two photo modes for front/rear camera.
  • Contacts
    • Add a phone number to your contacts for easier access.
    • Supports up to 19 characters for phone number by default and easily changed within the
    • Gif support for avatar.
    • Quickly call, text, and with additional configuration send money.
  • Notes
    • Something you want to remember in game? Make a note!
  • Calculator
    • Peform calculations.
  • Themes
    • Default dark theme or light theme with other themes in the works. Want to make your own? Follow our documentation.
    • Set within the Settings app.
  • 6 Custom Cases/Frames
    • These cases were made by DayIsKuan
    • Set within the Settings app.
  • Icon Sets
    • Change between material UI icons or our custom made icons.
    • Want to make your own? Follow our documentation.
    • Set within the Settings app.
  • Notifications - Closed
    • While closed, only a portion of it will render to display a notification.
    • As of v1.0, this is currently used for calls, text and tweets.
  • Notifications - Open
    • While open, all notifications occur across the top of the phone.
    • View missed notifications by clicking on the phone's header.
  • Streamer Mode
    • A mode designed for streamers where images are hidden unless clicked.
    • This applies across all apps on the phone.
    • Easily set within the phone's setting app.
  • Settings Configuration
    • Use a slider to set ringtone and notification alert volume.
    • Copy your phone number to clipboard for easy sharing.
    • Configure a chosen ringtone or alert sound.
    • Choose betwen twelve languages as of v1.0.
    • Change frames, icon sets and themes.
    • Adjust Zoom (100% to 70%).
    • Filter notification preferences.
  • Discord Logging

Final words

A special thanks to all the people who have helped out with the translations! You have all been amazing.

Thanks to Ultrahacx for all the artwork and animations seen in the trailer and this post.

More Repositories

1

fivem-react-boilerplate-lua

Basic Lua & React (TypeScript) boilerplate for FiveM
TypeScript
208
star
2

pefcl

pefcl (PE-Financial) is a financial banking resource for FiveM written in TypeScript and React.
TypeScript
61
star
3

svelte-lua-boilerplate

Svelte & Lua boilerplate for FiveM
TypeScript
48
star
4

fivem-typescript-boilerplate

A simple boilerplate for getting started with TypeScript in FiveM
JavaScript
39
star
5

pe-basicloading

A simple yet robust FiveM loading screen supporting markdown.
JavaScript
26
star
6

pe-fake-plate

Fake plate resource for FiveM that allows players to apply plates to vehicles.
Lua
20
star
7

pe-cli

A FiveM CLI tool to create Javascript/Typescript resources fast and simple.
TypeScript
19
star
8

fivem-lua-style

A mostly reasonable style & convention guide for FiveM's Lua ScRT
15
star
9

qb-pefcl

Lua
13
star
10

pe-utils

A collection of V8 specific utilities used by the Project Error team.
TypeScript
13
star
11

npwd-app-template

Basic app template for NPWD.
TypeScript
12
star
12

cfa-gui

Desktop Application for CFA (Create FiveM App)
TypeScript
10
star
13

pe-typescript

A FiveM TypeScript Boilerplate for creating resources.
JavaScript
7
star
14

projecterror.dev

The landing site and primary documentation site for Project Error ventures.
JavaScript
7
star
15

pefcl-esx

PFCL framework integration for ESX
Lua
7
star
16

pe-ui

WIP General UI Wrapper for FiveM
TypeScript
7
star
17

pe-db

WIP SQL Bridge for FiveM
TypeScript
3
star
18

pe-environment

This is not a framework.
TypeScript
3
star
19

pe-financial

Standalone Banking resource for FiveM written in React and TypeScript
TypeScript
2
star
20

fivem-typescript-prisma

FiveM TypeScript boilerplate with Prisma
JavaScript
2
star
21

pe-utils-examples

1
star
22

pe-bot

TypeScript
1
star
23

pe-core

Lua
1
star
24

fui

A blazingly fast JavaScript library for FiveM NUI resources
JavaScript
1
star
25

fivem-vue-boilerplate

WIP DO NOT USE
Vue
1
star