Coder Social home page Coder Social logo

negbook / essentialmode-simple Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kanersps/essentialmode

1.0 1.0 0.0 5.54 MB

A FiveM project

Home Page: https://docs.kanersps.pw/docs/essentialmode

License: GNU Affero General Public License v3.0

Lua 100.00%

essentialmode-simple's Introduction

EssentialMode Simple

Simple? What does it mean?

Deleted all sqllite and CrouchDB functions.Combined esplugin_mysql.

Dependencies

  • mysql-async

原理

玩家進入遊戲時觸發client\main.lua內的es:firstJoinProper通知服務端檢測DB,建立玩家數據或允許登入,建立玩家的服務端基本參數暫存。
旁邊的es:allowedToSpawn用於其他客戶端插件檢測es在客戶端開始運作
由server\main.lua得知玩家離線儲存玩家數據,得出玩家連接檢測是否有具備識別號,若沒有禁止進入服務器。通知客戶端玩家首次出生了,以及記錄坐標接口。
它可以幫助服務器在數據庫中建立玩家的基礎數據,其他插件可以利用客戶端的es:allowedToSpawn或者服務端的es:playerLoaded或es:firstSpawn做初步的接入。

Orginal essentialmode readme.md

essentialmode-simple's People

Contributors

actuallykane avatar elpumpo avatar ghermans avatar kanersps avatar knaak53 avatar lze3 avatar nathanctech avatar negbook avatar tinky124 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.