<div uk-grid>
<%= render partial: "nav" %>
<div class="uk-width-3-4@m uk-width-1-1 dashboard-panel uk-mobile-container">
<h1 class="uk-margin-top">Getting Started <small class="color-red">with @esm v2</small></h1>
<div class="alert alert-info uk-padding" uk-alert>
<h3 class="uk-margin">Upgrading from version 1</h3>
<ol class="uk-list uk-list-divider">
<li class="uk-margin-small">
<div class="uk-grid-small" uk-grid>
<div class="uk-width-auto">
<span class="uk-badge">1</span>
</div>
<div class="uk-width-expand">
<h4 class="uk-margin-remove">Dashboard Configuration</h4>
<ul class="uk-list uk-list-bullet uk-margin-small-top">
<li>Login to the Server Dashboard and switch to v2 settings</li>
<li>Download your new <code>esm.key</code> file</li>
<li>
If you modified Advanced Settings: Download <code>config.yml</code> and place it inside the <code>@esm</code> directory
<br>
<small>
<strong>Note:</strong> Advanced Settings are optional and only needed for custom configurations.
</small>
</li>
</ul>
</div>
</div>
</li>
<li class="uk-margin-small">
<div class="uk-grid-small" uk-grid>
<div class="uk-width-auto">
<span class="uk-badge">2</span>
</div>
<div class="uk-width-expand">
<h4 class="uk-margin-remove">Server Setup</h4>
<ul class="uk-list uk-list-bullet uk-margin-small-top">
<li>
Remove the existing <code>@ESM</code> directory from your server
</li>
<li>
Download and extract the new <code>@esm</code> (download <%= link_to "here", latest_esm_download_path, target: "_blank" %>) mod to your server directory (same location as <code>@Exile</code> and <code>@ExileServer</code>)
<br>
<small>
<strong>Note:</strong> Linux users should ensure directory names are lowercase: <code>@exile</code> and <code>@exileserver</code>
</small>
</li>
<li>
Update your server startup parameters to use <code>@esm</code> instead of <code>@ESM</code> in the <code>servermod</code> line
</li>
<li>
Place your new <code>esm.key</code> inside the <code>@esm</code> directory
</li>
<li>
Execute <code>02.sql</code> on your MySQL server
</li>
<li>
Start your server
</li>
</ul>
</div>
</div>
</li>
</ol>
</div>
<h3 class="uk-margin">Fresh Installation</h3>
<ol class="uk-list uk-list-divider">
<li class="uk-margin-small">
<div class="uk-grid-small" uk-grid>
<div class="uk-width-auto">
<span class="uk-badge">1</span>
</div>
<div class="uk-width-expand">
<h4 class="uk-margin-remove">Discord Setup</h4>
<ul class="uk-list uk-list-bullet uk-margin-small-top">
<li>
Invite ESM Bot to your Discord server
</li>
<li>
Read the welcome message sent to you by the bot
</li>
<li>
Disable Player Mode: <%= command_usage(:mode) %>
<br>
<small>
Replace <%= argument(:community_id, only: [:key]) %> with the ID given to you
</small>
</li>
<li>
Register with ESM by clicking <%= link_to "here", register_path, target: "_blank" %>.
<br>
<small>
You can access this link at any time by using <%= command_usage(:register) %>.
</small>
</li>
</ul>
</div>
</div>
</li>
<li class="uk-margin-small">
<div class="uk-grid-small" uk-grid>
<div class="uk-width-auto">
<span class="uk-badge">2</span>
</div>
<div class="uk-width-expand">
<h4 class="uk-margin-remove">Dashboard Configuration</h4>
<ul class="uk-list uk-list-bullet uk-margin-small-top">
<li>
Log into the server dashboard
</li>
<li>
Select your Discord server from the dropdown
</li>
<li>
Add your server and complete the required configuration
</li>
<li>
Download <code>esm.key</code> and place it inside the <code>@esm</code> directory
</li>
<li>
If you modified Advanced Settings: Download <code>config.yml</code> and place it inside the <code>@esm</code> directory
<br>
<small>
<strong>Note:</strong> Advanced Settings are optional and only needed for custom configurations.
</small>
</li>
</ul>
</div>
</div>
</li>
<li class="uk-margin-small">
<div class="uk-grid-small" uk-grid>
<div class="uk-width-auto">
<span class="uk-badge">3</span>
</div>
<div class="uk-width-expand">
<h4 class="uk-margin-remove">Server Setup</h4>
<ul class="uk-list uk-list-bullet uk-margin-small-top">
<li>
Download the <code>@esm</code> mod from Github: <%= link_to "here", latest_esm_download_path, target: "_blank" %>
</li>
<li>
Extract to your server directory (alongside <code>@Exile</code> and <code>@ExileServer</code>)
<br>
<small>
<strong>Note:</strong> Linux users should ensure directory names are lowercase: <code>@exile</code> and <code>@exileserver</code>
</small>
</li>
<li>
Add <code>@esm</code> to your <code>servermod</code> startup parameter
</li>
<li>
Execute both <code>01.sql</code> and <code>02.sql</code> on your MySQL server
</li>
<li>
Start your server
</li>
</ul>
</div>
</div>
</li>
<li class="uk-margin-small">
<div class="uk-grid-small" uk-grid>
<div class="uk-width-auto">
<span class="uk-badge">4</span>
</div>
<div class="uk-width-expand">
<h4 class="uk-margin-remove">Verify Installation</h4>
<ul class="uk-list uk-list-bullet uk-margin-small-top">
<li>
Run <%= command_usage(:servers, skip_arguments: [:for]) %> to verify your server shows as "online"
</li>
<li>
Run <%= command_usage(:sqf, arguments: {execute: true}, skip_arguments: [:target, :on]) %> to verify command functionality
</li>
<li>
If either check fails, review <code>@esm/log/esm.log</code> for errors
</li>
</ul>
</div>
</div>
</li>
<li class="uk-margin-small">
<div class="uk-grid-small" uk-grid>
<div class="uk-width-auto">
<span class="uk-badge">5</span>
</div>
<div class="uk-width-expand">
<h4 class="uk-margin-remove">What's next?</h4>
<ul class="uk-list uk-list-bullet uk-margin-small-top">
<li>
I highly suggest reading through the documentation below, as well as visiting the <%= link_to "Commands", wiki_commands_path %> page for a detailed list of all available commands and how to use them.
</li>
<li>
If you have any further questions or need assistance with ESM after reviewing the documentation, feel free to join our <%= link_to "Discord", join_path %> and ask in a Support Channel. I am always happy to help!
</li>
</ul>
</div>
</div>
</li>
</ol>
</div>
</div>