Please choose a name{% if config.character_samples|length > 1 %}, vocation{% endif %} {% if config.character_towns|length > 1 %}, town{% endif %} and sex for your character.
In any case the name must not violate the naming conventions stated in the {{ config.lua.serverName }} Rules, or your character might get deleted or name locked. {% if account_logged.getPlayersList(true)|length >= setting('core.characters_per_account') %} You have maximum number of characters per account on your account. Delete one before you make new. {% endif %}

Create Character
{{ hook('HOOK_ACCOUNT_CREATE_CHARACTER_BEFORE_FIRST_TABLE') }}
Name Sex

{% if not save or errors.name is defined %}Please enter your character name.{% endif %}
{% set i = 0 %} {% for id, gender in config.genders|reverse(true) %} {% set i = i + 1 %}
{% endfor %}
{{ hook('HOOK_ACCOUNT_CREATE_CHARACTER_BEFORE_VOCATION') }}
{% if config.character_samples|length > 1 %} {% endif %} {{ hook('HOOK_ACCOUNT_CREATE_CHARACTER_BEFORE_TOWNS') }} {% if config.character_towns|length > 1 %} {% endif %} {{ hook('HOOK_ACCOUNT_CREATE_CHARACTER_AFTER_TOWNS') }}

Select your vocation:
{% for key, sample_char in config.character_samples %} {% endfor %}

Select your city:
{% for town_id in config.character_towns %} {% endfor %}
{{ hook('HOOK_ACCOUNT_CREATE_CHARACTER_AFTER_SECOND_TABLE') }}

{{ csrf() }} {{ include('buttons.submit.html.twig') }}
{{ csrf() }} {{ include('buttons.back.html.twig') }}