samp.directory
← Scripts y librerías

duydang2311/base-simplicity

Sin descripción en GitHub.

Librería★ 2actualizado jul 2021Sin licenciaPawnsampctlArchivado
Abrir en GitHub

El autor archivó este repositorio, así que ya no se mantiene.

Este repositorio no tiene archivo de licencia. Se puede leer, pero eso por sí solo no da permiso para reutilizarlo.

Instalar con sampctl

sampctl package install duydang2311/base-simplicity

Ejecútalo en la carpeta de tu proyecto. sampctl descarga el paquete y sus dependencias.

Depende de 5 paquetes

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 se genera con lo que GitHub publica sobre el repositorio. samp.directory no aloja el código. Informar de un problema con esta ficha