Environment
- ClickVillagers version: 1.6.2
- Server: Paper 26.1.2 (build 68)
- OS: Windows 11
- Java: 25
Issue
On a fresh installation, ClickVillagers starts normally and generates plugins/ClickVillagers/lang/en_US.json.
However, on every subsequent server startup, the plugin reports a version mismatch for en_US.json and attempts to redeploy the file. The redeploy fails with:
java.nio.file.FileSystemException: plugins\ClickVillagers\lang\en_US.json: The process cannot access the file because it is being used by another process
Steps to Reproduce
- Install ClickVillagers 1.6.2 on a fresh server.
- Start the server.
- Verify that
plugins/ClickVillagers/lang/en_US.json is generated.
- Stop the server.
- Start the server again.
Expected Behavior
The language file should be considered up to date after the first startup and should not need to be redeployed on every restart.
Actual Behavior
Every startup reports:
[Configured] Version mismatch detected. Deploying from resource directory for 'en_US'...
followed by a FileSystemException when attempting to replace en_US.json.
Additional Information
- The plugin still enables successfully and appears to function normally.
en_US.json is not read-only.
- The server folder is not inside OneDrive.
- No editor or external process is holding the file open.
- Deleting the
lang folder allows the next startup to complete without errors, but the same error returns on the following restart.
- The generated
en_US.json contains "version": 6.
Environment
Issue
On a fresh installation, ClickVillagers starts normally and generates
plugins/ClickVillagers/lang/en_US.json.However, on every subsequent server startup, the plugin reports a version mismatch for
en_US.jsonand attempts to redeploy the file. The redeploy fails with:java.nio.file.FileSystemException: plugins\ClickVillagers\lang\en_US.json: The process cannot access the file because it is being used by another processSteps to Reproduce
plugins/ClickVillagers/lang/en_US.jsonis generated.Expected Behavior
The language file should be considered up to date after the first startup and should not need to be redeployed on every restart.
Actual Behavior
Every startup reports:
[Configured] Version mismatch detected. Deploying from resource directory for 'en_US'...followed by a
FileSystemExceptionwhen attempting to replaceen_US.json.Additional Information
en_US.jsonis not read-only.langfolder allows the next startup to complete without errors, but the same error returns on the following restart.en_US.jsoncontains"version": 6.