Skip to content

Installation

Instructions on how to download and install es_extended develop branch.

Requirements

Download

Using Git

git clone https://github.com/es_extended/tree/develop

Manually

How to Install

How install MariaDB on linux
  1. Run sudo nano /etc/yum.repos.d/MariaDB.repo
  2. Paste the following:
    [mariadb]
    name = MariaDB
    baseurl = http://yum.mariadb.org/10.5.3/centos7-amd64
    gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck=1
    
  3. Then Ctrl+X, then y to save, then enter
  4. Run sudo yum remove mariadb-server
  5. Run sudo yum remove mariadb
  6. Run sudo yum install mariadb
  7. Run sudo yum install mariadb-server
  8. Add sql_mode='MYSQL40' below [mariadb] in /etc/my.cnf.d/server.cnf
  9. Run mariadb-upgrade
  10. Run service mysql restart
  1. Put the resources in the cfx-server-data/resources directory
  2. Import es_extended.sql in your database
  3. Open a cmd in the es_extended resource.
  4. Type npm i or yarn install in-order-to install node_modules. If you want to use Node.js, install it from: https://nodejs.org/en/. If you want to use yarn, install it from: https://classic.yarnpkg.com/en/docs/install/#windows-stable. Choose the stable version. This is only if you haven't already installed it. NOTE: Do not change the directory!
  5. Copy the part of the server.cfg sample and paste it to yours.
# minimum resources and config to get it working

set mysql_connection_string "mysql://user:password@localhost/es_extended?charset=utf8mb4"

stop webadmin

ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure hardcap
ensure rconlog
ensure baseevents

ensure yarn

ensure mysql-async
ensure cron

ensure es_extended # Will now auto-generate fxmanifest.lua to prevent platform-dependant behavior, will prompt you to type ensure es_extended in console when fxmanifest has changed. To save some typing, uncomment below lines

# stop es_extended
# start es_extended

# Add permission for es_extended to execute ACL commands
add_ace resource.es_extended command.add_ace allow
add_ace resource.es_extended command.remove_principal allow
add_ace resource.es_extended command.add_principal allow
add_ace resource.es_extended command.remove_ace allow
add_ace resource.es_extended command.list_aces allow
add_ace resource.es_extended command.list_principals allow
add_ace resource.es_extended command.remove_aces_for_object allow