2017 © Pedro Peláez
 

library fivem-servermanager

FiveM Server Manager

image

tnovalis/fivem-servermanager

FiveM Server Manager

  • Thursday, February 1, 2018
  • by tnovalis
  • Repository
  • 2 Watchers
  • 2 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 15 Versions
  • 10 % Grown

The README.md

FiveM-ServerManager

A better FiveM Server Manager, (*1)

Patreon - Discord, (*2)

Features

  • Install and update FiveM
  • Servers
    • Add
    • Delete
    • Start, stop and restart
    • Console
  • GUI Config
  • Automatic server restarts
    • Timed and for crashes
  • Automatic server backups

Installation

There are two ways to install FSM., (*3)

Option One

Starting from 0.0.9 and after, in releases there is an executable file named fsm., (*4)

You need to download this and put it into one of the locations in your $PATH, (*5)

Also make sure it is marked executable chmod +x fsm, (*6)

Currently you need to make the database file yourself (unless you are migrating from pre-v1). Do the following:, (*7)

mkdir ~/.fsm
touch ~/.fsm/fsm.sqlite
Requirements
  • PHP 7.1+
    • PHP MBString
    • PHP JSON
    • PHP SQLite3
  • Linux
  • Screen

Ubuntu 16+ users: sudo apt install php php-mbstring php-json php-sqlite3 screen, (*8)

Option Two

You must have composer installed and its own requirements, (*9)

Run the following command:, (*10)

composer global require tnovalis/fivem-servermanager --no-dev

Once you do that you need to add your composer vendor bin to you $PATH, (*11)

On Ubuntu, and most Linux distros this is in .config/composer/vendor/bin, (*12)

If you use Bash for your shell you need to edit .profile to add it to your $PATH, (*13)

Currently you need to make the database file yourself (unless you are migrating from pre-v1). Do the following:, (*14)

mkdir ~/.fsm
touch ~/.fsm/fsm.sqlite
Requirements
  • PHP 7.1+
    • PHP MBString
    • PHP JSON
    • PHP SQLite3
    • PHP Zip
  • Linux
  • Screen
  • The few of composers requirements

Ubuntu 16+ users: sudo apt install php php-mbstring php-json php-zip composer screen, (*15)

Upgrade Guide

Migrating from pre-v1 is simple, all you need to do is the following command:, (*16)

fsm self:migrate

Usage

The first command you should run is this:, (*17)

fsm fivem:install [<PATH>]

This will install FiveM and save the path for when starting the server., (*18)

Since FiveM requires a license key, you must get one here FSM allows you to easily set it., (*19)

fsm config:menu

Navigate to Set License, press Enter and put your license., (*20)

After that I recommend running this:, (*21)

fsm server:path [<PATH>]

This will set the server path, making it easier to create servers., (*22)

If you want features such as the server automatically restarting after crashing, you need to use fsm schedule:run This is easy to setup., (*23)

All you need to do is put the following into your cron:, (*24)

* * * * * php /path/to/fsm schedule:run >> /dev/null 2>&1

No support will be given on how to access your cron file., (*25)

Other Commands

To update FiveM, (*26)

fsm fivem:update

To display all config settings, (*27)

fsm config:dump

To create a server, (*28)

fsm server:create [<NAME>] [<PATH>]

You don't need to specify the path if the server:path is set., (*29)

To list the servers, (*30)

fsm server:list --path

This will display a servers status and also check if a server crashed. You can also use --path to see the server's path in the table., (*31)

To send a message to the server, (*32)

fsm server:say [<NAME>] [<MESSAGE>]

The message must be in quotes unless you omit it in the initial command., (*33)

To start a server, (*34)

fsm server:start [<NAME>]

To stop a server, (*35)

fsm server:stop [<NAME>] [--no-warning]

If you specify --no-warning the server will not send a message in chat about the shutdown., (*36)

To restart a server schedulable, (*37)

fsm server:restart [<NAME>] [--no-warning]

To backup a server schedulable, (*38)

fsm server:backup [<NAME>]

This will output where it backed the server up to., (*39)

To delete a server, (*40)

fsm server:delete [<NAME>] [--no-backup]

If you specify --no-backup the server will not be backed up before removal., (*41)

To rename a server, (*42)

fsm server:rename [<NAME>] [<NEW-NAME>]

To fix crashed servers schedulable, (*43)

fsm server:fix

The Versions

01/02 2018

dev-master

9999999-dev

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

01/02 2018

0.0.17

0.0.17.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

31/01 2018

0.0.16

0.0.16.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

31/01 2018

dev-analysis-q1orGy

dev-analysis-q1orGy

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

19/12 2017

0.0.15

0.0.15.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

23/11 2017

0.0.14

0.0.14.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

22/11 2017

0.0.13

0.0.13.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

17/11 2017

0.0.12

0.0.12.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

17/11 2017

0.0.11

0.0.11.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

17/11 2017

0.0.10

0.0.10.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

16/11 2017

0.0.9

0.0.9.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

15/11 2017

0.0.8

0.0.8.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

15/11 2017

0.0.7

0.0.7.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

15/11 2017

0.0.4

0.0.4.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem

15/11 2017

0.0.6

0.0.6.0

FiveM Server Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tom (Novalis)

server manager game fivem