Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/es/linux-core-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
| Guía de Instalación | |
| :- | :- |
| Este artículo es parte de la Guía de Instalación. Puede leerlo solo o hacer click en los links previos para navegar con facilidad entre los pasos. |
| [<< Paso 1: Requisitos](linux-requirements) | [Paso 3: Instalación del Servidor >>](linux-server-setup) |
| [<< Paso 1: Requisitos](linux-requirements) | [Paso 3: Instalación del Servidor >>](server-setup) |

## Software requerido

Expand Down Expand Up @@ -207,4 +207,4 @@ If you are still having problems, check:
| Installation Guide | |
| :- | :- |
| This article is a part of the Installation Guide. You can read it alone or click the previous link to easily move between the steps. |
| [<< Step 1: Requirements](linux-requirements) | [Step 3: Server Setup >>](linux-server-setup) |
| [<< Step 1: Requirements](linux-requirements) | [Step 3: Server Setup >>](server-setup) |
74 changes: 66 additions & 8 deletions docs/linux-server-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,45 @@
| Installation Guide | |
| :----------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------- |
| This article is a part of the Installation Guide. You can read it alone or click the previous link to easily move between the steps. |
| [<< Step 2: Core Installation](core-installation) | [Step 4: Database Installation >>](database-installation) |
| [<< Step 2: Core Installation](linux-core-installation) | [Step 4: Database Installation >>](database-installation) |

