Repository navigation
Troubleshooting EN
Find your symptom below. Restarting first destroys the evidence, so read the log before you touch anything.
Symptom: no [LetsLearnEnglish] line in the console after startup, or a wall of red errors.
Check in order:
java -versionIf you see 1.8.0 or 17.x, that's it. You need Java 21 (Java 25 for 26.x servers). Download from Adoptium.
version
Must be Paper 1.21.4+. Spigot fails immediately with NoSuchMethodError — the code uses Paper-exclusive Adventure APIs.
See the build-selection table in Installation. Installing -mc26 on 1.21.x is refused outright (api-version exceeds the server version).
A healthy JAR is about 3.4 MB (including the shaded MySQL driver). If it is only around 1 MB, the download was truncated or the shade step didn't run.
unzip -l "Let's Learn English!-1.0.7.jar" | grep -c "com/mysql/"Greater than 0 means the driver is inside.
grep -i "letslearnenglish" logs/latest.log | tail -50| Possible cause | Fix |
|---|---|
| Server isn't Paper 1.21.4+ | Upgrade the server |
| Another GUI plugin conflicts (DeluxeMenus, etc.) | Disable temporarily to isolate |
| The player is mid-quiz | Finish or stop the current session before returning to the menu |
| An anticheat / item-protection plugin blocks it | Check whether such a plugin intercepts GUI interaction |
Symptom: timer repeats, no feedback on correct answers, can't answer in chat after closing the GUI.
With word-system.enabled: false, every entry point is refused with module.disabled.
| Cap | Default | When reached |
|---|---|---|
word-system.daily-limit |
50 | Answers still work, but no more coins |
money.daily-cap |
500 | Same — coins stop, learning unaffected |
Plugins like ChatControl can intercept answer input. Add the quiz channel to their whitelist.
The quiz section has no separate debug switch. Scoring errors, word bank loading, and config audits use fixed WARNING logs that ignore config switches. ai-chat.debug only covers the AI conversation path:
ai-chat:
debug: trueThen /lea reload and watch the console.
general.debugis obsolete; changing it does nothing.
- Check the achievement is
enabled: trueinachievements-config.yml - If
time-limit.enabled: true, confirm the current time falls inside the window - Look for
WARNING/SEVEREin the console - Run
/lea reloadto clear the achievement cache, then retry
Symptom: CommunicationsException / Access denied for user / ClassNotFoundException: com.mysql.cj.jdbc.Driver, then the plugin gets disabled.
Note:
DatabaseManager.initialize()throwsRuntimeExceptiononSQLException, abortingonEnable, and Paper marks the plugin as failed to enable.After fixing the config you must restart the server —
database.*is not covered by/lea reload.
database:
type: "mysql"
mysql:
host: "localhost"
port: 3306
database: "letslearnenglish" # must be created manually; the plugin won't create it
username: "root"
password: "correct_password"- Is MySQL running?
- Are the credentials right?
- Does the
letslearnenglishdatabase exist? - Is port 3306 open in the firewall?
-
ClassNotFoundException: com.mysql.cj.jdbc.Driver→ confirm you're using an official release JAR; if you built it yourself, check thatmaven-shade-plugin'sshade-mysql-driverexecution ran
Symptom: database disk image is malformed
- Stop the server
- Find the newest backup in
plugins/LetsLearnEnglish/backups/ - Delete the
-wal/-shmsidecar files first, then overwrite the main file:
rm -f playerdata.db-wal playerdata.db-shm
cp backups/playerdata.db.20260601-143022.bak playerdata.db- Start the server
At startup the plugin switches SQLite to journal_mode=WAL. In WAL mode the database is more than one file — unmerged transactions sit in playerdata.db-wal.
If you overwrite only .db and leave the old -wal, SQLite replays that old WAL into your freshly restored database. "Restored to the backup point" then fails silently: the data you wanted to roll back reappears, with no error at all.
The safer approach (lets SQLite handle WAL):
sqlite3 playerdata.db ".backup 'playerdata.db.restored'"Backups produced by the plugin use VACUUM INTO (WAL-safe, yielding a self-consistent snapshot), followed by PRAGMA quick_check. A check that explicitly reports corruption (malformed / not a database / corrupt) deletes that backup and logs a warning; if the check itself cannot run (SQLITE_BUSY, disk I/O error, etc.), it only logs SEVERE and keeps the file. So the backup directory may contain unconfirmed files — run PRAGMA quick_check yourself before restoring.
Symptom: OutOfMemoryError
The plugin itself uses only 15–30 MB; OOM is usually not caused by it. To rule it out anyway:
- Raise
general.auto-save-intervalfrom 5 minutes to 10–15 - Disable automatic backups:
general.backup.enabled: false - PlaceholderAPI results are cached for 30 seconds — no adjustment needed
database.mysql.pool-sizeis a dead key — the plugin uses a single connection with no pool, so changing it does nothing.
This is by design, not a bug. %lle_rank% and %lle_coins_earned% use async backfill: the first read returns an empty string, and the value fills in after the background query completes — a rank query takes 2.5 seconds at 50,000 players, and running it on the main thread would stall ticks. It fills in within seconds.
If it stays blank, see the caching and async-backfill section of Placeholders.
- Set
ai-chat.debug: true, then/lea reload - Reproduce the problem
- Collect the log:
# from the server console
pastebin upload logs/latest.log- Include the output of
/lea info
Do not paste the entire latest.log (thousands of lines) — the relevant few dozen lines are enough.