Enforce 16-char player name limit and update mod sync

Added a maxlength attribute to the player name input and enforced a 16-character limit in both install and settings scripts, providing user feedback if exceeded. Refactored modManager.js to replace symlink-based mod management with a copy-based system, copying enabled mods to HytaleSaves\Mods and removing legacy symlink logic to improve compatibility and avoid permission issues.
This commit is contained in:
AMIAY
2026-01-29 03:33:56 +01:00
parent 90db069e4c
commit 4775e9adbd
4 changed files with 70 additions and 90 deletions

View File

@@ -120,7 +120,7 @@
<label class="form-label" data-i18n="install.playerName">Player Name</label>
<input type="text" id="installPlayerName"
data-i18n-placeholder="install.playerNamePlaceholder" class="form-input"
value="Player" />
value="Player" maxlength="16" />
</div>
<div class="form-group">