## Extracting DBC, Maps, VMaps & MMaps
**Table of contents**
- [Client Data Files (Download Pre-Extracted)](#option-1-download-pre-extracted-files)
- [Client Data Extractors (Extract Files Yourself)](#option-2-extract-files-yourself)
- [Config Files: Worldserver and Authserver](#config-files-worldserver-and-authserver)

Go to your AzerothCore build directory (e.g. $HOME/build/bin/) and copy the following files to your World of Warcraft binaries directory.
Now that you have the source compiled, you need to add the necessary client data. You can either download pre-extracted files or use the compiled extractors to extract the files yourself. Once the data is ready, you must update the **DataDir** option in your **worldserver.conf** file to point to the directory containing the data.

Some files are optional but highly recommended:

| Directory | |
| :-------- | :----------------- |
| dbc | Mandatory |
| maps | Mandatory |
| vmaps | HIGHLY RECOMMENDED |
| mmaps | HIGHLY RECOMMENDED |
| cameras | Recommended |

## Option 1: Download Pre-Extracted Files


If you intend to use an enUS client you can download the data files below. If you intend to use any other language client you will need to [extract](#option-2-extract-files-yourself) the data yourself.

<a class="no-icon" href="https://github.com/wowgaming/client-data/releases/" target="_blank"><i class="fa-solid fa-download"></i> Data files enUS (AC Data v16)</a>

1. Download the files above.

2. Create a new folder within the build folder called **data**. i.e **$AC_CODE_DIR/build/data/**

3. Extract the files from the zip file and place them within the **data** folder.

4. Edit your the [DataDir](#updating-datadir) config option to the location of your folder.

## Option 2: Extract Files Yourself

**(Not needed if you downloaded the files above)**

Go to your AzerothCore build directory (e.g. $AC_CODE_DIR/env/dist/) and copy the following files to your World of Warcraft binaries directory.

* **map_extractor**
* **mmaps_generator**
Expand Down Expand Up @@ -55,11 +89,11 @@ mkdir mmaps;
./mmaps_generator
```

Now that everything is completed, you need to copy **dbc**, **maps**, **vmaps** and **mmaps** folders to your AzerothCore build directory (e.g. *$HOME/build/data/*).
Now that everything is completed, you need to copy **dbc**, **maps**, **vmaps** and **mmaps** folders to your AzerothCore build directory (e.g. **$AC_CODE_DIR/build/data/**.

## Setting up the configuration files
## Config Files: Worldserver and Authserver

First of all you need to find the two default config files (named worldserver.conf.dist and authserver.conf.dist) and copy them. Then rename the copies their namesakes without the .dist extension. You can find them within /build/configs/ (may vary).
First of all you need to find the two default config files (named **worldserver.conf.dist** and **authserver.conf.dist**) and copy them. Then rename the copies their namesakes without the .dist extension. You can find them within /build/configs/ (may vary).

Open the .conf files and scroll down to LoginDatabaseInfo, WorldDatabaseInfo, and CharacterDatabaseInfo and enter MySQL login information for the server to be able to access your database.

Expand All @@ -76,7 +110,31 @@ They follow this structure:
Variablename = "MySQLIP;Port;Username;Password;database"
```

<br>
The following steps must be verified:

- The hostname (127.0.0.1) can stay the same if AzerothCore is being installed on the same computer that you run WoW on.
If not, follow the instruction in [Realmlist Table](realmlist).

- The port (3306) is the standard configured value. If you changed the default port in your MySQL settings, you must change it accordingly.
The username and password can be variable. You can choose to either:

- use default acore / acore username and password pair.

- create a unique login within a User Manager within your preferred database management tool (commonly identified by an icon that looks like a person or people) and give it the necessary permissions (SELECT, INSERT, UPDATE, DELETE permissions are sufficient, and is much safer).

### Updating DataDir

1. In your **worldserver.conf** file locate the **DataDir** option.

1. Edit it to the path of your folder. i.e **$HOME/azerothcore/data/**

{% include tip.html content="For most **worldserver.conf** setting changes, you can simply type .reload config in-game to see changes instantly without restarting the server." %}

{% include warning.html content="The AzerothCore Team and Owners DO NOT in any case sponsor nor support illegal public servers. If you use these projects to run an illegal public server and not for testing and learning it is your own personal choice." %}

### (Optional) Config options by environment variable

It is possible to load config options via environment variables, which you can read about [here](config-overrides-with-env-var).

## Help

Expand All @@ -85,4 +143,4 @@ Variablename = "MySQLIP;Port;Username;Password;database"
| Installation Guide | |
| :----------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------- |
| This article is a part of the Installation Guide. You can read it alone or click the previous link to easily move between the steps. |
| [<< Step 2: Core Installation](core-installation) | [Step 4: Database Installation >>](database-installation) |
| [<< Step 2: Core Installation](linux-core-installation) | [Step 4: Database Installation >>](database-installation) |
4 changes: 2 additions & 2 deletions docs/macos-core-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
| Installation Guide | |
| :----------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------- |
| This article is a part of the Installation Guide. You can read it alone or click the previous link to easily move between the steps. |
| [<< Step 1: Requirements](macos-requirements) | [Step 3: Server Setup >>](server-setup) |
| [<< Step 1: Requirements](macos-requirements) | [Step 3: Server Setup >>](macos-server-setup) |

## Required software

Expand Down Expand Up @@ -107,4 +107,4 @@ make install
| Installation Guide | |
| :----------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------- |
| This article is a part of the Installation Guide. You can read it alone or click the previous link to easily move between the steps. |
| [<< Step 1: Requirements](macos-requirements) | [Step 3: Server Setup >>](server-setup) |
| [<< Step 1: Requirements](macos-requirements) | [Step 3: Server Setup >>](macos-server-setup) |
73 changes: 65 additions & 8 deletions docs/macos-server-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,44 @@
| Installation Guide | |
| :----------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------- |
| This article is a part of the Installation Guide. You can read it alone or click the previous link to easily move between the steps. |
| [<< Step 2: Core Installation](core-installation) | [Step 4: Database Installation >>](database-installation) |
| [<< Step 2: Core Installation](macos-core-installation) | [Step 4: Database Installation >>](database-installation) |

## Extracting DBC, Maps, VMaps & MMaps
**Table of contents**
- [Client Data Files (Download Pre-Extracted)](#option-1-download-pre-extracted-files)
- [Client Data Extractors (Extract Files Yourself)](#option-2-extract-files-yourself)
- [Config Files: Worldserver and Authserver](#config-files-worldserver-and-authserver)

Go to your AzerothCore build directory (e.g. $HOME/build/bin/) and copy the following files to your World of Warcraft binaries directory.
Now that you have the source compiled, you need to add the necessary client data. You can either download pre-extracted files or use the compiled extractors to extract the files yourself. Once the data is ready, you must update the **DataDir** option in your **worldserver.conf** file to point to the directory containing the data.

Some files are optional but highly recommended:

| Directory | |
| :-------- | :----------------- |
| dbc | Mandatory |
| maps | Mandatory |
| vmaps | HIGHLY RECOMMENDED |
| mmaps | HIGHLY RECOMMENDED |
| cameras | Recommended |

## Option 1: Download Pre-Extracted Files

If you intend to use an enUS client you can download the data files below. If you intend to use any other language client you will need to [extract](#option-2-extract-files-yourself) the data yourself.

<a class="no-icon" href="https://github.com/wowgaming/client-data/releases/" target="_blank"><i class="fa-solid fa-download"></i> Data files enUS (AC Data v16)</a>

1. Download the files above.

2. Create a new folder within the build folder called **data**. i.e. **$HOME/azeroth-server/data/**

3. Extract the files from the zip file and place them within the **data** folder.

4. Edit your the [DataDir](#updating-datadir) config option to the location of your folder.

## Option 2: Extract Files Yourself

**(Not needed if you downloaded the files above)**

Go to your AzerothCore build directory (e.g. $HOME/azeroth-server/bin/) and copy the following files to your World of Warcraft binaries directory.

* **mapextractor**
* **mmaps_generator**
Expand Down Expand Up @@ -55,11 +88,11 @@ mkdir mmaps;
./mmaps_generator
```

Now that everything is completed, you need to copy **dbc**, **maps**, **vmaps** and **mmaps** folders to your AzerothCore build directory (e.g. *$HOME/build/data/*).
Now that everything is completed, you need to copy **dbc**, **maps**, **vmaps** and **mmaps** folders to your AzerothCore build directory (e.g. **$HOME/azeroth-server/data/**).

## Setting up the configuration files
## Config Files: Worldserver and Authserver

First of all you need to find the two default config files (named worldserver.conf.dist and authserver.conf.dist) and copy them. Then rename the copies their namesakes without the .dist extension. You can find them within /build/configs/ (may vary).
First of all you need to find the two default config files (named **worldserver.conf.dist** and **authserver.conf.dist**) and copy them. Then rename the copies their namesakes without the .dist extension. You can find them within /build/configs/ (may vary).

Open the .conf files and scroll down to LoginDatabaseInfo, WorldDatabaseInfo, and CharacterDatabaseInfo and enter MySQL login information for the server to be able to access your database.

Expand All @@ -76,7 +109,31 @@ They follow this structure:
Variablename = "MySQLIP;Port;Username;Password;database"
```

<br>
The following steps must be verified:

- The hostname (127.0.0.1) can stay the same if AzerothCore is being installed on the same computer that you run WoW on.
If not, follow the instruction in [Realmlist Table](realmlist).

- The port (3306) is the standard configured value. If you changed the default port in your MySQL settings, you must change it accordingly.
The username and password can be variable. You can choose to either:

- use default acore / acore username and password pair.

- create a unique login within a User Manager within your preferred database management tool (commonly identified by an icon that looks like a person or people) and give it the necessary permissions (SELECT, INSERT, UPDATE, DELETE permissions are sufficient, and is much safer).

### Updating DataDir

1. In your **worldserver.conf** file locate the **DataDir** option.

1. Edit it to the path of your folder. i.e **$HOME/azeroth-server/data/**

{% include tip.html content="For most **worldserver.conf** setting changes, you can simply type .reload config in-game to see changes instantly without restarting the server." %}

{% include warning.html content="The AzerothCore Team and Owners DO NOT in any case sponsor nor support illegal public servers. If you use these projects to run an illegal public server and not for testing and learning it is your own personal choice." %}

### (Optional) Config options by environment variable

It is possible to load config options via environment variables, which you can read about [here](config-overrides-with-env-var).

## Help

Expand All @@ -85,4 +142,4 @@ Variablename = "MySQLIP;Port;Username;Password;database"
| Installation Guide | |
| :----------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------- |
| This article is a part of the Installation Guide. You can read it alone or click the previous link to easily move between the steps. |
| [<< Step 2: Core Installation](core-installation) | [Step 4: Database Installation >>](database-installation) |
| [<< Step 2: Core Installation](macos-core-installation) | [Step 4: Database Installation >>](database-installation) |
Loading