Repository navigation
Installation EN
Before installing, confirm three things: your server is Paper, your Java version matches, and you picked the right JAR. Getting any of these wrong breaks everything downstream.
| Item | Minimum | Recommended |
|---|---|---|
| Server | Paper 1.21.4 | Paper 1.21.4 – 1.21.11 |
| Java | Java 21 | Java 21 |
| Memory | 2 GB allocated to the server | 4 GB+ |
The plugin itself uses roughly 15–30 MB of memory and 5 MB of disk (including the bundled MySQL JDBC driver). Leaderboard refreshes and database backups run on async threads; the full flush on player quit, server shutdown, and reload runs synchronously on the main thread — only the periodic incremental save is asynchronous.
The code uses Paper-exclusive APIs directly: Adventure's Component / Title / LegacyComponentSerializer, and Paper's Server#getMinecraftVersion(). These do not exist on Spigot — loading there fails immediately with NoSuchMethodError or NoClassDefFoundError, so Spigot / Purpur / Folia are not guaranteed to work.
The project ships two JARs built from identical source with different compile targets:
| JAR | Server support | Java required |
|---|---|---|
Let's Learn English!-<version>.jar |
MC 1.21.4 – 1.21.11 | Java 21+ |
Let's Learn English!-<version>-mc26.jar |
MC 26.1+ (incl. 26.2 / 26.3…) | Java 25+ |
Paper's API is bound at compile time. Code compiled against the 1.21.4 API runs on a 26.x JVM (verified: all 78 methods of the main class resolve), but it cannot use APIs added in 26.x. Conversely, compiling against 26.x APIs requires JDK 25 on the build machine.
| Scenario | Symptom |
|---|---|
| 26.x server, standard build | Usually starts, but may error when hitting behavior fixed in 26.x |
1.21.x server, -mc26 build |
Server refuses to load (api-version: 26.1 exceeds the server version) |
| Java too old | Unsupported class file major version |
The api-version in plugin.yml is injected by the build profile: "1.21" for the standard build, "26.1" for -mc26.
Not verified experimentally: setting
-mc26'sapi-versionto26.1is inferred from "26.1–26.3 are the same API generation, additive only". Only a 26.3 jar was available to check against — there is no real 26.1 server to test. Please report if you hit problems on 26.1.
Put the chosen JAR into your server's plugins/ directory:
your-server/
└── plugins/
└── Let's Learn English!-1.0.7.jar
Restart the server (do not use /reload — the plugin needs a full startup cycle on first load).
/lea info
You should see the version, server compatibility, and database type. If it says the command is unknown, the plugin did not load — check logs/latest.log for the error.
plugins/LetsLearnEnglish/
├── config.yml # main config
├── achievements-config.yml # achievement switches and time windows
├── ai_scenarios.yml # AI scenarios (released automatically)
├── ai_config.yml # AI key (create it yourself; AI is unavailable without it)
├── player_lang.yml # per-player language preference
├── words-version.txt # word bank version gate
├── messages/zh.yml # Chinese messages
├── messages/en.yml # English messages
├── words/*.yml # word bank (1357 words in three tiers)
├── backups/ # automatic backups
├── exports/ # CSV and report exports
├── audio/ # TTS cache
├── player_scenarios/ # player-created scenarios
└── playerdata.db # SQLite database (tables created at startup, not on first answer)
On Linux, if the server does not run as root, make sure the data directory is writable:
chown -R <service-user>:<same-group> plugins/LetsLearnEnglish/Permission failures are not silent: an unwritable data directory throws SQLException during startup, the console prints a SEVERE Database initialization failed!, and plugin initialization fails. A single failed save at runtime logs a WARNING Failed to save player data. Players in-game see nothing, so check the log when diagnosing.
There are no hard dependencies. The plugin runs standalone.
| Plugin | Purpose | Consequence of skipping |
|---|---|---|
| Vault | Economy hookup; coins for correct answers | All coin features are skipped cleanly, no errors |
| PlaceholderAPI | Provides %lle_*% placeholders |
Scoreboards / tab lists cannot read learning data |
Both are declared under softdepend in plugin.yml, so Bukkit guarantees they load before this plugin.
Download Vault and an economy plugin (EssentialsX, CMI, etc.) into plugins/, then restart.
progress-system.rewards.types.money.enabled in config.yml defaults to false; after installing Vault you must set it to true for coins to be paid. This is deliberate — the owner confirms before money starts moving.
Download PlaceholderAPI into plugins/ and restart. This plugin registers a lle expansion automatically and logs PlaceholderAPI expansion registered. If /papi list shows lle, it is connected; see the Placeholders page for the full list.
SQLite by default, zero configuration. Switch to MySQL when you have many players or multiple backend servers.
Data lives in plugins/LetsLearnEnglish/playerdata.db.
Backup warning: WAL mode is enabled, so playerdata.db is not a complete database — unmerged transactions sit in playerdata.db-wal. Stop the server before backing up; copying only the .db file silently loses data. See Maintenance.
Edit config.yml:
database:
type: mysql
mysql:
host: localhost
port: 3306
database: minecraft
username: youruser
password: yourpassword
table-prefix: "lle_"The MySQL driver is already shaded into the plugin JAR, so you do not need to install a JDBC driver on the server.
Multiple backend servers: you must use MySQL, and all servers' system clocks must agree (same timezone, NTP synced). Clock drift causes misaligned season settlement and wrong review due dates. See Configuration.
If installation fails or the plugin won't load, go to Troubleshooting — it lists steps in symptom order.