From 642ff683a05a265177c7f714529270d6a67f56cf Mon Sep 17 00:00:00 2001 From: ElPumpo Date: Fri, 20 Apr 2018 22:19:41 +0200 Subject: [PATCH] Closes #3 --- README.md | 12 +++++------- esx_license.sql | 20 +++++++++----------- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index ed6a72bf..532cc780 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,20 @@ # esx_license -FXServer ESX License -[INSTALLATION] +## Installation -1) Using [fvm](https://github.com/qlaffont/fvm-installer) +### Using [fvm](https://github.com/qlaffont/fvm-installer) ``` fvm install --save --folder=esx esx-org/esx_license - ``` -2) Manually +### Manually - Download https://github.com/ESX-Org/esx_license/releases/latest - Put it in [esx] directory -1) Import esx_license.sql in your database -2) Add this in your server.cfg : +1) Import `esx_license.sql` in your database +2) Add this in your `server.cfg`: ``` start esx_license diff --git a/esx_license.sql b/esx_license.sql index 350464b1..993eec50 100644 --- a/esx_license.sql +++ b/esx_license.sql @@ -1,18 +1,16 @@ USE `essentialmode`; CREATE TABLE `licenses` ( - - `type` varchar(255) NOT NULL, - `label` varchar(255) NOT NULL, - - PRIMARY KEY (`type`) + `type` varchar(60) NOT NULL, + `label` varchar(60) NOT NULL, + + PRIMARY KEY (`type`) ); CREATE TABLE `user_licenses` ( - - `id` int(11) NOT NULL AUTO_INCREMENT, - `type` varchar(255) NOT NULL, - `owner` varchar(255) NOT NULL, - - PRIMARY KEY (`id`) + `id` int(11) NOT NULL AUTO_INCREMENT, + `type` varchar(60) NOT NULL, + `owner` varchar(60) NOT NULL, + + PRIMARY KEY (`id`) ); \ No newline at end of file