The “exception in server tick loop error” will prevent your server from loading and deny you access to your game. The good news is that the following error is not one without a solution. Read on from our programmers on how to solve this issue.
What Is Exception in server tick loop?
The “exception in server tick loop” is a common error message that can occur in Minecraft servers. This error message can be caused by a variety of different issues, but one of the most common causes is problems with some .json files that are used by the server.
The specific files that are often associated with this error message are ops.json, usercache.json, and whitelist.json. These files are used by the server to manage player permissions and access. If there is a problem with any of these files, it can cause the server to crash and display the “Exception in server tick loop” error message.
Method #1: Review Server Files
The first step is to review your server files to ensure none of them is missing, especially the JSON document.
You can do this by using the web-based FTP client which allows you to manage your Minecraft server docs. Navigate to FTP file access and log in using your dedicated panel password to review your docs. Once it accepts, they will redirect you to the home directory of your server.
Step #1: Stop the Server
To bring your server to a halt, you can use the /stop command. This will end your server activities and save all the data. This command will help prevent crashes and lags.
Step #2: Access Your Server's File Manager
To access your file manager, you have to press the WIN+R key, then type in% APPDATA% followed by the OK button. If you follow this process well, the AppData folder will open; scroll down to locate a folder with .minecraft. This will contain your server details.
Step #3: Delete Json Files
If you have reviewed your server documentation and determined that the “Exception in server tick loop” error message is caused by missing or invalid .json files, the next step is to delete the problematic files and replace them with corrected ones.
The .json files that are commonly associated with this error message include ops.json, usercache.json, and whitelist.json. To delete these files, navigate to your server directory and locate the files in the appropriate folder (e.g. “world” folder for ops.json). Once you have located the files, delete them from the folder.
Step #4: Start Your Server
After you have completed the previous troubleshooting steps, it’s time to start up your Minecraft server again. To do this, simply navigate to the server directory and run the server executable file.
Once the server is running, log in to the game and see if the “Exception in server tick loop” error message still appears. If the error message is gone and everything appears to be working properly, then the issue has been successfully resolved.
Method #2: Delete server.toml files from the serverconfig folder
Another way to fix the exception in server tick loop error again is to delete the server.toml files. Do this from your config folder. Select the server and scroll through to the left side menu to access your config document to select Config Files. Once the config file is open, delete the server.toml files.
Method #3: Check if You're Using an Updated Version of Optifine
Optifine is a popular optimization mod for Minecraft that can improve the game’s performance on lower-end computers. However, using an outdated version of Optifine can sometimes cause the “Exception in server tick loop” error message to appear. If you are experiencing this issue, one possible solution is to check if you are using an updated version of Optifine.
To check if you are using the latest version of Optifine, visit the official Optifine website and download the latest version of the mod. Once you have downloaded the latest version, replace the old version of Optifine with the new one in the “mods” folder of your Minecraft installation directory.