/
Don't let your server crash anymore. With PterodactylAntiCrash you can set your server to restart itself at a certain RAM load to prevent a crash. You will be warned with a countdown before the restart. All messages are fully customizable. It works reliably and prevents crashes.
# -------------------------------------
# Settings
# -------------------------------------
threshold: 8192 # Maximum RAM in MB before the server restarts.
apiKey: "ptc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx" # Your personal api key from the pterodactyl api.
apiUrl: "https://panel.example.com" # The basic url of your panel. ! Important, without a / at the end of the url.
serverId: "xxxxxxxx" # The id of this server. The id can be found in thr url after the /server/.
# -------------------------------------
# Messages
# -------------------------------------
kickMessage: "&cThe server will restart. Connect again in 3 - 5 minutes." # The message shown to a player when the server restarts.
restartMinutes: "&cThe server will restart in {0} minutes!" # The countdown Message for the minutes. {0} will be replaced with the minutes.
restartSeconds: "&cThe server will restart in {0} seconds!" # The countdown Message for the seconds. {0} will be replaced with the seconds.
restartNow: "&cThe server will restart now." # The countdown messasge after 1 second.
pteroram: "&aCurrent RAM usage: {0}" # The message for the /pteroram command. {0} will be replaced with the ram usage in mb.
noPermission: "You don't have the permission to execute this command." # The message for players without the pac.use permission.
![AntiCrash [Pterodactyl]](/_next/image?url=%2Fapi%2Fproxy-image%3Furl%3Dhttps%253A%252F%252Fcdn.modrinth.com%252Fdata%252FqTr9rWT0%252F8d71a28520718b29899f4e45fdabe1012f62d7ff_96.webp&w=256&q=75)
Prevent your server from crashing with timely restarts.