[插件] 【全版本、汉化、修复Bad login】RestartEvolution V4.1自动重启服务端插件V2 看全部

原文介绍
Description
Restart Evolution is a plugin that allows admins to restart and stop their servers.
The server script automatically detects by typing in a command whether it should stop or restart.

If you cant edit the start script, the server will do an restart or stop (defined by your hoster) when you type in /re stop AND /re restart.
This Plugin works only perfectly if you can edit the start script.
But you can also use it without the Script!

Restart/Stop the server with a specified message
Set the warningtimes in the config
Modify every warning at RestartEvolution
Restart/Stop the server immediately
Restart/Stop the server after the given time
show not decimal time without a comma
working also with linux / mac
status on join
Sound when warning
Setting up
You just have to put the RestartEvolution.jar file in your plugins folder and replace your start script with the one at the Scripts page.


Commands and Permissions
Command        Permission        Description        
/re help                shows the help of RestartEvolution        
/re restart        re.restart        restarts the server        
/re stop        re.stop        stops the server        
/re restart now        re.restart.now        restarts the server immediately        
/re stop now        re.stop.now        stops the server immediately        
/re restart time <minutes>        re.restart.time        restarts the server with the given time        
/re stop time <minutes>        re.stop.time        stops the server with the given time        
/re reload        re.reload        reloads the plugin and stops the restarting progress
Planned Features
Nothing planned new


官方:http://dev.bukkit.org/bukkit-plugins/restartevolution/


V2版本修复因为编码问题导致自动重启无效,默认为4小时自动重启一次。

下载地址:
restartevolution_4.1自动重启V2.zip (11.36 KB)
(下载次数: 822, 2014/6/4 23:35 上传)


下载地址:restartevolution_4.1自动重启V2.zip(11.36KB)

下载地址: http://www.colafile.com/file/1079843



1.jpg

2.jpg



此版本修复Bad login问题,修正串改server.properties文件的2个参数,server-name=Unknown Server,online-mode=true,修复默认虚拟内存XMS强开1024M导致卡的问题。


官方启动脚本使用说明文档
RestartEvolution Scripts

Windows
引用: @echo off
color 2
title minecraft_server
:MAIN
cls
SET BINDIR=%~dp0
CD /D "%BINDIR%"
java -Xincgc -Xmx768M -jar minecraft_server.jar
if exist "plugins\RestartEvolution\restart.mcs" goto MAIN
if not exist "plugins\RestartEvolution\restart.mcs" goto END
:END
PAUSE



Linux
引用: #!/bin/sh
Start()
{
clear
BINDIR=$(dirname "$(readlink -fn "$0")")
cd "$BINDIR"
java -Xincgc -Xmx768M -jar minecraft_server.jar
IF
}

End()
{
echo ""
read -p "   click enter to stop the server . . ." nothing
exit
}

IF()
{
if test -e "plugins/RestartEvolution/restart.mcs";
then
        Start
else
        End
fi
}

Start



Mac
引用: #!/bin/bash
Start()
{
clear
cd "$( dirname "$0" )"
java -Xmx768M -jar minecraft_server.jar
IF
}

End()
{
echo ""
exit
}

IF()
{
if test -e "plugins/RestartEvolution/restart.mcs";
then
  Start
else
  End
fi
}

Start


  • 沙发 慢嗨式恋爱 该用户已被删除
  • 2014/6/4 16:20
提示: 作者被禁止或删除 内容自动屏蔽