{{ hook('HOOK_ACCOUNT_CREATE_BEFORE_FORM') }}
Create {{ config.lua.serverName }} Account
{{ hook('HOOK_ACCOUNT_CREATE_BEFORE_BOXES') }} {{ hook('HOOK_ACCOUNT_CREATE_BETWEEN_BOXES_1') }} {% if (not setting('core.mail_enabled') or not config.account_mail_verify) and config.account_create_character_create %} {% endif %} {{ hook('HOOK_ACCOUNT_CREATE_BETWEEN_BOXES_2') }} {{ hook('HOOK_ACCOUNT_CREATE_AFTER_BOXES') }}
{{ hook('HOOK_ACCOUNT_CREATE_BEFORE_ACCOUNT') }} {% if not config.account_login_by_email %} {% endif %} {{ hook('HOOK_ACCOUNT_CREATE_AFTER_ACCOUNT') }} {% if setting('core.mail_enabled') and config.account_mail_verify %} {% endif %} {{ hook('HOOK_ACCOUNT_CREATE_AFTER_EMAIL') }} {% if config.account_country %} {% if errors.country is defined %} {% endif %} {% endif %} {{ hook('HOOK_ACCOUNT_CREATE_AFTER_COUNTRY') }} {{ hook('HOOK_ACCOUNT_CREATE_AFTER_PASSWORD') }} {{ hook('HOOK_ACCOUNT_CREATE_AFTER_PASSWORDS') }}
Account {% if constant('USE_ACCOUNT_NAME') %}Name{% else %}Number{% endif %}: {% if not constant('USE_ACCOUNT_NAME') %} {% endif %}
{% if errors.account is defined %}{{ errors.account }}{% endif %}
Email Address:
{% if errors.email is defined %}{{ errors.email }}{% endif %}
Please use real address!
We will send a link to validate your Email.
Country:
{{ errors.country }}
Password:
{% if errors.password is defined %}{{ errors.password }}{% endif %}
Repeat password:
{% if errors.password is defined %}{{ errors.password }}{% endif %}
{{ hook('HOOK_ACCOUNT_CREATE_BEFORE_CHARACTER_NAME') }} {{ hook('HOOK_ACCOUNT_CREATE_AFTER_CHARACTER_NAME') }} {{ hook('HOOK_ACCOUNT_CREATE_AFTER_SEX') }} {% if config.character_samples|length > 1 %} {% endif %} {{ hook('HOOK_ACCOUNT_CREATE_AFTER_VOCATION') }} {% if config.character_towns|length > 1 %} {% endif %} {{ hook('HOOK_ACCOUNT_CREATE_AFTER_TOWNS') }}
Character Name:
{% if errors.name is defined %}{{ errors.name }}{% endif %}
Sex:
{% set i = 0 %} {% for id, gender in config.genders|reverse(true) %} {% set i = i + 1 %} {% endfor %}
{% if errors.sex is defined %}{{ errors.sex }}{% endif %}
Vocation:
{% for key, sample_char in config.character_samples %} {% endfor %}
{% if errors.vocation is defined %}{{ errors.vocation }}{% endif %}
Select your town:
{% for town_id in config.character_towns %} {% endfor %}
{% if errors.accept_rules is defined %} {% endif %}
Please select the following check box:
{{ errors.accept_rules }}

{{ hook('HOOK_ACCOUNT_CREATE_BEFORE_SUBMIT_BUTTON') }}
{{ include('buttons.submit.html.twig') }}
{{ hook('HOOK_ACCOUNT_CREATE_AFTER_FORM') }}