samp.directory
← Scripts e bibliotecas

duydang2311/base-simplicity

Sem descrição no GitHub.

Biblioteca★ 2atualizado jul. de 2021Sem licençaPawnsampctlArquivado
Abrir no GitHub

O autor arquivou este repositório, então ele não é mais mantido.

Este repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.

Instalar com o sampctl

sampctl package install duydang2311/base-simplicity

Execute na pasta do seu projeto. O sampctl baixa o pacote e as dependências dele.

Depende de 5 pacotes

README.md

base-simplicity

EDIT: Seems like I have written many messy PawnPlus task asynchronous operations and over complicated them when they could have been more simplified.

Introduction

A simple base using Pawn along with NodeJS + MongoDB

Mainly using RESTful API to send request and response to each other

Requirement

Having these installed:

  • NodeJS

  • MongoDB

Installation

Simply clone this repository:

git clone https://github.com/duydang2311/base-simplicity.git

Setup

Inside the main folder, run the following command to install all the Pawn dependencies:

sampctl package ensure

Inside the folder node-db, run the following command to install all the npm packages:

npm install

Usage

To start the gamemode, be sure to run the MongoDB server first by running this following command inside the folder node-db:

npm start

After that, start your gamemode (samp-server.exe or sampctl package run)

Testing

To test, simply run the package:

sampctl package run

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página