samp.directory
← Скрипты и библиотеки

duydang2311/base-simplicity

На GitHub нет описания.

Библиотека★ 2обновлён июль 2021 г.Без лицензииPawnsampctlВ архиве
Открыть на GitHub

Автор отправил этот репозиторий в архив, он больше не поддерживается.

В этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.

Установка через sampctl

sampctl package install duydang2311/base-simplicity

Выполните в папке проекта. sampctl скачает пакет и его зависимости.

Зависит от 5 пакетов

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

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью