Interested using and developing this framework? Let's begin...
- Basic knowledge of Command Prompt
- Basic knowledge of Git commands
- Basic knowledge of MYSQL/SQL database
-
Clone this repository to your local machine
Make sure you put it on FiveM resources folder and rename it tonatuna
or something else, also don't forget to add this resource toserver.cfg
file.We suggest you to clone this repository using
git
instead of downloading this repository as a .zip or .tar since it'd help you update this framework more easily usinggit pull
command later. -
Open command prompt and locate to this resource folder
Usecd
command to locate to the cloned folder on your local machine. -
Edit the configuration file at
package.json
You can change almost everything, but Natuna Framework configuration is located undernatuna
variable. -
Copy the
.env.example
file to.env
Copy or just rename it, you choose. -
Edit the
.env
file
Env file is used to store your secret keys, database credentials, etc. -
Install all dependencies
Usenpm install
oryarn
command to install all dependencies. -
Migrate and generate the database schema
Run the database migration first before generating the schema. To read and learn about this, please go to BUILDING.md. -
Build the files
Run the steps 8 first before running this step. To read and learn about building this files, please go to BUILDING.md. -
Start your FiveM server
When you starting the server, you will found out a message sayingCouldn't start resource natuna.
andRunning build tasks on natuna - it'll restart once completed
It happens because FiveM is installing the project dependencies into FiveM local node_modules folder. Just wait until it's finished.
Everytime this resource is starting, you would find a log on console saying whether your version of this resource are outdated or not. If your version was outdated, please update your version using git pull
command on this resource folder.
-
Why is my character not spawning after i join my server?
That because this framework currently has no built-in character maker/selector. Since this framework still on development, you should start making your own and we hope you can contribute to this current project.
-
Why is there isn't anything?
This project is completely a base system, known as framework. It's not a game. It's a base system that you can use to build your own game. So you need to add a plugin to this framework to make your game.
Currently this framework is still in development, so the plugin is still in development.
-
How do i create a plugin or ui?
Coming soon~