This commit is contained in:
ElPumpo
2018-04-20 22:19:41 +02:00
parent d673b3f198
commit 642ff683a0
2 changed files with 14 additions and 18 deletions
+5 -7
View File
@@ -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
+9 -11
View File
@@ -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`)
);