mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-02 11:18:53 +00:00
Closes #3
This commit is contained in:
@@ -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
@@ -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`)
|
||||
);
|
||||
Reference in New Issue
Block a user