From a00669bcbbb6b73c3a93c938896e9fa714c870f3 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Mon, 9 Jan 2017 21:18:00 -0600 Subject: [PATCH] Updated automatic updater with delayed server shutdown to allow Server is shutting down messages to go through. --- AutoPluginUpdate.jar | Bin 13755 -> 14333 bytes .../AutoPluginUpdate/AutoPluginUpdate.java | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AutoPluginUpdate.jar b/AutoPluginUpdate.jar index db0e01e65907ace5d9ffe0a500e43ec8d4461930..efe15c4fe6e0cf9fe4630d0b44960ab7f42450da 100644 GIT binary patch delta 2926 zcmZXWc{G%5AIEQv-H@HJdoZ>bGX`TB@=TT?l%-^uETb$BnaGHkObiLpWGu zVT!SYY{^oHWJ!h?N@vH~~Pr zOf`*H1%x;V)E4NKw<=YOMfNc5S)icBQdMdsiyo-kTebQrOAyQ900l`M0l~^ttIgQd zK)eToRh58R%fJx;7^T{=A*&yAP9Nd>^*MU!3p$b&0CKpfc{~QB`%a^mCC!A;owN~CmQNuUXD5ox#QcpjrYelewYwRY{7!()jxY!>PINK>oF38=*sA~ z*=uzfUwoDmbxpn8NT!+j#2DCG4YSwkyBERqt{a;>cnf$lH#;ymlh48h)GeFeR#=f|}R z6AJB^I0~BPjum_EVnZBs*efWI1%ds|p6%E>-9=;GfxBi&CAFr*^~5(wm%$#(&lZl0 ztco~(Pt^znDnMPK3NgyUQWsFQ)bC~Cf>?@s%!~PMmHEPP-BO)x@sz1dav}I;ylP$Ij3r!U zXi$H7NSvgpRM%$}FzEq zBgqcoXPDaHD9Idr`TJfMirEvB_<29M%OO-3&2Fu{2|IO#e5fM>$j;KlRq|B#1Yh$u zxsg`rSj$P_+(NYOF&<~cqKgbMw!A_U4Cvg6SEOOFNqzm=k?z)I5vb zB)b2`{DQg5pmat_2-j7%YH*{gony~O1g~+HwO;+e*D=-1;ym4<58FZ*ma~owO;=f3 zMFvT8(s506l6GXbVYL!&RVKD#4|1)-6*}i=z9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=M?7(o&v%JoV5|5?UPj&{V_3 z&)gsWM6B-46kHfyKM`~(+3GO#A^%ZT5rr<}aa?8f`%6+kp}lw^oesz23wCQVt+SAa z#{CZ(i>fed3A{uqxDA$CSu0&q`Q2_()k=`yPkQZl%$JsAy0FRBz}RMCE9cF$G9q@#E{$4EBUP8J zqQUO(Gh*MD_J`gPsYz|T*+Ic4wk){VBc;JABcOh!bTLsw!-*g!ww1#~03UV8rn= z5Jq5h!V$^{YNTMSkbN&Fw_tGx-b@C`2OK<*L*(TcERk1Ya7JE-L9~J)gLf3{81*v> zwhZbj+Wxtz>^c#I5E{?F7Z%7S39*#1?V9HK197(8u1 VbzOpyT99HV)07d+e&~b#zX6?62%!J~ diff --git a/src/sig/plugin/AutoPluginUpdate/AutoPluginUpdate.java b/src/sig/plugin/AutoPluginUpdate/AutoPluginUpdate.java index 4e57569..7e25f56 100644 --- a/src/sig/plugin/AutoPluginUpdate/AutoPluginUpdate.java +++ b/src/sig/plugin/AutoPluginUpdate/AutoPluginUpdate.java @@ -109,7 +109,7 @@ public class AutoPluginUpdate extends JavaPlugin implements Listener{ for (int i=0;i{Bukkit.shutdown();}, 40); } } } @@ -140,7 +140,7 @@ public class AutoPluginUpdate extends JavaPlugin implements Listener{ for (int i=0;i{Bukkit.shutdown();}, 40); } },20*180*((Bukkit.getOnlinePlayers().size()==0)?0:1)+1);