Skip to content

适用于 Minecraft 的 Restarter 插件

重启器

次浏览
12 次浏览
已更新
已更新 18.10.2026

    关于 Restarter 插件

    The Restarter plugin automatically restarts the server after a configurable amount of time. It works as a quick fix for any stability problems some servers have when running for a long time, lets new plugins and configuration settings you've set take effect, and clears out those AFK players.

    Installing

    Place the Restarter.jar file in the plugins/ directory. After the first run, a Restarter/config.yml file will be generated with default values.

    Note that Restarter actually only stops the server. It does not handle starting the server up again; refer to the examples/ directory for example scripts that automatically bring the server up again after it stops.

    Configuration

    The minutesToRestart value is how long in minutes the server will run between restarts.

    The variance value lets you set a maximum amount for the time between to restart to vary. The server will run for an amount of time in the range [minutesToRestart-variance, minutesToRestart+variance]. For example, if minutesToRestart is 90 and variance is 10, then the server will run for an amount of time between 80 and 100 minutes before restarting. If you set variance to 0, then the server will always restart after exactly minutesToRestart minutes.

    The warn value is how many minutes before the restart to show the warnMessage. Defaults to 1.

    The warnMessage string is the message displayed to all users a configurable amount of time before the restart.

    The kickMessage string is the message shown to all users when they're auto-kicked off of the server for the restart.

    Commands

    /rsquery

    Queries how long until the next scheduled restart from now. Requires the "restarter.query" permission.

    /rsset

    Sets the amount of time in minutes until the next restart. This value is not saved to the configuration file. Giving zero or a negative number will do an immediate restart. Requires the "restarter.set" permission.

    Source

    The source is hosted at https://github.com/AgentME/Restarter.

    如何安装 Restarter

    1. A server on Paper or Spigot

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

    2. File goes into the plugins folder

      Download the file Restarter.jar (10 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加载器文件日期操作
    ——Restarter v1.210.3 KB

    常见问题

    Where can I download Restarter safely?

    On this page: the file Restarter.jar (10 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 63f417cb19e90ec45d514501bd4b8f612e69f9d0.

    评价

    成为第一个评价 Restarter 的人

    评论 0

    登录后即可评论登录

    相似插件

    全部插件

    了解更多