Skip to content
AlexMart edited this page Apr 7, 2021 · 3 revisions
Clone this wiki locally

Table of content

Community Support Discord: https://discord.gg/rmCv7UJVPD

Setup the Core

Here we will explain how to create a clean core installation.

Requirements

Nex Core is dependent on some resources, we will place all the ones that you are probably going to use and soon, we will give the corresponding links to download them.

▬▬▬▬▬▬▬▬ ɪɴꜱᴛᴀʟʟᴀᴛɪᴏɴ ɢᴜɪᴅᴇ ▬▬▬▬▬▬▬▬

First, you need all the NexCore dependencies:

  • Async
  • Mysql-async
  • MariaDB as Database Engine

ꜱᴇᴛᴜᴘ ᴄᴏʀᴇ

1. Download proyect from github, paste all into folder called: 'nex_core' (mandatory) 2. Create a new database called how you want, this case: 'nex_db' 3. Import DATABASE.sql to your database recently created. 4. In your server.cfg add this lines:

add_ace resource.nex_core command.add_ace allow
add_ace resource.nex_core command.remove_principal allow
add_ace resource.nex_core command.add_principal allow
add_ace resource.nex_core command.remove_ace allow
add_ace resource.nex_core command.list_aces allow
add_ace resource.nex_core command.list_principals allow
add_ace resource.nex_core command.remove_aces_for_object allow

add_ace resource.nex_core command.ensure allow
add_ace resource.nex_core command.start allow
add_ace resource.nex_core command.stop allow

5. Ready! The core has the basic functions to start, now you just need to add extensions.


ɪɴꜱᴛᴀʟʟ ᴇxᴛᴇɴꜱɪᴏɴꜱ

Installing default menus

1. Make sure all extension folders are named the same as in each repository. (e.g 'nex_core' or 'nex_characters')

2. Download the next resources https://github.com/NexCorp/nex_menu_dialog & https://github.com/NexCorp/nex_menu_default and paste it to folder with the same name as the repository. (nex_menu_default & nex_menu_dialog)

**3. **Go to nex_core folder, open config_s.lua and add into ConfigServer.SecureResources each resource name.

It should look something like this:

ConfigServer.SecureResources = {
    "nex_menu_default",
    "nex_menu_dialog"
}

Ready, now you can just restart nex_core and each extension script are automatically start.