parent
fc02e2233b
commit
76e73b5c25
|
@ -28,6 +28,7 @@ public class AuthMeHook implements Listener {
|
||||||
if (player.isOnline()) {
|
if (player.isOnline()) {
|
||||||
if (delay > 0) {
|
if (delay > 0) {
|
||||||
C.ActionBar.send(player, String.format(plugin.config.TPDelay, delay));
|
C.ActionBar.send(player, String.format(plugin.config.TPDelay, delay));
|
||||||
|
delay--;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
plugin.random(player);
|
plugin.random(player);
|
||||||
|
|
|
@ -9,7 +9,7 @@ Servers:
|
||||||
WaitTime: 35
|
WaitTime: 35
|
||||||
#AuthMe自动传送
|
#AuthMe自动传送
|
||||||
AuthMeAutoTP: true
|
AuthMeAutoTP: true
|
||||||
#自动登录延时(单位: Tick)
|
#自动登录延时(单位: 秒)
|
||||||
AutoTPDelay: 10
|
AutoTPDelay: 10
|
||||||
#传送提示
|
#传送提示
|
||||||
Message: '&a请稍候 正在传送至服务器 %s ...'
|
Message: '&a请稍候 正在传送至服务器 %s ...'
|
||||||
|
|
Loading…
Reference in New Issue