NPWD (Standalone Phone Resource) | FiveM Full Install Tutorial/Overview

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone and welcome back to today's video today we are checking out the resource npwd which is a standalone phone which includes a lot of different things it includes Twitter like a Matchmaker app a Marketplace app text messaging calling camera pretty much everything you would have on a phone but inside a 5m which is really really cool um and it is fully Standalone it does not require another resource or it does require other resources but it doesn't require a framework for you to use on your server so if you don't use ESX you don't use vrp or anything you can use just this with its dependencies and it will work fine so why don't we get straight into this and install it there's a couple things they have a very nice documentation I highly recommend you read over before you even get started but we're just going to be doing the base installation as I'm not using any other Frameworks we are going to use one of the required ones that they recommend PE core it doesn't actually add anything um to the server but it does add the ability for for it to communicate with the phone resource so it can get the player information which is the most important thing so it is required if you are not using another full framework it's only a requirement is Ox MySQL this resource does require MySQL both of them do make sure you have um this or one of the other MySQL handlers installed to keep it in easy and everything we're just going to be using Ox MySQL because this will work both for the installation for the phone and for PE core so we're just going to go ahead and set this up I'm not going to go over setting up a mySQL database if you don't have one of those if you rent a server onto that posting you get one by default if you're localhost you can use something like phpmyadmin to run it I'm not going to go over that it takes a long time to go over but I will leave a link to a video where I do do that in the cards in the top right hand corner so if you want to go over the PHP my admin install and everything I will leave a link to that all right why don't we go ahead and install this so to install this it's pretty easy you're just going to go to the release this page all of the resources you're going to need I'll leave the links to the releases page in the description so you can just go directly here but the first one we're going to install is Ox MySQL we're just going to click the latest zip file open it up with WinZip and then in here you can see that they have all the files the FX manifest the readme all that good stuff so this is the first folder we're going to drag into our server data resources folder and then if we go ahead and look at the documentation always remember to use the documentation because it will go over exactly how you do so it says why don't you load it start it you're good to go make sure to add a connection string to your config so let's do that so we're just going to copy the name of the folder that we just Dragged In Ox MySQL and head to our server.cf key edit it with notepad plus plus and then add and sure the name of the resource first because the rest of the resources like the core and the phone will start after this and then if we take a look at here it's going to ask you to set a MySQL connection string and this is going to be whatever your um type of MySQL is so we're going to go over this for a second we're just going to go ahead and throw this in here so we're just going to throw this right below it starts so then we're going to set it it's going to be username root at whatever the um localhost is whatever your username is whatever the database is but we're going to change this so what I'm going to do is I'm going to pull up my database we're going to create an account we're going to create a database and then we'll switch this to make sure it's matches so I'm here on my PHP my admin localhost thing so I'm going to create a new username for this I'm just going to create the username 5m test just like that and I will keep the password as password terrible password never use that but for this video I'm going to keep it as password and then I'm going to go ahead and Grant a create a database with the same name and Grant all privileges this will just go ahead and make the permissions for a 5m test database with this username so I'll go ahead and press go there we go so our user is now 5m test so you can see 5m test at localhost that's fine because localhost is what we're using this app so what I'm going to do is I'm just going to click list to 5m test at localhost and our database name is going to be 5m test as well so there we go we're connecting MySQL 5m test username at our Local Host which is just our localhost that's what we have in the top bar up here 3306 to default five the default MySQL port and our database name is 5m test and our character set is set to the default so I went ahead and made a quick mistake you're supposed to set the password right after this and our password is password so our connection string is our username with our password at our IP at our port with our database name with the character set so need extra information you can add the set MySQL debug but we do not so that's all we have to do for the ox MySQL now we're going to go ahead and download and install the PE core um that is easy so you can see in here uh you can click the database name and stuff if you want um but in our case all you have to do is if you have the dependency it already has this set correctly so we don't actually have to do that all we have to do is go ahead and switch up the config.json to match the example here so we'll do that momentarily let's go to download press the code press download zip and then open this up with WinZip 7-Zip WinRAR what we just did before navigate back to our resources folder and in here you can see that they're all the files so we're just going to drag this in and close out that install rename the folder not delete it rename it and we're going to get rid of the dash master that GitHub ads so it's just PE core and go ahead and copy that name we're going to add that right below or ensure Ox MySQL so ensure P core all right so now that we have installed this we have it added to our server.cf key that's all we have to do the config.json will be part of the actual phone project so now that we have done that we can go back here and you can see that there will be a couple more steps we're gonna have to do so let's go ahead and download the latest phone version just like this it's exactly like we do for other resources and open this one up so let's go ahead and open it up and in here you can see it's just like this thing before so we're going to drag this into our server data resources folder this is the actual one and we open up our config.json will be our first step and it says remember on the PE core we need to modify it to be the following so we're going to look for this so we're going to copy where it says general here and we're going to go ahead and modify it in here so it matches that so you can see use resource integration we're going to switch this to true because we're using a resource integration and then we're going to look at the database here and you can see it has all the info for this I'm just going to go ahead and copy this because it's the exact same over here and paste that in so it matches for the first one I just went ahead and switched the first one because that's the only thing that was different you can modify this to your liking if you need but you can see it has all of the things we need so now we can get rid of PE core because we have installed that successfully and then what we're going to do is we're going to see we have an import.sql here in here in our database and I'm going to go ahead and import this SQL file so I move to the import and I go ahead and drag it here import.mysql correct go back to structure and you can see all of the files have been imported one more thing to import into our database which is the PE Dash core.sql which I forgot to do earlier so we're just going to go ahead and drag this in once again to our database and then you can see in here we now have a users table perfect so obviously we're going to go back to our server.cf key file just like we did before and we're just going to make sure we have insure the name of the resource so we're going to add insurer n p w d just like that and go ahead and save now that we have installed the npwd folder we have two more things we're going to have to install screenshot basic and PMA voice these are used for the different aspects of the release so this includes the screenshot functionality and the camera functionality and phone call functionality all of that good stuff so why don't we go ahead and install screenshot basic first we're just going to go ahead and download the latest zip just like we did previously and we're going to go ahead and open this up with WinZip 7-Zip WinRAR and you can see there's a fast stuff manifest and a dist folder so I'm just going to create a new resource folder screenshot basic and then I'm going to go ahead and drag the two things we have in here into that folder just like that and inside of screenshot basic I'm just going to copy the name and once again open up my server.cft and right before we start all of this so right before npwd we're going to do ensure screenshot basic and in a moment we'll be doing insular PMA voice so for PMA voice it's the exact same install we're just going to download it from the resource page and open up with WinZip seven zipwin RAR you can see in here it has all of the files quite a lot of files for this one but we're just going to go ahead and drag this in to our resources folder close it out and we're going to rename it get rid of the 6.6.2 so it's just PMA voice copy and add insure PMA voice right below screenshot basic so now if we take a look at this I'm going to delete everything I've installed in previous videos so we just have these resources we're starting Ox MySQL we're starting the core resource we're starting screenshot PMA and then we're starting the phone and then we're setting our MySQL connection string which we probably should do earlier on so we'll go ahead and set the MySQL connection string right after we start our MySQL resource Perfect all right now if we go ahead and start up our 5m server I'm going to take a look at our console here make sure it's all started up database connection successfully started all of our resources have connected we are good to go let's hop in game and check it out while I connect to the server in the background I just wanted to let you know you can modify Discord and imager or error media they recommend error media if you want to use the camera functionality in my case I will not be using the camera functionality because this is a local host server but if you are using it and you want to use it you're gonna have to set up some API keys I recommend reading their document taken for that they have a lot of things if you want to set up Discord logs you can also set that up with a web hook token very easy just get it from Discord and throw it in the config and they do have some disclaimers down here at the bottom here if you want to read those over I would recommend you do it's always good anyway let's hop in here we are in game here and remember through the config we have two commands we can either do slack phone or we can press F1 to open up the phone you can see it pops up in the bottom right hand corner you got the phone browser messages contacts calculator set settings Matchmaker Twitter Marketplace notes and the camera so obviously if you click messages or anything you can click to add a person by their ID very cool you have your contacts so you can add contacts by The People's ID you have a calculator which obviously works which is pretty cool there you go got a calculator you got notes you can add some notes hi YouTube something like that save your note to your phone very cool you got your camera obviously you can create this there's the camera mode take picture press enter obviously it's not going to save and upload because we don't have anything set up so it's just going to go ahead and load there but yeah it's a pretty cool resource you've got your settings menu you can have your phone number which you can man give to people which is cool your ringtone any notifications streamer mode so you can change if you want stuff to show up while you're live or whatever notifications all that good stuff resetting your settings Matchmaker obviously has its own app in here and you can modify your images profile name bio job so you can have all this role play stuff which is pretty cool um press the middle button to get rid of it obviously and then you have things like Twitter let's go ahead and create a new tweet what's happening I am on YouTube Perfect tweet that out and you obviously have your profile picture you can change you got your search people by name and everything which is pretty cool so yeah very cool resource um I think people like it I think it would work well for your server if you do it's quite a little bit of a hassle for setup obviously through all of the configuration things but if you can get it running if you get it all installed it is a pretty cool resource um so hopefully you did enjoy if you have any questions um let the authors know on the resource pages but overall thanks so much for watching hopefully this did help you and I will see you in the next video goodbye all foreign [Music] [Music]
Info
Channel: BGHDDevelopment
Views: 20,201
Rating: undefined out of 5
Keywords: BGHDDevelopment, BGHD, BGHDDev, Tutorial, NPWD, FiveM, FiveM Resource, FiveM NPDW, NPDW Install Tutorial, How to install NPDW, How to install a phone for FiveM, FiveM resource install NPDW, NPWD tutorial, NPWD overview, NPWD example, FiveM resource install phone, phone resource, fivem phone, fivem, fivem resource tutorial
Id: 3CLQeL1FBcM
Channel Id: undefined
Length: 12min 43sec (763 seconds)
Published: Sun Oct 23 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.