Skip to content

Minecraft 1.4.7용 SmartRestart 플러그인

SmartRestart

조회수
8 조회수
업데이트됨
업데이트됨 18.10.2026
  • 1.4.7

SmartRestart

The amount of memory remaining before an automatic restart occurs can be customized. You can also configure the number of seconds between checking the amount of memory, as well as the messages displayed before and after the restart.

Official Website: MC.Candy-Sky.Net

SmartRestart — 스크린샷 2

The Current Features

  • Adjust the amount of memory before an automatic restart
  • Configure the amount of seconds between checking the server's memory
  • Customize the text to display before the restart occurs
  • Customize the text to display after the restart
SmartRestart — 스크린샷 3

Commands and Permissions

Permissions is "smartrestart.sr"

/sr Display the free memory ,least free memory and check interval. /sr reload Reloadd the config. /sr restart Forced to restart the server.

Example the Config

Designing by Taiwanese from Candy-sky.net # Check the time in seconds interval check-mem-time: 5 # Restart at least how much memory? free-mem: 100 # Restart messages closeinga-message: "Server out of memory! Restarting to ensure server stability. Do not shut down the server manually." closeingb-message: "Server shutting down in 10 seconds, log out now!" # message to display to kicked players restart-message: "Please wait 30 seconds before logging in to ensure system stability"

Example the Command start.bat for Windows

@ECHO OFF :restart echo run server now , you can't close java -Xmx1024M -Xms1024M -jar craftbukkit.jar echo Restart after 5 seconds , you can close now ping -n 2 -w 500 0.0.0.1>nul echo Restart after 4 seconds , you can close now ping -n 2 -w 500 0.0.0.1>nul echo Restart after 3 seconds , you can close now ping -n 2 -w 500 0.0.0.1>nul echo Restart after 2 seconds , you can close now ping -n 2 -w 500 0.0.0.1>nul echo Restart after 1 seconds , you can close now ping -n 2 -w 500 0.0.0.1>nul goto restart

Example the Shell Script start.sh for Linux

#!/bin/sh BINDIR=$(dirname "$(readlink -fn "$0")") cd "$BINDIR" while : ; do echo "run server now , you can't close" java -Xmx1024M -Xms1024M -jar craftbukkit.jar echo "Restart after 5 seconds , you can close now" sleep 1 echo "Restart after 4 seconds , you can close now" sleep 1 echo "Restart after 3 seconds , you can close now" sleep 1 echo "Restart after 2 seconds , you can close now" sleep 1 echo "Restart after 1 seconds , you can close now" sleep 1 done

Example the Shell Script start.sh for MAC

Theoretical writing Not been tested

#!/bin/bash cd "$( dirname "$0" )" while : ; do echo "run server now , you can't close" java -Xms1024M -Xmx1024M -jar craftbukkit.jar -o true echo "Restart after 5 seconds , you can close now" sleep 1 echo "Restart after 4 seconds , you can close now" sleep 1 echo "Restart after 3 seconds , you can close now" sleep 1 echo "Restart after 2 seconds , you can close now" sleep 1 echo "Restart after 1 seconds , you can close now" sleep 1 done

Changelog

  • Version 0.4:
  • Optimize detection and restart the code again.
  • Fix "/sr reload" check interval constant error
  • Version 0.3:
  • Optimize detection and restart the code.
  • Add "/sr" command to display the free memory ,least free memory and check interval.
  • Add "/sr reload" to reloadd the config.
  • Add "/sr restart" forced to restart the server.
  • Version 0.2:
  • Correct English syntax errors
  • Automatically restart automatically displays the remaining memory to facilitate record
  • Version 0.1:
  • Initial release

SmartRestart 설치 방법

  1. A server on Paper or Spigot

    The plugin runs on the server core for Minecraft 1.4.7; players do not need to install anything.

  2. File goes into the plugins folder

    Download the file SmartRestart.jar (5 KB) and put it into the server’s plugins folder.

  3. Restart the server

    On startup the plugin creates its own settings folder in plugins.

  4. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

Minecraft 1.4.7 runs on Java 8: with a different Java version the game may close right after launch.

버전

의존성 포함

Minecraft로더파일날짜작업
1.4.7—SmartRestart 0.45.3 KB

리뷰

SmartRestart의 첫 평가를 남겨 보세요

댓글 0

댓글을 작성하려면 로그인하세요로그인

비슷한 플러그인

모든 플러그인

이 항목 더 보기