Code Monkey home page Code Monkey logo

serversync's Introduction

ServerSync

A FiveM resource to keep all players synchronized with both time and weather, with smooth transitions and wind.

Features

  • Synchronized Time for all players
  • Synchronized Weather for all players
  • Synchronized Wind for all weather types
  • (Optional) Vehicle turn signal indicator synchronization
  • (Optional) Vehicle window up/down synchronization
  • Customizable weather patterns
  • Customizable day / night cycle lengths.

Changelog

v1.1

  • Added chat suggestion for the /time command.
  • Added error handling for weird /time arguments.

v1.2

  • Fixes Typo error caused by ss_cli_indicators.lua in lines 27 and 31
  • Adds functionality for turning the traffic or crowd modules on/off using ss_enable_traffic_density or ss_enable_crowd_density

Requirements

  • None. You only need this resource.

Download / Installation

GIT

cd resources
git clone https://github.com/Wyste/ServerSync.git ServerSync

Manually

Installation / Activation

  • [Optional] Change your options within ServerSync\config\ServerSync.lua
  • Configure your server.cfg to look like this
ensure ServerSync
  • Add ACE permissions to use the commands:
add_principal identifier.steam:110000102D010D9 group.sync #Wyste

add_ace group.sync "changeWeather" allow
add_ace group.sync "changeTime" allow
add_ace group.sync "freezeTime" allow

add_ace group.sync command.weather allow
add_ace group.sync command.time allow
add_ace group.sync command.freezetime allow

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.