From 872448d92a460eaf9dc5ed0e00000a30921009bc Mon Sep 17 00:00:00 2001 From: Travis Eggett Date: Tue, 29 May 2012 23:14:05 -0600 Subject: [PATCH] Many bug fixes and more configuration --- .classpath | 2 +- bin/me/Travja/HungerArena/ChatListener.class | Bin 3083 -> 3092 bytes bin/me/Travja/HungerArena/CommandBlock.class | Bin 1777 -> 1811 bytes bin/me/Travja/HungerArena/DeathListener.class | Bin 7124 -> 7803 bytes bin/me/Travja/HungerArena/HaCommands$1.class | Bin 958 -> 1009 bytes bin/me/Travja/HungerArena/HaCommands$10.class | Bin 959 -> 959 bytes bin/me/Travja/HungerArena/HaCommands$11.class | Bin 1164 -> 959 bytes bin/me/Travja/HungerArena/HaCommands$12.class | Bin 0 -> 1164 bytes bin/me/Travja/HungerArena/HaCommands$13.class | Bin 0 -> 1011 bytes bin/me/Travja/HungerArena/HaCommands$14.class | Bin 0 -> 960 bytes bin/me/Travja/HungerArena/HaCommands$15.class | Bin 0 -> 959 bytes bin/me/Travja/HungerArena/HaCommands$16.class | Bin 0 -> 959 bytes bin/me/Travja/HungerArena/HaCommands$17.class | Bin 0 -> 959 bytes bin/me/Travja/HungerArena/HaCommands$18.class | Bin 0 -> 959 bytes bin/me/Travja/HungerArena/HaCommands$19.class | Bin 0 -> 959 bytes bin/me/Travja/HungerArena/HaCommands$2.class | Bin 957 -> 958 bytes bin/me/Travja/HungerArena/HaCommands$20.class | Bin 0 -> 959 bytes bin/me/Travja/HungerArena/HaCommands$21.class | Bin 0 -> 959 bytes bin/me/Travja/HungerArena/HaCommands$22.class | Bin 0 -> 959 bytes bin/me/Travja/HungerArena/HaCommands$23.class | Bin 0 -> 959 bytes bin/me/Travja/HungerArena/HaCommands$24.class | Bin 0 -> 1164 bytes bin/me/Travja/HungerArena/HaCommands$3.class | Bin 957 -> 957 bytes bin/me/Travja/HungerArena/HaCommands$4.class | Bin 957 -> 957 bytes bin/me/Travja/HungerArena/HaCommands$5.class | Bin 957 -> 957 bytes bin/me/Travja/HungerArena/HaCommands$6.class | Bin 957 -> 957 bytes bin/me/Travja/HungerArena/HaCommands$7.class | Bin 957 -> 957 bytes bin/me/Travja/HungerArena/HaCommands$8.class | Bin 957 -> 957 bytes bin/me/Travja/HungerArena/HaCommands$9.class | Bin 957 -> 957 bytes bin/me/Travja/HungerArena/HaCommands.class | Bin 24199 -> 36945 bytes bin/me/Travja/HungerArena/Signs.class | Bin 2246 -> 2757 bytes .../Travja/HungerArena/SponsorCommands.class | Bin 3508 -> 3644 bytes config.yml | 11 +- src/me/Travja/HungerArena/ChatListener.java | 11 +- src/me/Travja/HungerArena/CommandBlock.java | 2 +- src/me/Travja/HungerArena/DeathListener.java | 28 +- src/me/Travja/HungerArena/HaCommands.java | 1801 +++++++++++------ src/me/Travja/HungerArena/Signs.java | 28 +- .../Travja/HungerArena/SponsorCommands.java | 72 +- 38 files changed, 1297 insertions(+), 658 deletions(-) create mode 100644 bin/me/Travja/HungerArena/HaCommands$12.class create mode 100644 bin/me/Travja/HungerArena/HaCommands$13.class create mode 100644 bin/me/Travja/HungerArena/HaCommands$14.class create mode 100644 bin/me/Travja/HungerArena/HaCommands$15.class create mode 100644 bin/me/Travja/HungerArena/HaCommands$16.class create mode 100644 bin/me/Travja/HungerArena/HaCommands$17.class create mode 100644 bin/me/Travja/HungerArena/HaCommands$18.class create mode 100644 bin/me/Travja/HungerArena/HaCommands$19.class create mode 100644 bin/me/Travja/HungerArena/HaCommands$20.class create mode 100644 bin/me/Travja/HungerArena/HaCommands$21.class create mode 100644 bin/me/Travja/HungerArena/HaCommands$22.class create mode 100644 bin/me/Travja/HungerArena/HaCommands$23.class create mode 100644 bin/me/Travja/HungerArena/HaCommands$24.class diff --git a/.classpath b/.classpath index b189d2c..5edfce4 100644 --- a/.classpath +++ b/.classpath @@ -2,7 +2,7 @@ - + diff --git a/bin/me/Travja/HungerArena/ChatListener.class b/bin/me/Travja/HungerArena/ChatListener.class index 5018e5d09de84ac784ea4a54245651d6dedf83f7..97f08221a4f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.class index ab38f0a184859d88e9e42fd4509941991d65bd3a..d8963f90cd8be100bab97c5b21408160af4fcc8f 100644 GIT binary patch delta 374 zcmXAlOD_Xq6o#MA3_}f)A{JT+7PM8BCM?u->fWk*QIt_dX*x-bwSQnUEB=K`MoQub z*jf4+wi4nKXYnTIImvt8b3PlKM$g;N^D7YL_|9W0u{s8b>5MQc&~j$!%qo-wBIBWh zah(Y!1^Pwaj+>=izF5p33Dn+9AgvL1t`%R8K|>ug%xTODTCDO(8v$K>MW9SzLc0)c81h`iB|v6np0Gx?FJhq1N17gqgk1)22>*A(H*|+om$C2* z#`Y6a_e{Gayh|=CF6$LGovRvOIz)^7Mk@*0@JjpO{}P%d|EnZ>WD!&|%RUEG;laS< XP{zs0c|GErgho)4sRc(8RgwP%LQ763 delta 324 zcmXAj%Ps?P7)Q@^hN;n#3{pZRG;wKFqlrXZhSvSkx|C9vGC~?6Bu#k&TdV(yohJ}9 zBS<`e#KL1(_5p~0({J%D&M!GRqORmMKL6f6fGCHLhOHU~?TmOBWlY?t%{}7^zEk_k zj-1)&xk##zKRM6EFHg>nj`Ic<-WuXe=}d|*wMCs~M*OH9Zi_h&^DGEc8&Q@-QtOu} zSw_p^T8p+?ta@0ZQ^8%hs5om`C#|y~zBRwP$<}j8%PMmZsAw`S9&+#}Wf6e4uiJ@LYl*H_#G?r!o(9XhgoycA>pv{N=n>Ux1~F1q>CnE_%Nk3SW(j; ndHLdG*hZm>F?QI+g~1SeWM#y@+-p&OiRlD&*{X0Lkqi4DF=;|! diff --git a/bin/me/Travja/HungerArena/DeathListener.class b/bin/me/Travja/HungerArena/DeathListener.class index 3cb78b633e40eccceb91cf73cdce0f2ac586f799..00650fa55231cc9647fe3878e44d323f8e122754 100644 GIT binary patch literal 7803 zcmb7I3w&GUb^jk-NmsUS{LsU(fFw#ni0#BN1aKQWq;X;=G58T;Cm~@?xUp|6C9-6s z>zMFpH<|(+ZGp6OO-d-+6rJf6n>Nz2E%RGp7Kom7O{~g5?ud`$)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n;Jm>}Y0+9nFl_smP33ff-ubRc>h|W+G>r!@g#wk9E;VZD@zi98}~o z6O!6cZCEo?5MPNI?EL>TQ#_R9KKCHl%rt*F&%!M{coDcth?IXD(*A4V z_;(`bAI6M-60`mp9QD5!bN-V!=0A-$`oD}j{V(86{_o;0{||Au|7E;6untE9G29bq z#ajaHxHm9@gW3tM4hTAuON8gp{mTWcJbN2FD5K+wp`U9yvF zL&V#Y7bfbSJVk6hd10dK$y3D2n^#4|ym>+5;?1ifGTywP_Comr>Rv%F%MlYVm}p(V zR}nTLCMJqw9Cq8StZH5aUdDUs7O)koR+{Ecev#KOQ*LCrxIj!^MdX48WF>LHOE4C2 z57bICOgv2+%dI=_+>78i&+I{tSw!w1QehQ(YKih#T3ub7A6cpcM$xns$5+gR}M>bcYLl z2;YP^aG+gy7x$cV^PT&{=lr8Xj)_fFIkpJJC?0sdm+^Qcy_=<2*hWo#Q&TLcT?>1t z6AFVscB3$fo`Sm|^n;ktc3Zdq+WlxU5uxv8R5y(&+{wWqH4G4d{0x;D zc1rda_6^*B>JvjzZ&NGS6zl8_C7rDlM;RMB8E}_m3&&bl(8ejwv@^J9HluaOk;lvuG?7Q%@edJbh)h514MK2B1hl6g{cyE;iD zn>DHy>q2?r2Kkxi5VDb7NX=bfOHiG5fo*mzcCv2?4(l`o_i}irudnoI-0h7nt#bX_6^RNrU$eQvrTID+RQKQ04sg~ diff --git a/bin/me/Travja/HungerArena/HaCommands$10.class b/bin/me/Travja/HungerArena/HaCommands$10.class index 30bdf5b10f9bc768620d2a30125dfc4ef2b29083..3958ea459da143f89c1ba01db57d814680efbfdf 100644 GIT binary patch delta 30 mcmdnbzMp-=OGZYc&94~!85vJZwqo{TJ;flzbb4|pvl#%Yw+b!* delta 30 mcmdnbzMp-=OGZY+&94~!85y@twqo{T-N7Klv~zMNvl#%WmkIX( diff --git a/bin/me/Travja/HungerArena/HaCommands$11.class b/bin/me/Travja/HungerArena/HaCommands$11.class index 56760ee782df95cd710356fd0092f405f9d96e1a..eb5544c6c744fc1be1c80206425e0fda4b05f1c9 100644 GIT binary patch delta 372 zcmYk0&r1SP5XZms)?D}bs#QzNepzX)Yh~6YD1wM?b_(iTD6t3%VqNRjC5Ywy6I}x< z>QMI}>d@a4%`=GxhMD=!ywCeyJFm8U`+j}_u!c$~uT*p^Xa=2aLcyzsZf<(Bcu0us zwrX_;gh2%xF$oL93JzSIrdl+EaT{a$k_uK96Z)3CxWp7@Y)lifp__L0kAtQ{4zs!{ z@?H${1ggYQz@m)>LZa0^EuWk<8bPOgP;Z~t+X^0vIus@SCDyGKl(n>OF35Gw_iR>h zI*{xr&fNyjMv;E$9?E~j&|U8)VYJ?cFd*KMqoy#zl`smoPuby1vrGA1s4mhE sm`u(+Aun+Bi`)C-i4P>j=RaPm&$Hk&L7;>st`TIgj8*Q8Q^V%?0q^fGLjV8( delta 573 zcmZXQ&u-H|5Qo3rq?kBvYtjIP0!<)5nm-s?XrXBf5)$IjTLehlOlk$UsUx{=4qP~L zK|+zwJOolw1c-(+ufV$?#vu}wSZQ}=c7HS9%#Mur8T04wugAbLkNW1js?l>hrTv4p zBDcNk_FSjq25qMqg?`X(C{Atofgf!t*2>#`yRhE)U$pdGk$&9W@iHi8EeuX4-WiJw zrb&u9i!Ay6ubs>Smkll{3Q}sy;tGrLzAB5n$Tfqj@kh1zti*M}J_);Tyg)JcmvGG5gysZF-xj{fjg+jcT1*tuj% z`A#i6izS0ki?=CpO6+WJllwFlo|V%aCn!w)jdKzwi6ZAb^I{bj$WKbO zM47zRD+6W*TpUn1inuX}j;M-ff5FkbnB1j@-1|q$k(TbhGp&y)>Jc^l;{>rjA*OgB U49z+Xv1u0A;GuY?uoJqhKNlxr0RR91 diff --git a/bin/me/Travja/HungerArena/HaCommands$12.class b/bin/me/Travja/HungerArena/HaCommands$12.class new file mode 100644 index 0000000000000000000000000000000000000000..35f1ab71b95edd8e7c6b8616c2a3ccd1f1335e96 GIT binary patch literal 1164 zcmah|TTc@~6#iygSX&la3wS|PE=AjNS-=ZwK{P}nNzud-O!R5G9hWWJSu?xa2mh4` zVD!Ns;G^;KZ;WSXladteCbM(qoU`9|&Y5q&{rU10z$%`YFc@Z=!roK7)!_E?Sh_+z zRYH=@w}NJq%X*k!Sv8Sl$ToP3+dh}B{j$~&PGn+`A=mZ3ilyW=UoZ?t2VR(8W|*n; zLoYL!E$-)=p-W(uE?PBGo^&ZZxb8_Wdd#p^=#SP5P~2xoZUuFb0z<}vi3{4gXd#7k z8VQVA7{VAsqM%bV6;Fy6akD1WUb~rGC2+XE&y}ao9cNN^$S~KpBAOockWjHq;To=+ zm}HphHxvsuaFaTJ@5inu87BWhv&%hMPGK6eCT18W&d1eR7V?-Q#BCLP5QI3|9#kB8 zK3#QqP!&-*joT=iD9~_DuiaSE!@Ffl2%OxyzcNY+7)5QU6Rmv;hd}7(Y@Zcu!aXD8;8qA zpvS}BFr=$NtQ@iJY5iro>Rr;Ukms3n{2(Mn?TY9is9V?oNh%e{j?5X}70wp#wAF8S z!c`&bLY4oMQSPnxZLh0HrCK{u3bp0)FccxCNQ?<}jKkSGj1 TLYej?$$uT2WTlB(lhgAT45=UL literal 0 HcmV?d00001 diff --git a/bin/me/Travja/HungerArena/HaCommands$13.class b/bin/me/Travja/HungerArena/HaCommands$13.class new file mode 100644 index 0000000000000000000000000000000000000000..31e740674599171e4689615262fdf1db090466b3 GIT binary patch literal 1011 zcma)5%Wl&^6g?B0I!R5FhW9&dQ^*7A78W1{kRSqqWI$@FBEf3n42e@`jK+5Uiv^;v z-~;#r1mA+V<5(nZ7hy4)nd5WsIdkvzk3ZkO1GtMF3ps|3v2gYjpNzQkB9Q~3o+u&d z%sb(D%w<2S?cB3qGL%Pr!kvK2f%B#}5?*X!iJ>w>cM~ajFAxk%@z9TI+YIaOqU>#A zKlG&^KW5mhFQzy48O%=D7X>h!wqYS(gn^Qc0?G_VT@y;KFU9L*+!JbV>Zsy|9uM}p z^7TCfO>L887phVT$fuzaS;PfgvT%`MHBvA_%z8th0?-+{RFj1a(?(3eH zW)rie*@QfkUJypaekI~z*tc+-p}J@wY;3`yDu(i(!w>)CaIVb9-q1ej{{2ZvKgfP5 zrBI!KN0Eq7r3o`=odPSD^`OyTlcQBYk%!%2FAqQ^Fh?Xwq(? Ng*(_zrC2IS$G_jS0to;B literal 0 HcmV?d00001 diff --git a/bin/me/Travja/HungerArena/HaCommands$14.class b/bin/me/Travja/HungerArena/HaCommands$14.class new file mode 100644 index 0000000000000000000000000000000000000000..c043b962748005e27e67cf040002e506f70bb214 GIT binary patch literal 960 zcmah{?QYXB6g_UkvUY)XE#qSh7+VKv2TP0iffR%^RUjs{Akk?^+b<_IS-R9gPSW>6 z8X)+=1MngU9s+T_R_a87TC(hWe0+R-@BQ}c%U1vo(K3-^*c=LHU-8j^J1;UB2(_z( zq&;uP!y%Xbq}F<5!eA&5_=r0Zmx1%j8wfu&vA|H7qOUV4xfcnBh4eT~YE6cX&OCLO z*iS+krcW8R?D_Qi0fW(w`=S7bixx~Q7LiBELIGulysZhPPAJ98Z0HHKKXz2<#6FJ> zxC(VV0S#@Fo}K$DrGR|qRVE9#it8q>F|5z~nT1u{px?cVvLKWUYyWtr%R}iFaTB*q z++tY$yRK$gSjQcPLLkzfP$QujR_uBwR)OPXCnsU*jA3^Xn+&;Da|v6xXW}ly@(js> zjXG7;Q!(%RJW0DENq9ijTd_OSqV`f1%D}DfF%)}orhM@{)Fm!W8)Qeb33(>{C{Bpo z73p!@x3B|;+{SX!Nepl8^Je{VgE^Dqo{)W^-2X7#Szkx9Q2mg>+LKbKcEpoJB$PEO z9?c72<+AP=YX2O~0*Zt#(e5$D8YwomKfr2y!ln0ToMnxjozQLLJ1P`gbVs9AT&9)M zh4MsYmzesj+Bk)EiYp(nR@wNBS`KgikTZUuV*ETOSDnb^(I9~wwsD_UgSzbjnzYkK HwKR?2j%DoB literal 0 HcmV?d00001 diff --git a/bin/me/Travja/HungerArena/HaCommands$15.class b/bin/me/Travja/HungerArena/HaCommands$15.class new file mode 100644 index 0000000000000000000000000000000000000000..f6fd5c065576b6f0841522307b263d4991539504 GIT binary patch literal 959 zcmah{?QYXB6g_UkvSxvHE#qShHntAZ4welG2^54hRUjs{Akk?^@XJX}mM(RWlk~li z1_*xe06YtVH$Yskl{!(NmMr@oA0Hpzd%ykq@)f{6?3ySrYz%~Zp!l%Q-DkNBh1yd> z(w?`H!GOzNTHn2I!eFTM`H;IYm!bQ@?~5QaF~?Aypf7VNxgQILx$G!P>pKkV?OEy` zu^&Y;${sUpIqFrlDn1%;_jx7*q4t!J zwCAmOIOMXQ)OQ}4Fc>NWKH_e~W#GQ(4TPVXm}96;(3hE%ycY?Ex%4

e~!!?OEy` zu^)#rOrJ1pIJ4=EBL<@t_k{(9i#ANmmrz96hJ^}4(b0r*JCx!e8}@`c96PGEW1mMy zT!lK$K||Z5XJ@`jDIlLkl}QU%aoxl6}Y|ZuF z^8#3bw?NY3fQgibI?B*w2dVj`Q)Y#bx-8R0XO0i9MG+M)DS}9$q z}d81Pa*1eOe7_wg=dzoi?ha GY5WGv9PG>h literal 0 HcmV?d00001 diff --git a/bin/me/Travja/HungerArena/HaCommands$17.class b/bin/me/Travja/HungerArena/HaCommands$17.class new file mode 100644 index 0000000000000000000000000000000000000000..a0f6ed446b750ccbc27377be807730d03ee1990b GIT binary patch literal 959 zcmah{U2oGc6g_UkvUGuVE#qSh7+VKv2g}CGkb;n=3dE##NOT$!Jh`dK(xnb^lKwBG z0fGm906z%93*vf>)QJMMWZC!l`1ttV`|a14uK*rm$3%f)eJI>R#YY3~KF?$z)SeQO z_PiAjhg|lP`p&KigP}6uBko3A2JVaAK=`SNIfm*4eVIwgdy!z6OOL~(zRj@Ko~7;) z`*A44^a;a;Gn?KxVlY~9UszzcXv4&O2}P7`Sg0@*9Ze{=Ln#ijVNa;Tv7>4`_IY%~ zRjA_}G_*~6cIK;;0`gf@nY3^f*G*hwSe^AV8_T#szk3&DK`0qk{_#wQhtezICT^R! z#jyN$UCpwwiaQKeAkwZ-BcT|UoJKoVf!oVYPQuh3!`?jB8QAUuHgM0xU53RejtvJ5 zDr!%~yzlcQ?T94d0Tpk_X-{g}O;soZud&Zi>c*M!#j{XXxIF2PEzKt6sq~{bA$CWk z$8q1r7F;qL%e;{o-a6;K`s4m`^W(0NeWASnFuZABZ>FKfYX*B?N}*a2PZE(((x`Sc zFMw4lx?!mM3p6d12wkAvBZ@UrYHogj-TZ`0@6R}k8aq3o+s1cPDYog3Mr*iCE2RsS zTxE}#`mEMGg?)-EAF)zh`;2-4ul|rTexPdnJSSJn<%(#MKmnV$Ppd)A_5jx{5v~V3aP26Buo%J&t%eY0q`w-`0BpFuz@l2aX(l6mQ?wYv6 zu>5yj&9bqIdkj`6vW`$gp%|9jdMi<(*Ue8(qRbn?{yf$h*pmfp;DL$z42x478!qZp z)UHZ+FW_m`7HP^uD&CUYn$)zDsYr%?eV?J!Npcm47m==TdD0(SnoY=a8N^9S?6$~` zlb($&cw{z_<3?h5?_Ts8jQYzPA9sZ83FZHX;ZOT|Hx1R_GT8f43e}8xnu?T?Mzy1P z3CwYH!%+7ZXj&){xKiZxPdY<_~>_<}1R&pC@4J3pb@#!plzw&{*WtGG%lr3=nj zWsjKptlBt*eTr+Ju~J$4idq40{*W_%p<;M1& literal 0 HcmV?d00001 diff --git a/bin/me/Travja/HungerArena/HaCommands$19.class b/bin/me/Travja/HungerArena/HaCommands$19.class new file mode 100644 index 0000000000000000000000000000000000000000..4edd1cbf6c9ff49ddcf5dd8cf5bccb09a15e2c5d GIT binary patch literal 959 zcmah{?QYXB6g}?8vUY)XDdS@dHnt9u4welG2^54hRUjs%Akk?^@XJk2mM(RWlk~li z1_*xe06Y}pdacxn0<~n>_xSku_}=^T*Y_U)9%A1>fnjSX+#|(D1Ma@eWhm5v5|Z}3 zoeYOu_S5G669XlN`hbtP8*>@DuX_U#WCj)(tSR~?my-8l!LX2>L}_!6Vbh9q2@8;5x&`yq}p^#ZCI%$2boo$*}g1XF5ERUKO{nZs0b< z>fd!W%ftrmFjPX3b%h!U#js*KexgFRm!F;Az$oY05(?-iqx{Yue3JBty?RWTiz=F3aW%I(e5$D8mYE+KErH%#pO@uoMnxjpU~|xU{P$+9gQ|{g;q)z>Jya% zV(PO->kQ@@u71IqwfPOr0^a^1S1!OR7ca;)CUQlzNT7fn+^4lf&GrC$w9`hlG>zZz CQ|bQz literal 0 HcmV?d00001 diff --git a/bin/me/Travja/HungerArena/HaCommands$2.class b/bin/me/Travja/HungerArena/HaCommands$2.class index ffedf9db87d367c4cab05b5ad9ae8dc8d2cb608e..cda7bf4068de2b42226142a440ec4e2e0d7617f3 100644 GIT binary patch delta 32 ocmdnXzK?ywGe%}6LxasP82uR;7fiNb_F`ScAjGtIayzpb0I($q-2eap delta 31 ncmdnTzL$N&Ge#yx%grwt{TUhiCR;Llu})wRVwyO)gV_uKr%MTd diff --git a/bin/me/Travja/HungerArena/HaCommands$20.class b/bin/me/Travja/HungerArena/HaCommands$20.class new file mode 100644 index 0000000000000000000000000000000000000000..436ac17f9a055586329d7f06b944304db48d58c6 GIT binary patch literal 959 zcmah{U2oGc6g}?8(sY4#E#qSh7+VKv2TPfFKng;dDiD)ekmxj|?a56|mM(RWlk|Tf z4G=u=1Nc#h>orm*3e=Ki-{a%s<9qMVU*CTK*uxV8IfkvVa1IrpjJWeUmA+8>N=VxC zPBb2KIgA^7Z36{{>WELc6LRT0ZwDjcB?gulYBTg*DkUF;f?+8+4dOy?Mk?=tM(dg5in<1En(Zs8}#jWysr_Q0WFzyh+Ccp$?~xYTd}=;SpDX zjx(^JZPK#~U!@d~&%8>di5s|O;3mVyqMunx4ZW(uQ&%j-V zwZH3XmW2)6XE1${^o5!T#jt8OyOHvpL3(x;B+e9eOW0yyPnWTchXx)ntjuvN*l1Ew z2P)!2kH<+*#4-1&c&m1IR?~i>0_nTW1BP-xN|h&G1-inOS%2(mHX$#i7e+C$dm=fF zh8A|=kl9FPjl}T5zU)`65lbwVD;BBrEK?PwOk zs#V=E)crY{Cdz~^)9x9?8Y#DSKErB##nn$2oE42-oY3uJ5jBb}x}(uLuF*>ALN!y_ zC#F8Dx6Wam-!G?`*>_2$FMb&?y(l5fpA}CDvOGSIp ziibm?`bmAChy{kqK#YVN2^F}ndjsjG78V$)Q}j)yl;}m0VIe&YllmURW_zBxN9<>z z3e)Ed+s=G?Ox{IwDk_joY|u;SR&v z-*pX(V*~dXN`XwfQjer&SallhSO;z|J39+gcMN-r*kWK$mavTn7Va~w%y2jyG^nUO z9gDs%lC&d}L>kpF??_?d-cct2NNa(b?Gg59XN($Y8ovR{ Cxati6 literal 0 HcmV?d00001 diff --git a/bin/me/Travja/HungerArena/HaCommands$22.class b/bin/me/Travja/HungerArena/HaCommands$22.class new file mode 100644 index 0000000000000000000000000000000000000000..d733656884bb8452495047f5ae868f539ee38323 GIT binary patch literal 959 zcmah{U2oGc6g}?8vUY*CDdS@d7+VKv2g~RaQV`Nqftb_|iB3a;CpR%!y3|2V(*K1t zK=8m1*pHgHUMqE?KrLDJJw84@zW1JA{QL!=jb{dO3|k}N94S5?a_3DZ1EKbnkhJHW zcr@bDPa5sEfdWHy$j97?xD1@PgQ4(J14|6n41JeL$p?{OSV~XAq_M}a*Zlv#wu_I+39JRIuqDk#ufu>uV5RG4Lo9~&2dcFXi`xJ zD(1e&le8z2ga=f-Rl7T@X+Kq=4BX}cL%APk$`h|cUE#{CKXx^nkXO=+;)K{ek)Fi9 ziCs8kHkQ*yV)$fV_3BOf%b6bch4h7T|HE+SeSMsVnjaX<11W{-L_A4ELP?|A(JX>h ztGZ#R`*So)C=Zq}xx``Dwju#1ajEH6Iu(@Y)`RAJ8e`;)A$Y4 C(dr!l literal 0 HcmV?d00001 diff --git a/bin/me/Travja/HungerArena/HaCommands$23.class b/bin/me/Travja/HungerArena/HaCommands$23.class new file mode 100644 index 0000000000000000000000000000000000000000..2138beda6cf02c28039d8f41dedf781ff0809a62 GIT binary patch literal 959 zcmah{U2oGc6g}?8vSxvH={{f#7+VKv2g^2Ikb;n=3dE!qBsvXgdva5grAr;;B>i7V z0|XEJ0DctWdacxn0<~n>_xSku_}=^T*Y_U)4zO<^$FMaJ?y=&-K6hVdG7#!e2}yh2 zj0XcQdr9r!seuARrO$`ljkpZlx81(*Qv-7h_5^*GNy)pBV3GC|f9@!jN|~q1+0kc#{pfLLHAB*{#^;(Fs?f zj>lj@+oWe_zDg+|pLvzZ5>|2Bz%7Q2SwFL|hCB4Tk5Lwcl41QH&$M|cJrj3v-@rYF zwZH3XmW2&GU?>G5?Fcm#iecHQw_+8z-R$BbOx+Re&0~v!?Jr;(j|@CySe)Wma8ReB zc2&%KK2OrNND>}U@s^#|q^6xzg);E!M+{~s&Xg}+g}TD!Nq_8WHX$#iAH@l=+af)W zdlq)#lG#{}8;RkAbKR>y>MwVE+!3-Tl=mNoH|^_e8mgZ%SVvL{)r@$Oh=h_xwWC=C zt5kHuQ1|C(mS7UPK)YuYYs75qe1_HdikqLVIExy)I-%ReCD;^ObVs9AEYV8oLS?LS zNKAcJZCt{-#L5?}+ne7|%i;YWa>W(c#no$a)v;V24HC#<2ajnjP_sS39__SIEluM$ D-RkNs literal 0 HcmV?d00001 diff --git a/bin/me/Travja/HungerArena/HaCommands$24.class b/bin/me/Travja/HungerArena/HaCommands$24.class new file mode 100644 index 0000000000000000000000000000000000000000..36cac6b5410b8cb7d7ad2765248f76b30b55db0a GIT binary patch literal 1164 zcmah|YflqF6g|@iYnO%A0xC~=6m8365mD5Fj}VC@MH5Rf(NELuxNOx0~F46H8a9S4v2- z`Cia!aoGq9n_C7_47nz6bKB?Awcpj7!ifwFG30yR_py|`?hA&Y=)?;P8w`upLFg3* zqs{$7D|890+C!^F%9AdIhju*aMb8WHh8D{=LbI3he$zTCX1{N8nuE*6`77AD<#C;Wf6@)m}8B`p3K3#Qq zQWH_d#C?kla%w{eGdhDnTfp&ZK8v9mDw!LRRhv>;yh^eW`Oi>JjCU0@BkMNzY&*J&V=!+!eyLE@2W+i6Vh#sL-Aw P`S0KbSte0ya(ey({uUf! literal 0 HcmV?d00001 diff --git a/bin/me/Travja/HungerArena/HaCommands$3.class b/bin/me/Travja/HungerArena/HaCommands$3.class index f62fae6cf9c389f43cd78cb91a2c38661e06dd05..1a0ebacbbaace44524a49555653446b387da5a3c 100644 GIT binary patch delta 30 mcmdnXzL$N&b4EtX%`X`J85x&OwqW*RUCtoHv|@5Qvl#%UYze>s delta 30 mcmdnXzL$N&b4Ess%`X`J85t)}wqW*Roys7@G;MM_vl#%SObLkq diff --git a/bin/me/Travja/HungerArena/HaCommands$4.class b/bin/me/Travja/HungerArena/HaCommands$4.class index 00524aafac7832c1d699ca68f65465a1a5e63057..e723ef7e85a2f9fa996aa40d479d1c99dab8bd7c 100644 GIT binary patch delta 30 mcmdnXzL$N&b4Ess%`X`J85vhiwqW*RUBe*6w03ekvl#%U=LyaL delta 30 mcmdnXzL$N&b4Et<%`X`J85w6xwqW*Roy8!;G<$M8vl#%S#|f7J diff --git a/bin/me/Travja/HungerArena/HaCommands$5.class b/bin/me/Travja/HungerArena/HaCommands$5.class index 0f1a9054817f39724632b037c6702526533830fc..d0b42b938767719c15348fd0897428f228886b33 100644 GIT binary patch delta 30 mcmdnXzL$N&b4Et<%`X`J85!44wqW*R-N+!sv}tlXvl#%VVhP*; delta 30 mcmdnXzL$N&b4Et9%`X`J85!qJwqW*RozEb|v|w^Ovl#%TLJ6e+ diff --git a/bin/me/Travja/HungerArena/HaCommands$6.class b/bin/me/Travja/HungerArena/HaCommands$6.class index 65db36d8e7f71ad965bca1660c51f0e838f70419..fd4fdb0b577d3cf2d9d7377132e59f00b2037778 100644 GIT binary patch delta 30 mcmdnXzL$N&b4Et9%`X`J85y@swqW*R-Nqoqw0&|rvl#%V-3jUd delta 30 mcmdnXzL$N&b4Etf%`X`J85tK%wqW*RUBV#5v~+Sivl#%Ty$Q1b diff --git a/bin/me/Travja/HungerArena/HaCommands$7.class b/bin/me/Travja/HungerArena/HaCommands$7.class index ce5fdf9070b735e22d5d498752dbe95440f894e9..b06a2d23090f6a86233858d8cfb9f4dcf0508079 100644 GIT binary patch delta 30 mcmdnXzL$N&b4Etf%`X`J85ws@wqW*R-OV7xv}bZVvl#%WSPA$5 delta 30 mcmdnXzL$N&b4Es!%`X`J85x&PwqW*RUCAKCv}$rYvl#%UI0?Z3 diff --git a/bin/me/Travja/HungerArena/HaCommands$8.class b/bin/me/Travja/HungerArena/HaCommands$8.class index 5b99371ed4089fc4bf4348d37e5197e7356757fe..e1dc9daee1d1bfe15958793ed9390235d2f703aa 100644 GIT binary patch delta 30 mcmdnXzL$N&b4Es!%`X`J85#FYwqW*RJ-{HubZ~Mzvl#%W(+UOv delta 30 mcmdnXzL$N&b4Etv%`X`J85!41wqW*RUB@8Aw0?3svl#%UvkA`t diff --git a/bin/me/Travja/HungerArena/HaCommands$9.class b/bin/me/Travja/HungerArena/HaCommands$9.class index 9847abe744a4ea0ea07d7c2f952132995ae4c31c..00ae01948da02d046fd810e927b5fec695cb6f50 100644 GIT binary patch delta 30 mcmdnXzL$N&b4Etv%`X`J85s{xwqW*RJ<1@&bZl}vvl#%XP6`wN delta 30 mcmdnXzL$N&b4Es^%`X`J85uWDwqW*R-OM1wv}JNTvl#%VE(zTL diff --git a/bin/me/Travja/HungerArena/HaCommands.class b/bin/me/Travja/HungerArena/HaCommands.class index bd9a40993fb164bdcf719a0ff6f156de81751771..e04a56075a1ab25ea9d4a2b14ac81d6a4554e8ba 100644 GIT binary patch literal 36945 zcmc(|2YggT_db56Y)P_dTaw+>O$Z^q*9{^(Np}AI*j4~2 zVm&QD33%uD^T#(=&pW$1f9TwXnf~Vf&He_wuO8SqXHIp)^cD+n0#RpI&#TU_uWp!` zKdR zszRYB#9JVpK%4=i!^~SDg8&^`9ST{HV}a}->pU& zg4A6ZM>7|LP(UEIx918gmE_zpNgA&mP)5&884<0FAm)W2kDp0kmo0@P& z2;>^!RYk5kdaN|yDl7O1L{Bj+i>cn4geoPc?u}2Ek(fex4{50 zch*3oT3Jl!AR7#ZAq2u&kn^ejmX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!17+FVZ+55E~R|eM#GM-h21VmcrA$8yr%+qpwGcY8xC;^ypE&sx#DI zB>9BisIGN}PL}3CN9fcBXM7Bo#PNza@t-(Z5$%d7RZ}IgtK$vn(NN|U*{yt$`Orc^ zFskciQkwl+a}l>3UzeY+A}H8PonQ!^9ax0r)YHvQ5;Tw`!U$2OX(Y!kuF}LB%{(N= zV_JAdE8l68G#o51L|Vea#$-3Fa2a_$zHvpOKB@o0HLlBt6FlMuH)V@S?sJQRxNb`< dioQv=!LUJmll=yL2CL!l9}Y;-nizcC`3Lu;lnDR; diff --git a/bin/me/Travja/HungerArena/SponsorCommands.class b/bin/me/Travja/HungerArena/SponsorCommands.class index 4de55f59f4e14a140eaf83a08b3c163f08b07adc..af99bd40b852423af7b0b35286b8dede326bc14b 100644 GIT binary patch delta 1625 zcmZuxSyU5e6#o9nO#Vq6K>`R9gd~WEMJ0&1p@IQzp>;zl3av}5X^2XK$%JaH2A3{& zmHyp;E_AWjYFn{1h_?2%rw{E@AA3$;dVK0RzVv~5y4*=zBKk6OXYP0J_ucQmGvh_y z&9VRV@0Du+YH?-EZb%I(su*%x;^AN*>Wc=#{_6JLNH`XW&Ojj+Xjq5}hMC>|*ycdA zClrf?B4Hc6Sj17o;2h|8DjM}#EY3+~o+Vhuv6R~F^Y{6^aU*oV>x)MHhu4Q zA^w!+$txKO#E7L}mL2t&X+s0na5OUHiQSew>gGd}=&*RydaTv34iAZhWhHA7$K--s zw-F8Pi5mfrS^9{XeN_BmsV%O@1`Qig%%B>Pb^?Wiru@ws+OS2`$rbWr3`OF&JX;MJ zfgX>F4(eCx+Kw)cPKKOFH0a$E-@iX(c$-o;4Ugjq@q^qrYbS%WWSNTH42*7jM3&-l z?Zs0Z0V+&QdcYqJdRxOrfIQR?M7P+e%#-&ql!)JX$s9XEIH19X9tNeNwY9Rt6c^FZ zi-TfJS*3ar(_kPj{!$u?o@U6tbp*SbBQc}8b*&wTafIU;vB_Gu@L6;-Sc3tB2vr;- zx9>swdLr?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_w5c!#So$HW_+jXAEIb%eua-kPkKi9N1JrnpZ(%D{M7Wh-=dAc#+ zX5A&o=Ghb6o~HL^yhFtW{>`K8@-oN|H%no-rMOc!m8;7Y*SGEae~bGv&{VcyBb>I4 z|LXa?ThEtrjdR^- zvt8kKP_CLb%uy;h&J-@CsN@RMxXN^{QN?v;h)SwOy?XIhF-xpxw%9|h7*tQ)DeA;e z)Qex4=NZdFPc=;hmGri311k#?)k?K8@ACm76Me`qo=kL%kCb6|_hTik;qy%66H+Hs z|L1#38ByClj*A$dasq>^VmhDkIVRUc8DFT#&vh}LlN=$ymrADz>n~Oq6d6=jRQ$OY8k{#KbA25SA4LAin%oX+Bvj}qnZj1pJ&&i(^Ks94Vc diff --git a/config.yml b/config.yml index 76b1fa3..facbf97 100644 --- a/config.yml +++ b/config.yml @@ -1,7 +1,15 @@ # default config.yml +# Message to display when the games start Start_Message: '&bLet The Games Begin!' +# If the games should automatically restart at the end Auto_Restart: 'false' +# If it should automatically start the countdown on warping +Auto_Start: 'false' +# If tributes need to type /ha confirm to join +Need_Confirm: 'true' +# Not yet implemented iConomy_Support: 'false' +# What the reward for winning is Reward: ID: 264 Amount: 10 @@ -46,4 +54,5 @@ Tribute_twentyone_spawn: 100,100,100 Tribute_twentytwo_spawn: 100,100,100 Tribute_twentythree_spawn: 100,100,100 Tribute_twentyfour_spawn: 100,100,100 -Spawn_set: false \ No newline at end of file +# If /ha setspawn has been run +Spawn_set: 'false' \ No newline at end of file diff --git a/src/me/Travja/HungerArena/ChatListener.java b/src/me/Travja/HungerArena/ChatListener.java index 9fa6d34..c7b839a 100644 --- a/src/me/Travja/HungerArena/ChatListener.java +++ b/src/me/Travja/HungerArena/ChatListener.java @@ -24,12 +24,12 @@ public class ChatListener implements Listener { List near = p.getNearbyEntities(radius, radius, radius); event.setCancelled(true); if(!(near.size()== 0)){ - for(Entity e:near){ - if(e instanceof Player){ - p.sendMessage(msg); - ((Player) e).sendMessage(msg); + p.sendMessage(msg); + for(Entity e:near){ + if(e instanceof Player){ + ((Player) e).sendMessage(msg); + } } - } }else if(near.size()== 0){ p.sendMessage(msg); p.sendMessage(ChatColor.YELLOW + "No one near!"); @@ -42,6 +42,7 @@ public class ChatListener implements Listener { } } }else{ + event.setCancelled(true); plugin.getServer().broadcastMessage(msg); } } diff --git a/src/me/Travja/HungerArena/CommandBlock.java b/src/me/Travja/HungerArena/CommandBlock.java index 96d162d..857a975 100644 --- a/src/me/Travja/HungerArena/CommandBlock.java +++ b/src/me/Travja/HungerArena/CommandBlock.java @@ -16,7 +16,7 @@ public class CommandBlock implements Listener { public void CatchCommand(PlayerCommandPreprocessEvent event){ String cmd = event.getMessage(); Player p = event.getPlayer(); - if(!cmd.contains("/ha") && plugin.Playing.contains(p)){ + if(!cmd.contains("/ha") && plugin.Playing.contains(p) && plugin.canjoin== true){ event.setCancelled(true); p.sendMessage(ChatColor.RED + "You are only allowed to use /ha commands!"); } diff --git a/src/me/Travja/HungerArena/DeathListener.java b/src/me/Travja/HungerArena/DeathListener.java index 47edd18..3194a57 100644 --- a/src/me/Travja/HungerArena/DeathListener.java +++ b/src/me/Travja/HungerArena/DeathListener.java @@ -1,7 +1,6 @@ package me.Travja.HungerArena; import org.bukkit.ChatColor; -import org.bukkit.Effect; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.Server; @@ -24,7 +23,7 @@ public class DeathListener implements Listener{ Player p = event.getPlayer(); if(plugin.Dead.contains(p)){ String[] Spawncoords = plugin.config.getString("Spawn_coords").split(","); - World spawnw = p.getWorld(); + World spawnw = plugin.getServer().getWorld(Spawncoords[3]); double spawnx = Double.parseDouble(Spawncoords[0]); double spawny = Double.parseDouble(Spawncoords[1]); double spawnz = Double.parseDouble(Spawncoords[2]); @@ -37,9 +36,20 @@ public class DeathListener implements Listener{ Player p = event.getEntity(); Server s = p.getServer(); String pname = p.getName(); + String[] Spawncoords = plugin.config.getString("Spawn_coords").split(","); + World spawnw = plugin.getServer().getWorld(Spawncoords[3]); + double spawnx = Double.parseDouble(Spawncoords[0]); + double spawny = Double.parseDouble(Spawncoords[1]); + double spawnz = Double.parseDouble(Spawncoords[2]); + Location Spawn = new Location(spawnw, spawnx, spawny, spawnz); if(plugin.Playing.contains(p)){ if(plugin.config.getString("Cannon_Death").equalsIgnoreCase("True")){ - p.getWorld().playEffect(p.getLocation(), Effect.ZOMBIE_CHEW_WOODEN_DOOR, 0, 300); + double y = p.getLocation().getY(); + double newy = y+200; + double x = p.getLocation().getX(); + double z = p.getLocation().getZ(); + Location strike = new Location(p.getWorld(), x, newy, z); + p.getWorld().strikeLightning(strike); } plugin.Dead.add(p); plugin.Playing.remove(p); @@ -56,21 +66,23 @@ public class DeathListener implements Listener{ String winnername = winner.getName(); s.broadcastMessage(ChatColor.GREEN + winnername + " is the victor of this Hunger Games!"); winner.getInventory().clear(); + winner.teleport(Spawn); winner.getInventory().setBoots(null); winner.getInventory().setChestplate(null); winner.getInventory().setHelmet(null); winner.getInventory().setLeggings(null); winner.getInventory().addItem(plugin.Reward); } + plugin.Playing.clear(); for(Player spectator:plugin.Watching){ spectator.setAllowFlight(false); + spectator.teleport(Spawn); for(Player online:plugin.getServer().getOnlinePlayers()){ online.showPlayer(spectator); } } if(plugin.config.getString("Auto_Restart").equalsIgnoreCase("True")){ plugin.Dead.clear(); - plugin.Playing.clear(); plugin.Quit.clear(); plugin.Watching.clear(); plugin.Frozen.clear(); @@ -90,21 +102,23 @@ public class DeathListener implements Listener{ String winnername = winner.getName(); s.broadcastMessage(ChatColor.GREEN + winnername + " is the victor of this Hunger Games!"); winner.getInventory().clear(); + winner.teleport(Spawn); winner.getInventory().setBoots(null); winner.getInventory().setChestplate(null); winner.getInventory().setHelmet(null); winner.getInventory().setLeggings(null); winner.getInventory().addItem(plugin.Reward); } + plugin.Playing.clear(); for(Player spectator:plugin.Watching){ spectator.setAllowFlight(false); + spectator.teleport(Spawn); for(Player online:plugin.getServer().getOnlinePlayers()){ online.showPlayer(spectator); } } if(plugin.config.getString("Auto_Restart").equalsIgnoreCase("True")){ plugin.Dead.clear(); - plugin.Playing.clear(); plugin.Quit.clear(); plugin.Watching.clear(); plugin.Frozen.clear(); @@ -121,21 +135,23 @@ public class DeathListener implements Listener{ String winnername = winner.getName(); s.broadcastMessage(ChatColor.GREEN + winnername + " is the victor of this Hunger Games!"); winner.getInventory().clear(); + winner.teleport(Spawn); winner.getInventory().setBoots(null); winner.getInventory().setChestplate(null); winner.getInventory().setHelmet(null); winner.getInventory().setLeggings(null); winner.getInventory().addItem(plugin.Reward); } + plugin.Playing.clear(); for(Player spectator:plugin.Watching){ spectator.setAllowFlight(false); + spectator.teleport(Spawn); for(Player online:plugin.getServer().getOnlinePlayers()){ online.showPlayer(spectator); } } if(plugin.config.getString("Auto_Restart").equalsIgnoreCase("True")){ plugin.Dead.clear(); - plugin.Playing.clear(); plugin.Quit.clear(); plugin.Watching.clear(); plugin.Frozen.clear(); diff --git a/src/me/Travja/HungerArena/HaCommands.java b/src/me/Travja/HungerArena/HaCommands.java index e8d6684..0f97cb1 100644 --- a/src/me/Travja/HungerArena/HaCommands.java +++ b/src/me/Travja/HungerArena/HaCommands.java @@ -23,35 +23,745 @@ public class HaCommands implements CommandExecutor { @SuppressWarnings("unchecked") @Override public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args){ - Player p = (Player) sender; - String pname = p.getName(); - ChatColor c = ChatColor.AQUA; - if(cmd.getName().equalsIgnoreCase("Ha")){ - if(args.length== 0){ - sender.sendMessage(ChatColor.GREEN + "[HungerArena] by " + ChatColor.AQUA + "travja!"); - return false; + if(sender instanceof Player){ + Player p = (Player) sender; + String pname = p.getName(); + ChatColor c = ChatColor.AQUA; + if(cmd.getName().equalsIgnoreCase("Ha")){ + if(args.length== 0){ + p.sendMessage(ChatColor.GREEN + "[HungerArena] by " + ChatColor.AQUA + "travja!"); + return false; + } + if(args[0].equalsIgnoreCase("Help")){ + p.sendMessage(ChatColor.GREEN + "----HungerArena Help----"); + p.sendMessage(c + "/ha - Displays author message!"); + sender.sendMessage(c + "/ha help - Displays this screen!"); + sender.sendMessage(c + "/ha join - Makes you join the game!"); + sender.sendMessage(c + "/ha leave - Makes you leave the game!"); + sender.sendMessage(c + "/ha watch - Lets you watch the tributes!"); + sender.sendMessage(c + "/sponsor [Player] [ItemID] [Amount] - Lets you sponsor someone!"); + sender.sendMessage(c + "/ha setspawn - Sets the spawn for dead tributes!"); + sender.sendMessage(c + "/ha kick [Player] - Kicks a player from the arena!"); + sender.sendMessage(c + "/ha restart - Makes it so dead tributes can join again!"); + sender.sendMessage(c + "/ha warpall - Warps all tribute into position!"); + sender.sendMessage(c + "/ha reload - Reloads the config!"); + sender.sendMessage(c + "/ha start - Unfreezes tributes allowing them to fight!"); + sender.sendMessage(c + "/ha list - Shows a list of players in the game and their health!"); + sender.sendMessage(c + "/startpoint [1,2,3,4,etc] - Sets the starting points of tributes!"); + sender.sendMessage(ChatColor.GREEN + "----------------------"); + return false; + } + if(args[0].equalsIgnoreCase("List")){ + if(p.hasPermission("HungerArena.GameMaker") || sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.AQUA + "-----People Playing-----"); + for(Player players:plugin.Playing){ + sender.sendMessage(ChatColor.GREEN + players.getDisplayName() + " Life: " + players.getHealth() + "/20"); + } + if(plugin.Playing.size()== 0){ + sender.sendMessage(ChatColor.GRAY + "No one is playing!"); + } + sender.sendMessage(ChatColor.AQUA + "----------------------"); + }else{ + sender.sendMessage(ChatColor.RED + "You don't have permission!"); + } + } + if(args[0].equalsIgnoreCase("SetSpawn")){ + if(sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.RED + "That can only be run by a player!"); + }else if(p.hasPermission("HungerArena.SetSpawn")){ + double x = p.getLocation().getX(); + double y = p.getLocation().getY(); + double z = p.getLocation().getZ(); + String w = p.getWorld().getName(); + plugin.config.set("Spawn_coords", x + "," + y + "," + z + "," + w); + plugin.config.set("Spawns_set", "true"); + plugin.saveConfig(); + p.sendMessage(ChatColor.AQUA + "You have set the spawn for dead tributes!"); + }else{ + p.sendMessage(ChatColor.RED + "You don't have permission!"); + } + } + String[] Spawncoords = plugin.config.getString("Spawn_coords").split(","); + double spawnx = Double.parseDouble(Spawncoords[0]); + double spawny = Double.parseDouble(Spawncoords[1]); + double spawnz = Double.parseDouble(Spawncoords[2]); + String spawnworld = Spawncoords[3]; + World spawnw = plugin.getServer().getWorld(spawnworld); + Location Spawn = new Location(spawnw, spawnx, spawny, spawnz); + if(args[0].equalsIgnoreCase("Join")){ + if(sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.RED + "That can only be run by a player!"); + }else if(p.hasPermission("HungerArena.Join")){ + if(plugin.Playing.contains(p)){ + p.sendMessage(ChatColor.RED + "You are already playing!"); + }else if(plugin.Dead.contains(p) || plugin.Quit.contains(p)){ + p.sendMessage(ChatColor.RED + "You DIED/QUIT! You can't join again!"); + }else if(plugin.Playing.size()== 24){ + p.sendMessage(ChatColor.RED + "There are already 24 Tributes!"); + }else if(plugin.canjoin== true){ + p.sendMessage(ChatColor.RED + "The game is in progress!"); + }else if(plugin.config.getString("Spawns_set").equalsIgnoreCase("false")){ + p.sendMessage(ChatColor.RED + "/ha setspawn hasn't been run!"); + }else if(plugin.NeedConfirm.contains(p)){ + p.sendMessage(ChatColor.RED + "You need to do /ha confirm"); + }else if(plugin.config.getString("Need_Confirm").equalsIgnoreCase("true")){ + plugin.NeedConfirm.add(p); + p.sendMessage(ChatColor.GOLD + "You're inventory will be cleared! Type /ha confirm to procede"); + }else{ + plugin.Playing.add(p); + p.getInventory().clear(); + p.getInventory().setBoots(null); + p.getInventory().setChestplate(null); + p.getInventory().setHelmet(null); + p.getInventory().setLeggings(null); + plugin.getServer().broadcastMessage(ChatColor.AQUA + pname + " has Joined the Game!"); + if(plugin.Playing.size()== 24){ + p.performCommand("ha warpall"); + } + } + }else{ + p.sendMessage(ChatColor.RED + "You don't have permission!"); + } + } + if(args[0].equalsIgnoreCase("Confirm")){ + if(sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.RED + "That can only be run by a player!"); + }else if(plugin.NeedConfirm.contains(p)){ + plugin.Playing.add(p); + plugin.NeedConfirm.remove(p); + p.getInventory().clear(); + p.getInventory().setBoots(null); + p.getInventory().setChestplate(null); + p.getInventory().setHelmet(null); + p.getInventory().setLeggings(null); + plugin.getServer().broadcastMessage(ChatColor.AQUA + pname + " has Joined the Game!"); + if(plugin.Playing.size()== 24){ + p.performCommand("ha warpall"); + } + } + } + if(args[0].equalsIgnoreCase("Ready")){ + if(sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.RED + "That can only be run by a player!"); + }else if(plugin.Playing.contains(p)){ + plugin.Ready.add(p); + p.sendMessage(ChatColor.AQUA + "You have marked yourself as READY!"); + if(plugin.Playing.size()== plugin.Ready.size()){ + Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "ha warpall"); + } + }else if(!plugin.Playing.contains(p)){ + p.sendMessage(ChatColor.RED + "You aren't playing!"); + } + } + if(args[0].equalsIgnoreCase("Leave")){ + if(sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.RED + "That can only be run by a player!"); + }else if(!plugin.Playing.contains(p)){ + p.sendMessage(ChatColor.RED + "You aren't playing!"); + }else{ + plugin.Playing.remove(p); + plugin.Quit.add(p); + p.sendMessage(ChatColor.AQUA + "You have left the game!"); + p.getServer().broadcastMessage(ChatColor.RED + pname + " Quit!"); + p.getInventory().clear(); + p.getInventory().setBoots(null); + p.getInventory().setChestplate(null); + p.getInventory().setHelmet(null); + p.getInventory().setLeggings(null); + p.teleport(Spawn); + if(plugin.Frozen.contains(p)){ + plugin.Frozen.remove(p); + } + if(plugin.Playing.size()== 1 && plugin.canjoin== true){ + for(Player winner:plugin.Playing){ + String winnername = winner.getName(); + p.getServer().broadcastMessage(ChatColor.GREEN + winnername + " is the victor of this Hunger Games!"); + winner.getInventory().clear(); + winner.getInventory().addItem(plugin.Reward); + } + for(Player spectator:plugin.Watching){ + spectator.setAllowFlight(false); + } + plugin.canjoin= false; + plugin.Watching.clear(); + } + } + } + if(args[0].equalsIgnoreCase("Watch")){ + if(sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.RED + "That can only be run by a player!"); + }else if(sender.hasPermission("HungerArena.Watch")){ + if(!plugin.Watching.contains(p) && !plugin.Playing.contains(p) && plugin.canjoin== true){ + plugin.Watching.add(p); + for(Player online:plugin.getServer().getOnlinePlayers()){ + online.hidePlayer(p); + } + p.setAllowFlight(true); + p.sendMessage(ChatColor.AQUA + "You can now spectate!"); + }else if(plugin.canjoin == false){ + p.sendMessage(ChatColor.RED + "The game isn't in progress!"); + }else if(plugin.Playing.contains(p)){ + p.sendMessage(ChatColor.RED + "You can't watch while you're playing!"); + }else if(plugin.Watching.contains(p)){ + plugin.Watching.remove(p); + for(Player online:plugin.getServer().getOnlinePlayers()){ + online.showPlayer(p); + } + p.teleport(Spawn); + p.setAllowFlight(false); + sender.sendMessage(ChatColor.AQUA + "You are not spectating anymore"); + } + }else{ + sender.sendMessage(ChatColor.RED + "You don't have permission!"); + } + } + if(args[0].equalsIgnoreCase("Kick")){ + Player target = plugin.getServer().getPlayer(args[1]); + if(sender.hasPermission("HungerArena.Kick") || sender instanceof ConsoleCommandSender){ + if(plugin.Playing.contains(target)){ + if(p.isOnline()){ + plugin.Playing.remove(target); + plugin.getServer().broadcastMessage(ChatColor.RED + target.getName() + " was kicked from the game!"); + target.teleport(Spawn); + target.getInventory().clear(); + target.getInventory().setBoots(null); + target.getInventory().setChestplate(null); + target.getInventory().setHelmet(null); + target.getInventory().setLeggings(null); + plugin.Quit.add(target); + if(plugin.Playing.size()== 1 && plugin.canjoin== true){ + for(Player winner:plugin.Playing){ + String winnername = winner.getName(); + sender.getServer().broadcastMessage(ChatColor.GREEN + winnername + " is the victor of this Hunger Games!"); + winner.getInventory().clear(); + winner.getInventory().addItem(plugin.Reward); + } + for(Player spectator:plugin.Watching){ + spectator.setAllowFlight(false); + } + plugin.canjoin= false; + plugin.Watching.clear(); + }else{ + plugin.Playing.remove(target); + plugin.Quit.add(target); + } + } + }else{ + sender.sendMessage(ChatColor.RED + "That player isn't in the game!"); + } + }else{ + sender.sendMessage(ChatColor.RED + "You don't have permission!"); + } + } + if(args[0].equalsIgnoreCase("Refill")){ + int list056; + list056 = 0; + int limit = plugin.getConfig().getStringList("StorageXYZ").size(); + while(limit > list056){ + String xyz2 = plugin.getConfig().getStringList("StorageXYZ").get(list056); + int chestx = plugin.getConfig().getInt("Storage." + xyz2 + ".Location.X"); + int chesty = plugin.getConfig().getInt("Storage." + xyz2 + ".Location.Y"); + int chestz = plugin.getConfig().getInt("Storage." + xyz2 + ".Location.Z"); + String chestw = plugin.getConfig().getString("Storage." + xyz2 + ".Location.W"); + Block blockatlocation = Bukkit.getWorld(chestw).getBlockAt(chestx, chesty, chestz); + plugin.exists = false; + if(blockatlocation.getState() instanceof Chest){ + plugin.exists = true; + Chest chest = (Chest) blockatlocation.getState(); + chest.getInventory().clear(); + ItemStack[] itemsinchest = null; + Object o = plugin.getConfig().get("Storage." + xyz2 + ".ItemsInStorage"); + if(o instanceof ItemStack[]){ + itemsinchest = (ItemStack[]) o; + }else if(o instanceof List){ + itemsinchest = (ItemStack[]) ((List) o).toArray(new ItemStack[0]); + } + list056 = list056+1; + chest.getInventory().setContents(itemsinchest); + } + } + if(limit== list056){ + sender.sendMessage(ChatColor.GREEN + "All chests refilled!"); + } + } + if(args[0].equalsIgnoreCase("Restart")){ + if(sender.hasPermission("HungerArena.Restart") || sender instanceof ConsoleCommandSender){ + for(Player spectator:plugin.Watching){ + spectator.setAllowFlight(false); + for(Player online:plugin.getServer().getOnlinePlayers()){ + online.showPlayer(spectator); + } + } + plugin.Dead.clear(); + plugin.Playing.clear(); + plugin.Quit.clear(); + plugin.Watching.clear(); + plugin.Frozen.clear(); + plugin.canjoin = false; + sender.sendMessage(ChatColor.AQUA + "The games have been reset!"); + }else{ + sender.sendMessage(ChatColor.RED + "You don't have permission!"); + } + } + if(args[0].equalsIgnoreCase("Reload")){ + plugin.reloadConfig(); + sender.sendMessage(ChatColor.AQUA + "HungerArena Reloaded!"); + } + if(args[0].equalsIgnoreCase("WarpAll")){ + if(sender.hasPermission("HungerArena.Warpall") || sender instanceof ConsoleCommandSender){ + if(plugin.config.getString("Spawns_set").equalsIgnoreCase("false")){ + sender.sendMessage(ChatColor.RED + "/ha setspawn hasn't been run!"); + }else{ + if(plugin.Playing.size()== 1){ + sender.sendMessage(ChatColor.RED + "There are not enough players!"); + } + if(plugin.Playing.size()>= 2){ + plugin.config.getString("Tribute_one_spawn"); + String[] onecoords = plugin.config.getString("Tribute_one_spawn").split(","); + Player Tribute_one = plugin.Playing.get(0); + double x = Double.parseDouble(onecoords[0]); + double y = Double.parseDouble(onecoords[1]); + double z = Double.parseDouble(onecoords[2]); + String world = onecoords[3]; + World w = plugin.getServer().getWorld(world); + Location oneloc = new Location(w, x, y, z); + Tribute_one.teleport(oneloc); + plugin.Frozen.add(Tribute_one); + Tribute_one.setFoodLevel(20); + plugin.config.getString("Tribute_two_spawn"); + String[] twocoords = plugin.config.getString("Tribute_two_spawn").split(","); + Player Tribute_two = plugin.Playing.get(1); + double twox = Double.parseDouble(twocoords[0]); + double twoy = Double.parseDouble(twocoords[1]); + double twoz = Double.parseDouble(twocoords[2]); + String twoworld = twocoords[3]; + World twow = plugin.getServer().getWorld(twoworld); + Location twoloc = new Location(twow, twox, twoy, twoz); + Tribute_two.teleport(twoloc); + plugin.Frozen.add(Tribute_two); + Tribute_two.setFoodLevel(20); + p.getWorld().setTime(0); + } + if(plugin.Playing.size()>= 3){ + plugin.config.getString("Tribute_three_spawn"); + String[] coords = plugin.config.getString("Tribute_three_spawn").split(","); + Player Tribute_three = plugin.Playing.get(2); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_three.teleport(loc); + plugin.Frozen.add(Tribute_three); + Tribute_three.setFoodLevel(20); + } + if(plugin.Playing.size()>= 4){ + plugin.config.getString("Tribute_four_spawn"); + String[] coords = plugin.config.getString("Tribute_four_spawn").split(","); + Player Tribute_four = plugin.Playing.get(3); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_four.teleport(loc); + plugin.Frozen.add(Tribute_four); + Tribute_four.setFoodLevel(20); + } + if(plugin.Playing.size()>= 5){ + plugin.config.getString("Tribute_five_spawn"); + String[] coords = plugin.config.getString("Tribute_five_spawn").split(","); + Player Tribute_five = plugin.Playing.get(4); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_five.teleport(loc); + plugin.Frozen.add(Tribute_five); + Tribute_five.setFoodLevel(20); + } + if(plugin.Playing.size()>= 6){ + plugin.config.getString("Tribute_six_spawn"); + String[] coords = plugin.config.getString("Tribute_six_spawn").split(","); + Player Tribute_six = plugin.Playing.get(5); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_six.teleport(loc); + plugin.Frozen.add(Tribute_six); + Tribute_six.setFoodLevel(20); + } + if(plugin.Playing.size()>= 7){ + plugin.config.getString("Tribute_seven_spawn"); + String[] coords = plugin.config.getString("Tribute_seven_spawn").split(","); + Player Tribute_seven = plugin.Playing.get(6); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_seven.teleport(loc); + plugin.Frozen.add(Tribute_seven); + Tribute_seven.setFoodLevel(20); + } + if(plugin.Playing.size()>= 8){ + plugin.config.getString("Tribute_eight_spawn"); + String[] coords = plugin.config.getString("Tribute_eight_spawn").split(","); + Player Tribute_eight = plugin.Playing.get(7); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_eight.teleport(loc); + plugin.Frozen.add(Tribute_eight); + Tribute_eight.setFoodLevel(20); + } + if(plugin.Playing.size()>= 9){ + plugin.config.getString("Tribute_nine_spawn"); + String[] coords = plugin.config.getString("Tribute_nine_spawn").split(","); + Player Tribute_nine = plugin.Playing.get(8); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_nine.teleport(loc); + plugin.Frozen.add(Tribute_nine); + Tribute_nine.setFoodLevel(20); + } + if(plugin.Playing.size()>= 10){ + plugin.config.getString("Tribute_ten_spawn"); + String[] coords = plugin.config.getString("Tribute_ten_spawn").split(","); + Player Tribute_ten = plugin.Playing.get(9); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_ten.teleport(loc); + plugin.Frozen.add(Tribute_ten); + Tribute_ten.setFoodLevel(20); + } + if(plugin.Playing.size()>= 11){ + plugin.config.getString("Tribute_eleven_spawn"); + String[] coords = plugin.config.getString("Tribute_eleven_spawn").split(","); + Player Tribute_eleven = plugin.Playing.get(10); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_eleven.teleport(loc); + plugin.Frozen.add(Tribute_eleven); + Tribute_eleven.setFoodLevel(20); + } + if(plugin.Playing.size()>= 12){ + plugin.config.getString("Tribute_twelve_spawn"); + String[] coords = plugin.config.getString("Tribute_twelve_spawn").split(","); + Player Tribute_twelve = plugin.Playing.get(11); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_twelve.teleport(loc); + plugin.Frozen.add(Tribute_twelve); + Tribute_twelve.setFoodLevel(20); + } + if(plugin.Playing.size()>= 13){ + plugin.config.getString("Tribute_thirteen_spawn"); + String[] coords = plugin.config.getString("Tribute_thirteen_spawn").split(","); + Player Tribute_thirteen = plugin.Playing.get(12); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_thirteen.teleport(loc); + plugin.Frozen.add(Tribute_thirteen); + Tribute_thirteen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 14){ + plugin.config.getString("Tribute_fourteen_spawn"); + String[] coords = plugin.config.getString("Tribute_fourteen_spawn").split(","); + Player Tribute_fourteen = plugin.Playing.get(13); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_fourteen.teleport(loc); + plugin.Frozen.add(Tribute_fourteen); + Tribute_fourteen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 15){ + plugin.config.getString("Tribute_fifteen_spawn"); + String[] coords = plugin.config.getString("Tribute_fifteen_spawn").split(","); + Player Tribute_fifteen = plugin.Playing.get(14); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_fifteen.teleport(loc); + plugin.Frozen.add(Tribute_fifteen); + Tribute_fifteen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 16){ + plugin.config.getString("Tribute_sixteen_spawn"); + String[] coords = plugin.config.getString("Tribute_sixteen_spawn").split(","); + Player Tribute_sixteen = plugin.Playing.get(15); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_sixteen.teleport(loc); + plugin.Frozen.add(Tribute_sixteen); + Tribute_sixteen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 17){ + plugin.config.getString("Tribute_seventeen_spawn"); + String[] coords = plugin.config.getString("Tribute_seventeen_spawn").split(","); + Player Tribute_seventeen = plugin.Playing.get(16); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_seventeen.teleport(loc); + plugin.Frozen.add(Tribute_seventeen); + Tribute_seventeen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 18){ + plugin.config.getString("Tribute_eighteen_spawn"); + String[] coords = plugin.config.getString("Tribute_eighteen_spawn").split(","); + Player Tribute_eighteen = plugin.Playing.get(17); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_eighteen.teleport(loc); + plugin.Frozen.add(Tribute_eighteen); + Tribute_eighteen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 19){ + plugin.config.getString("Tribute_nineteen_spawn"); + String[] coords = plugin.config.getString("Tribute_nineteen_spawn").split(","); + Player Tribute_nineteen = plugin.Playing.get(18); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_nineteen.teleport(loc); + plugin.Frozen.add(Tribute_nineteen); + Tribute_nineteen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 20){ + plugin.config.getString("Tribute_twenty_spawn"); + String[] coords = plugin.config.getString("Tribute_twenty_spawn").split(","); + Player Tribute_twenty = plugin.Playing.get(19); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_twenty.teleport(loc); + plugin.Frozen.add(Tribute_twenty); + Tribute_twenty.setFoodLevel(20); + } + if(plugin.Playing.size()>= 21){ + plugin.config.getString("Tribute_twentyone_spawn"); + String[] coords = plugin.config.getString("Tribute_twentyone_spawn").split(","); + Player Tribute_twentyone = plugin.Playing.get(20); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_twentyone.teleport(loc); + plugin.Frozen.add(Tribute_twentyone); + Tribute_twentyone.setFoodLevel(20); + } + if(plugin.Playing.size()>= 22){ + plugin.config.getString("Tribute_twentytwo_spawn"); + String[] coords = plugin.config.getString("Tribute_twentytwo_spawn").split(","); + Player Tribute_twentytwo = plugin.Playing.get(21); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_twentytwo.teleport(loc); + plugin.Frozen.add(Tribute_twentytwo); + Tribute_twentytwo.setFoodLevel(20); + } + if(plugin.Playing.size()>= 23){ + plugin.config.getString("Tribute_twentythree_spawn"); + String[] coords = plugin.config.getString("Tribute_twentythree_spawn").split(","); + Player Tribute_twentythree = plugin.Playing.get(22); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_twentythree.teleport(loc); + plugin.Frozen.add(Tribute_twentythree); + Tribute_twentythree.setFoodLevel(20); + } + if(plugin.Playing.size()>= 24){ + plugin.config.getString("Tribute_twentyfour_spawn"); + String[] coords = plugin.config.getString("Tribute_twentyfour_spawn").split(","); + Player Tribute_twentyfour = plugin.Playing.get(23); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_twentyfour.teleport(loc); + plugin.Frozen.add(Tribute_twentyfour); + Tribute_twentyfour.setFoodLevel(20); + } + if(plugin.Playing.size()>= 2){ + if(plugin.config.getString("Auto_Start").equalsIgnoreCase("true")){ + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "ha start"); + } + }, 20L); + } + } + } + } + } } - if(args[0].equalsIgnoreCase("Help")){ - sender.sendMessage(ChatColor.GREEN + "----HungerArena Help----"); - sender.sendMessage(c + "/ha - Displays author message!"); - sender.sendMessage(c + "/ha help - Displays this screen!"); - sender.sendMessage(c + "/ha join - Makes you join the game!"); - sender.sendMessage(c + "/ha leave - Makes you leave the game!"); - sender.sendMessage(c + "/ha watch - Lets you watch the tributes!"); - sender.sendMessage(c + "/sponsor [Player] [ItemID] [Amount] - Lets you sponsor someone!"); - sender.sendMessage(c + "/ha setspawn - Sets the spawn for dead tributes!"); - sender.sendMessage(c + "/ha kick [Player] - Kicks a player from the arena!"); - sender.sendMessage(c + "/ha restart - Makes it so dead tributes can join again!"); - sender.sendMessage(c + "/ha warpall - Warps all tribute into position!"); - sender.sendMessage(c + "/ha reload - Reloads the config!"); - sender.sendMessage(c + "/ha start - Unfreezes tributes allowing them to fight!"); - sender.sendMessage(c + "/ha list - Shows a list of players in the game and their health!"); - sender.sendMessage(c + "/startpoint [1,2,3,4,etc] - Sets the starting points of tributes!"); - sender.sendMessage(ChatColor.GREEN + "----------------------"); - return false; + if(args[0].equalsIgnoreCase("Start")){ + String begin = plugin.config.getString("Start_Message"); + begin = begin.replaceAll("(&([a-f0-9]))", "\u00A7$2"); + final String msg = begin; + if(p.hasPermission("HungerArena.Start")){ + if(plugin.config.getString("Countdown").equalsIgnoreCase("true")){ + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("10"); + } + }, 20L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("9"); + } + }, 40L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("8"); + } + }, 60L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("7"); + } + }, 80L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("6"); + } + }, 100L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("5"); + } + }, 120L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("4"); + } + }, 140L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("3"); + } + }, 160L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("2"); + } + }, 180L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("1"); + } + }, 200L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.Frozen.clear(); + plugin.getServer().broadcastMessage(msg); + plugin.canjoin = true; + } + }, 220L); + }else{ + plugin.Frozen.clear(); + p.getServer().broadcastMessage(ChatColor.AQUA + "Let the Games Begin!!"); + plugin.canjoin = true; + } + }else{ + p.sendMessage(ChatColor.RED + "You don't have permission!"); + } } - if(args[0].equalsIgnoreCase("List")){ - if(sender instanceof ConsoleCommandSender){ + }else if(sender instanceof ConsoleCommandSender){ + if(cmd.getName().equalsIgnoreCase("Ha")){ + if(args.length== 0){ + sender.sendMessage(ChatColor.GREEN + "[HungerArena] by " + ChatColor.AQUA + "travja!"); + return false; + } + if(args[0].equalsIgnoreCase("Help")){ + ChatColor c = ChatColor.AQUA; + sender.sendMessage(ChatColor.GREEN + "----HungerArena Help----"); + sender.sendMessage(c + "/ha - Displays author message!"); + sender.sendMessage(c + "/ha help - Displays this screen!"); + sender.sendMessage(c + "/ha join - Makes you join the game!"); + sender.sendMessage(c + "/ha leave - Makes you leave the game!"); + sender.sendMessage(c + "/ha watch - Lets you watch the tributes!"); + sender.sendMessage(c + "/sponsor [Player] [ItemID] [Amount] - Lets you sponsor someone!"); + sender.sendMessage(c + "/ha setspawn - Sets the spawn for dead tributes!"); + sender.sendMessage(c + "/ha kick [Player] - Kicks a player from the arena!"); + sender.sendMessage(c + "/ha restart - Makes it so dead tributes can join again!"); + sender.sendMessage(c + "/ha warpall - Warps all tribute into position!"); + sender.sendMessage(c + "/ha reload - Reloads the config!"); + sender.sendMessage(c + "/ha start - Unfreezes tributes allowing them to fight!"); + sender.sendMessage(c + "/ha list - Shows a list of players in the game and their health!"); + sender.sendMessage(c + "/startpoint [1,2,3,4,etc] - Sets the starting points of tributes!"); + sender.sendMessage(ChatColor.GREEN + "----------------------"); + return false; + } + if(args[0].equalsIgnoreCase("List")){ sender.sendMessage(ChatColor.AQUA + "-----People Playing-----"); for(Player players:plugin.Playing){ sender.sendMessage(ChatColor.GREEN + players.getDisplayName() + " Life: " + players.getHealth() + "/20"); @@ -61,31 +771,10 @@ public class HaCommands implements CommandExecutor { } sender.sendMessage(ChatColor.AQUA + "----------------------"); } - if(p.hasPermission("HungerArena.GameMaker")){ - p.sendMessage(ChatColor.AQUA + "-----People Playing-----"); - for(Player players:plugin.Playing){ - p.sendMessage(ChatColor.GREEN + players.getDisplayName() + " Life: " + players.getHealth() + "/20"); - } - if(plugin.Playing.size()== 0){ - p.sendMessage(ChatColor.GRAY + "No one is playing!"); - } - p.sendMessage(ChatColor.AQUA + "----------------------"); - }else{ - p.sendMessage(ChatColor.RED + "You don't have permission!"); - } } if(args[0].equalsIgnoreCase("SetSpawn")){ - if(p.hasPermission("HungerArena.SetSpawn")){ - double x = p.getLocation().getX(); - double y = p.getLocation().getY(); - double z = p.getLocation().getZ(); - String w = p.getWorld().getName(); - plugin.config.set("Spawn_coords", x + "," + y + "," + z + "," + w); - plugin.config.set("Spawns_set", "true"); - plugin.saveConfig(); - p.sendMessage(ChatColor.AQUA + "You have set the spawn for dead tributes!"); - }else{ - p.sendMessage(ChatColor.RED + "You don't have permission!"); + if(sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.RED + "That can only be run by a player!"); } } String[] Spawncoords = plugin.config.getString("Spawn_coords").split(","); @@ -96,147 +785,62 @@ public class HaCommands implements CommandExecutor { World spawnw = plugin.getServer().getWorld(spawnworld); Location Spawn = new Location(spawnw, spawnx, spawny, spawnz); if(args[0].equalsIgnoreCase("Join")){ - if(p.hasPermission("HungerArena.Join")){ - if(plugin.Playing.contains(p)){ - p.sendMessage(ChatColor.RED + "You are already playing!"); - }else if(plugin.Dead.contains(p) || plugin.Quit.contains(p)){ - p.sendMessage(ChatColor.RED + "You DIED/QUIT! You can't join again!"); - }else if(plugin.Playing.size()== 24){ - p.sendMessage(ChatColor.RED + "There are already 24 Tributes!"); - }else if(plugin.canjoin== true){ - p.sendMessage(ChatColor.RED + "The game is in progress!"); - }else if(plugin.config.getString("Spawns_set").equalsIgnoreCase("false")){ - p.sendMessage(ChatColor.RED + "/ha setspawn hasn't been run!"); - }else if(plugin.NeedConfirm.contains(p)){ - p.sendMessage(ChatColor.RED + "You need to do /ha confirm"); - }else{ - plugin.NeedConfirm.add(p); - p.sendMessage(ChatColor.GOLD + "You're inventory will be cleared! Type /ha confirm to procede"); - } - }else{ - p.sendMessage(ChatColor.RED + "You don't have permission!"); + if(sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.RED + "That can only be run by a player!"); } } if(args[0].equalsIgnoreCase("Confirm")){ - if(plugin.NeedConfirm.contains(p)){ - plugin.Playing.add(p); - plugin.NeedConfirm.remove(p); - p.getInventory().clear(); - p.getInventory().setBoots(null); - p.getInventory().setChestplate(null); - p.getInventory().setHelmet(null); - p.getInventory().setLeggings(null); - plugin.getServer().broadcastMessage(ChatColor.AQUA + pname + " has Joined the Game!"); - if(plugin.Playing.size()== 24){ - p.performCommand("ha warpall"); - } + if(sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.RED + "That can only be run by a player!"); } } if(args[0].equalsIgnoreCase("Ready")){ - if(plugin.Playing.contains(p)){ - plugin.Ready.add(p); - p.sendMessage(ChatColor.AQUA + "You have marked yourself as READY!"); - if(plugin.Playing.size()== plugin.Ready.size()){ - p.performCommand("Ha Warpall"); - } - }else if(!plugin.Playing.contains(p)){ - p.sendMessage(ChatColor.RED + "You aren't playing!"); + if(sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.RED + "That can only be run by a player!"); } } if(args[0].equalsIgnoreCase("Leave")){ - if(!plugin.Playing.contains(p)){ - p.sendMessage(ChatColor.RED + "You aren't playing!"); - }else{ - plugin.Playing.remove(p); - plugin.Quit.add(p); - p.sendMessage(ChatColor.AQUA + "You have left the game!"); - p.getServer().broadcastMessage(ChatColor.RED + pname + " Quit!"); - p.getInventory().clear(); - p.getInventory().setBoots(null); - p.getInventory().setChestplate(null); - p.getInventory().setHelmet(null); - p.getInventory().setLeggings(null); - p.teleport(Spawn); - if(plugin.Frozen.contains(p)){ - plugin.Frozen.remove(p); - } - if(plugin.Playing.size()== 1 && plugin.canjoin== true){ - for(Player winner:plugin.Playing){ - String winnername = winner.getName(); - p.getServer().broadcastMessage(ChatColor.GREEN + winnername + " is the victor of this Hunger Games!"); - winner.getInventory().clear(); - winner.getInventory().addItem(plugin.Reward); - } - for(Player spectator:plugin.Watching){ - spectator.setAllowFlight(false); - } - plugin.canjoin= false; - plugin.Watching.clear(); - } + if(sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.RED + "That can only be run by a player!"); } } if(args[0].equalsIgnoreCase("Watch")){ - if(p.hasPermission("HungerArena.Watch")){ - if(!plugin.Watching.contains(p) && !plugin.Playing.contains(p) && plugin.canjoin== true){ - plugin.Watching.add(p); - for(Player online:plugin.getServer().getOnlinePlayers()){ - online.hidePlayer(p); - } - p.setAllowFlight(true); - p.sendMessage(ChatColor.AQUA + "You can now spectate!"); - }else if(plugin.canjoin == false){ - p.sendMessage(ChatColor.RED + "The game isn't in progress!"); - }else if(plugin.Playing.contains(p)){ - p.sendMessage(ChatColor.RED + "You can't watch while you're playing!"); - }else if(plugin.Watching.contains(p)){ - plugin.Watching.remove(p); - for(Player online:plugin.getServer().getOnlinePlayers()){ - online.showPlayer(p); - } - p.teleport(Spawn); - p.setAllowFlight(false); - p.sendMessage(ChatColor.AQUA + "You are not spectating anymore"); - } - }else{ - p.sendMessage(ChatColor.RED + "You don't have permission!"); + if(sender instanceof ConsoleCommandSender){ + sender.sendMessage(ChatColor.RED + "That can only be run by a player!"); } } if(args[0].equalsIgnoreCase("Kick")){ Player target = plugin.getServer().getPlayer(args[1]); - if(p.hasPermission("HungerArena.Kick")){ - if(plugin.Playing.contains(target)){ - if(p.isOnline()){ - plugin.Playing.remove(target); - plugin.getServer().broadcastMessage(ChatColor.RED + target.getName() + " was kicked from the game!"); - target.teleport(Spawn); - target.getInventory().clear(); - target.getInventory().setBoots(null); - target.getInventory().setChestplate(null); - target.getInventory().setHelmet(null); - target.getInventory().setLeggings(null); - plugin.Quit.add(target); - if(plugin.Playing.size()== 1 && plugin.canjoin== true){ - for(Player winner:plugin.Playing){ - String winnername = winner.getName(); - p.getServer().broadcastMessage(ChatColor.GREEN + winnername + " is the victor of this Hunger Games!"); - winner.getInventory().clear(); - winner.getInventory().addItem(plugin.Reward); - } - for(Player spectator:plugin.Watching){ - spectator.setAllowFlight(false); - } - plugin.canjoin= false; - plugin.Watching.clear(); - }else{ - plugin.Playing.remove(target); - plugin.Quit.add(target); + if(plugin.Playing.contains(target)){ + if(target.isOnline()){ + plugin.Playing.remove(target); + plugin.getServer().broadcastMessage(ChatColor.RED + target.getName() + " was kicked from the game!"); + target.teleport(Spawn); + target.getInventory().clear(); + target.getInventory().setBoots(null); + target.getInventory().setChestplate(null); + target.getInventory().setHelmet(null); + target.getInventory().setLeggings(null); + plugin.Quit.add(target); + if(plugin.Playing.size()== 1 && plugin.canjoin== true){ + for(Player winner:plugin.Playing){ + String winnername = winner.getName(); + sender.getServer().broadcastMessage(ChatColor.GREEN + winnername + " is the victor of this Hunger Games!"); + winner.getInventory().clear(); + winner.getInventory().addItem(plugin.Reward); } + for(Player spectator:plugin.Watching){ + spectator.setAllowFlight(false); + } + plugin.canjoin= false; + plugin.Watching.clear(); + }else{ + plugin.Playing.remove(target); + plugin.Quit.add(target); } - }else{ - p.sendMessage(ChatColor.RED + "That player isn't in the game!"); } }else{ - p.sendMessage(ChatColor.RED + "You don't have permission!"); + sender.sendMessage(ChatColor.RED + "That player isn't in the game!"); } } if(args[0].equalsIgnoreCase("Refill")){ @@ -267,375 +871,378 @@ public class HaCommands implements CommandExecutor { } } if(limit== list056){ - p.sendMessage(ChatColor.GREEN + "All chests refilled!"); + sender.sendMessage(ChatColor.GREEN + "All chests refilled!"); } } if(args[0].equalsIgnoreCase("Restart")){ - if(p.hasPermission("HungerArena.Restart")){ - for(Player spectator:plugin.Watching){ - spectator.setAllowFlight(false); - for(Player online:plugin.getServer().getOnlinePlayers()){ - online.showPlayer(spectator); - } + for(Player spectator:plugin.Watching){ + spectator.setAllowFlight(false); + for(Player online:plugin.getServer().getOnlinePlayers()){ + online.showPlayer(spectator); } - plugin.Dead.clear(); - plugin.Playing.clear(); - plugin.Quit.clear(); - plugin.Watching.clear(); - plugin.Frozen.clear(); - plugin.canjoin = false; - p.sendMessage(ChatColor.AQUA + "The games have been reset!"); - }else{ - p.sendMessage(ChatColor.RED + "You don't have permission!"); } + plugin.Dead.clear(); + plugin.Playing.clear(); + plugin.Quit.clear(); + plugin.Watching.clear(); + plugin.Frozen.clear(); + plugin.canjoin = false; + sender.sendMessage(ChatColor.AQUA + "The games have been reset!"); } - if(args[0].equalsIgnoreCase("Reload")){ - plugin.reloadConfig(); - p.sendMessage(ChatColor.AQUA + "HungerArena Reloaded!"); - } - if(args[0].equalsIgnoreCase("WarpAll")){ - if(p.hasPermission("HungerArena.Warpall")){ - if(plugin.config.getString("Spawns_set").equalsIgnoreCase("false")){ - p.sendMessage(ChatColor.RED + "/ha setspawn hasn't been run!"); - }else{ - if(plugin.Playing.size()== 1){ - p.sendMessage(ChatColor.RED + "There are not enough players!"); - } - if(plugin.Playing.size()>= 2){ - plugin.config.getString("Tribute_one_spawn"); - String[] onecoords = plugin.config.getString("Tribute_one_spawn").split(","); - Player Tribute_one = plugin.Playing.get(0); - double x = Double.parseDouble(onecoords[0]); - double y = Double.parseDouble(onecoords[1]); - double z = Double.parseDouble(onecoords[2]); - String world = onecoords[3]; - World w = plugin.getServer().getWorld(world); - Location oneloc = new Location(w, x, y, z); - Tribute_one.teleport(oneloc); - plugin.Frozen.add(Tribute_one); - Tribute_one.setFoodLevel(20); - plugin.config.getString("Tribute_two_spawn"); - String[] twocoords = plugin.config.getString("Tribute_two_spawn").split(","); - Player Tribute_two = plugin.Playing.get(1); - double twox = Double.parseDouble(twocoords[0]); - double twoy = Double.parseDouble(twocoords[1]); - double twoz = Double.parseDouble(twocoords[2]); - String twoworld = twocoords[3]; - World twow = plugin.getServer().getWorld(twoworld); - Location twoloc = new Location(twow, twox, twoy, twoz); - Tribute_two.teleport(twoloc); - plugin.Frozen.add(Tribute_two); - Tribute_two.setFoodLevel(20); - p.getWorld().setTime(0); - } - if(plugin.Playing.size()>= 3){ - plugin.config.getString("Tribute_three_spawn"); - String[] coords = plugin.config.getString("Tribute_three_spawn").split(","); - Player Tribute_three = plugin.Playing.get(2); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_three.teleport(loc); - plugin.Frozen.add(Tribute_three); - Tribute_three.setFoodLevel(20); - } - if(plugin.Playing.size()>= 4){ - plugin.config.getString("Tribute_four_spawn"); - String[] coords = plugin.config.getString("Tribute_four_spawn").split(","); - Player Tribute_four = plugin.Playing.get(3); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_four.teleport(loc); - plugin.Frozen.add(Tribute_four); - Tribute_four.setFoodLevel(20); - } - if(plugin.Playing.size()>= 5){ - plugin.config.getString("Tribute_five_spawn"); - String[] coords = plugin.config.getString("Tribute_five_spawn").split(","); - Player Tribute_five = plugin.Playing.get(4); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_five.teleport(loc); - plugin.Frozen.add(Tribute_five); - Tribute_five.setFoodLevel(20); - } - if(plugin.Playing.size()>= 6){ - plugin.config.getString("Tribute_six_spawn"); - String[] coords = plugin.config.getString("Tribute_six_spawn").split(","); - Player Tribute_six = plugin.Playing.get(5); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_six.teleport(loc); - plugin.Frozen.add(Tribute_six); - Tribute_six.setFoodLevel(20); - } - if(plugin.Playing.size()>= 7){ - plugin.config.getString("Tribute_seven_spawn"); - String[] coords = plugin.config.getString("Tribute_seven_spawn").split(","); - Player Tribute_seven = plugin.Playing.get(6); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_seven.teleport(loc); - plugin.Frozen.add(Tribute_seven); - Tribute_seven.setFoodLevel(20); - } - if(plugin.Playing.size()>= 8){ - plugin.config.getString("Tribute_eight_spawn"); - String[] coords = plugin.config.getString("Tribute_eight_spawn").split(","); - Player Tribute_eight = plugin.Playing.get(7); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_eight.teleport(loc); - plugin.Frozen.add(Tribute_eight); - Tribute_eight.setFoodLevel(20); - } - if(plugin.Playing.size()>= 9){ - plugin.config.getString("Tribute_nine_spawn"); - String[] coords = plugin.config.getString("Tribute_nine_spawn").split(","); - Player Tribute_nine = plugin.Playing.get(8); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_nine.teleport(loc); - plugin.Frozen.add(Tribute_nine); - Tribute_nine.setFoodLevel(20); - } - if(plugin.Playing.size()>= 10){ - plugin.config.getString("Tribute_ten_spawn"); - String[] coords = plugin.config.getString("Tribute_ten_spawn").split(","); - Player Tribute_ten = plugin.Playing.get(9); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_ten.teleport(loc); - plugin.Frozen.add(Tribute_ten); - Tribute_ten.setFoodLevel(20); - } - if(plugin.Playing.size()>= 11){ - plugin.config.getString("Tribute_eleven_spawn"); - String[] coords = plugin.config.getString("Tribute_eleven_spawn").split(","); - Player Tribute_eleven = plugin.Playing.get(10); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_eleven.teleport(loc); - plugin.Frozen.add(Tribute_eleven); - Tribute_eleven.setFoodLevel(20); - } - if(plugin.Playing.size()>= 12){ - plugin.config.getString("Tribute_twelve_spawn"); - String[] coords = plugin.config.getString("Tribute_twelve_spawn").split(","); - Player Tribute_twelve = plugin.Playing.get(11); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_twelve.teleport(loc); - plugin.Frozen.add(Tribute_twelve); - Tribute_twelve.setFoodLevel(20); - } - if(plugin.Playing.size()>= 13){ - plugin.config.getString("Tribute_thirteen_spawn"); - String[] coords = plugin.config.getString("Tribute_thirteen_spawn").split(","); - Player Tribute_thirteen = plugin.Playing.get(12); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_thirteen.teleport(loc); - plugin.Frozen.add(Tribute_thirteen); - Tribute_thirteen.setFoodLevel(20); - } - if(plugin.Playing.size()>= 14){ - plugin.config.getString("Tribute_fourteen_spawn"); - String[] coords = plugin.config.getString("Tribute_fourteen_spawn").split(","); - Player Tribute_fourteen = plugin.Playing.get(13); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_fourteen.teleport(loc); - plugin.Frozen.add(Tribute_fourteen); - Tribute_fourteen.setFoodLevel(20); - } - if(plugin.Playing.size()>= 15){ - plugin.config.getString("Tribute_fifteen_spawn"); - String[] coords = plugin.config.getString("Tribute_fifteen_spawn").split(","); - Player Tribute_fifteen = plugin.Playing.get(14); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_fifteen.teleport(loc); - plugin.Frozen.add(Tribute_fifteen); - Tribute_fifteen.setFoodLevel(20); - } - if(plugin.Playing.size()>= 16){ - plugin.config.getString("Tribute_sixteen_spawn"); - String[] coords = plugin.config.getString("Tribute_sixteen_spawn").split(","); - Player Tribute_sixteen = plugin.Playing.get(15); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_sixteen.teleport(loc); - plugin.Frozen.add(Tribute_sixteen); - Tribute_sixteen.setFoodLevel(20); - } - if(plugin.Playing.size()>= 17){ - plugin.config.getString("Tribute_seventeen_spawn"); - String[] coords = plugin.config.getString("Tribute_seventeen_spawn").split(","); - Player Tribute_seventeen = plugin.Playing.get(16); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_seventeen.teleport(loc); - plugin.Frozen.add(Tribute_seventeen); - Tribute_seventeen.setFoodLevel(20); - } - if(plugin.Playing.size()>= 18){ - plugin.config.getString("Tribute_eighteen_spawn"); - String[] coords = plugin.config.getString("Tribute_eighteen_spawn").split(","); - Player Tribute_eighteen = plugin.Playing.get(17); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_eighteen.teleport(loc); - plugin.Frozen.add(Tribute_eighteen); - Tribute_eighteen.setFoodLevel(20); - } - if(plugin.Playing.size()>= 19){ - plugin.config.getString("Tribute_nineteen_spawn"); - String[] coords = plugin.config.getString("Tribute_nineteen_spawn").split(","); - Player Tribute_nineteen = plugin.Playing.get(18); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_nineteen.teleport(loc); - plugin.Frozen.add(Tribute_nineteen); - Tribute_nineteen.setFoodLevel(20); - } - if(plugin.Playing.size()>= 20){ - plugin.config.getString("Tribute_twenty_spawn"); - String[] coords = plugin.config.getString("Tribute_twenty_spawn").split(","); - Player Tribute_twenty = plugin.Playing.get(19); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_twenty.teleport(loc); - plugin.Frozen.add(Tribute_twenty); - Tribute_twenty.setFoodLevel(20); - } - if(plugin.Playing.size()>= 21){ - plugin.config.getString("Tribute_twentyone_spawn"); - String[] coords = plugin.config.getString("Tribute_twentyone_spawn").split(","); - Player Tribute_twentyone = plugin.Playing.get(20); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_twentyone.teleport(loc); - plugin.Frozen.add(Tribute_twentyone); - Tribute_twentyone.setFoodLevel(20); - } - if(plugin.Playing.size()>= 22){ - plugin.config.getString("Tribute_twentytwo_spawn"); - String[] coords = plugin.config.getString("Tribute_twentytwo_spawn").split(","); - Player Tribute_twentytwo = plugin.Playing.get(21); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_twentytwo.teleport(loc); - plugin.Frozen.add(Tribute_twentytwo); - Tribute_twentytwo.setFoodLevel(20); - } - if(plugin.Playing.size()>= 23){ - plugin.config.getString("Tribute_twentythree_spawn"); - String[] coords = plugin.config.getString("Tribute_twentythree_spawn").split(","); - Player Tribute_twentythree = plugin.Playing.get(22); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_twentythree.teleport(loc); - plugin.Frozen.add(Tribute_twentythree); - Tribute_twentythree.setFoodLevel(20); - } - if(plugin.Playing.size()>= 24){ - plugin.config.getString("Tribute_twentyfour_spawn"); - String[] coords = plugin.config.getString("Tribute_twentyfour_spawn").split(","); - Player Tribute_twentyfour = plugin.Playing.get(23); - double x = Double.parseDouble(coords[0]); - double y = Double.parseDouble(coords[1]); - double z = Double.parseDouble(coords[2]); - String world = coords[3]; - World w = plugin.getServer().getWorld(world); - Location loc = new Location(w, x, y, z); - Tribute_twentyfour.teleport(loc); - plugin.Frozen.add(Tribute_twentyfour); - Tribute_twentyfour.setFoodLevel(20); - } + } + if(args[0].equalsIgnoreCase("Reload")){ + plugin.reloadConfig(); + sender.sendMessage(ChatColor.AQUA + "HungerArena Reloaded!"); + } + if(args[0].equalsIgnoreCase("WarpAll")){ + if(plugin.config.getString("Spawns_set").equalsIgnoreCase("false")){ + sender.sendMessage(ChatColor.RED + "/ha setspawn hasn't been run!"); + }else{ + if(plugin.Playing.size()<= 1){ + sender.sendMessage(ChatColor.RED + "There are not enough players!"); + } + if(plugin.Playing.size()>= 2){ + plugin.config.getString("Tribute_one_spawn"); + String[] onecoords = plugin.config.getString("Tribute_one_spawn").split(","); + Player Tribute_one = plugin.Playing.get(0); + double x = Double.parseDouble(onecoords[0]); + double y = Double.parseDouble(onecoords[1]); + double z = Double.parseDouble(onecoords[2]); + String world = onecoords[3]; + World w = plugin.getServer().getWorld(world); + Location oneloc = new Location(w, x, y, z); + Tribute_one.teleport(oneloc); + plugin.Frozen.add(Tribute_one); + Tribute_one.setFoodLevel(20); + plugin.config.getString("Tribute_two_spawn"); + String[] twocoords = plugin.config.getString("Tribute_two_spawn").split(","); + Player Tribute_two = plugin.Playing.get(1); + double twox = Double.parseDouble(twocoords[0]); + double twoy = Double.parseDouble(twocoords[1]); + double twoz = Double.parseDouble(twocoords[2]); + String twoworld = twocoords[3]; + World twow = plugin.getServer().getWorld(twoworld); + Location twoloc = new Location(twow, twox, twoy, twoz); + Tribute_two.teleport(twoloc); + plugin.Frozen.add(Tribute_two); + Tribute_two.setFoodLevel(20); + Tribute_one.getWorld().setTime(0); + } + if(plugin.Playing.size()>= 3){ + plugin.config.getString("Tribute_three_spawn"); + String[] coords = plugin.config.getString("Tribute_three_spawn").split(","); + Player Tribute_three = plugin.Playing.get(2); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_three.teleport(loc); + plugin.Frozen.add(Tribute_three); + Tribute_three.setFoodLevel(20); + } + if(plugin.Playing.size()>= 4){ + plugin.config.getString("Tribute_four_spawn"); + String[] coords = plugin.config.getString("Tribute_four_spawn").split(","); + Player Tribute_four = plugin.Playing.get(3); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_four.teleport(loc); + plugin.Frozen.add(Tribute_four); + Tribute_four.setFoodLevel(20); + } + if(plugin.Playing.size()>= 5){ + plugin.config.getString("Tribute_five_spawn"); + String[] coords = plugin.config.getString("Tribute_five_spawn").split(","); + Player Tribute_five = plugin.Playing.get(4); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_five.teleport(loc); + plugin.Frozen.add(Tribute_five); + Tribute_five.setFoodLevel(20); + } + if(plugin.Playing.size()>= 6){ + plugin.config.getString("Tribute_six_spawn"); + String[] coords = plugin.config.getString("Tribute_six_spawn").split(","); + Player Tribute_six = plugin.Playing.get(5); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_six.teleport(loc); + plugin.Frozen.add(Tribute_six); + Tribute_six.setFoodLevel(20); + } + if(plugin.Playing.size()>= 7){ + plugin.config.getString("Tribute_seven_spawn"); + String[] coords = plugin.config.getString("Tribute_seven_spawn").split(","); + Player Tribute_seven = plugin.Playing.get(6); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_seven.teleport(loc); + plugin.Frozen.add(Tribute_seven); + Tribute_seven.setFoodLevel(20); + } + if(plugin.Playing.size()>= 8){ + plugin.config.getString("Tribute_eight_spawn"); + String[] coords = plugin.config.getString("Tribute_eight_spawn").split(","); + Player Tribute_eight = plugin.Playing.get(7); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_eight.teleport(loc); + plugin.Frozen.add(Tribute_eight); + Tribute_eight.setFoodLevel(20); + } + if(plugin.Playing.size()>= 9){ + plugin.config.getString("Tribute_nine_spawn"); + String[] coords = plugin.config.getString("Tribute_nine_spawn").split(","); + Player Tribute_nine = plugin.Playing.get(8); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_nine.teleport(loc); + plugin.Frozen.add(Tribute_nine); + Tribute_nine.setFoodLevel(20); + } + if(plugin.Playing.size()>= 10){ + plugin.config.getString("Tribute_ten_spawn"); + String[] coords = plugin.config.getString("Tribute_ten_spawn").split(","); + Player Tribute_ten = plugin.Playing.get(9); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_ten.teleport(loc); + plugin.Frozen.add(Tribute_ten); + Tribute_ten.setFoodLevel(20); + } + if(plugin.Playing.size()>= 11){ + plugin.config.getString("Tribute_eleven_spawn"); + String[] coords = plugin.config.getString("Tribute_eleven_spawn").split(","); + Player Tribute_eleven = plugin.Playing.get(10); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_eleven.teleport(loc); + plugin.Frozen.add(Tribute_eleven); + Tribute_eleven.setFoodLevel(20); + } + if(plugin.Playing.size()>= 12){ + plugin.config.getString("Tribute_twelve_spawn"); + String[] coords = plugin.config.getString("Tribute_twelve_spawn").split(","); + Player Tribute_twelve = plugin.Playing.get(11); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_twelve.teleport(loc); + plugin.Frozen.add(Tribute_twelve); + Tribute_twelve.setFoodLevel(20); + } + if(plugin.Playing.size()>= 13){ + plugin.config.getString("Tribute_thirteen_spawn"); + String[] coords = plugin.config.getString("Tribute_thirteen_spawn").split(","); + Player Tribute_thirteen = plugin.Playing.get(12); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_thirteen.teleport(loc); + plugin.Frozen.add(Tribute_thirteen); + Tribute_thirteen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 14){ + plugin.config.getString("Tribute_fourteen_spawn"); + String[] coords = plugin.config.getString("Tribute_fourteen_spawn").split(","); + Player Tribute_fourteen = plugin.Playing.get(13); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_fourteen.teleport(loc); + plugin.Frozen.add(Tribute_fourteen); + Tribute_fourteen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 15){ + plugin.config.getString("Tribute_fifteen_spawn"); + String[] coords = plugin.config.getString("Tribute_fifteen_spawn").split(","); + Player Tribute_fifteen = plugin.Playing.get(14); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_fifteen.teleport(loc); + plugin.Frozen.add(Tribute_fifteen); + Tribute_fifteen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 16){ + plugin.config.getString("Tribute_sixteen_spawn"); + String[] coords = plugin.config.getString("Tribute_sixteen_spawn").split(","); + Player Tribute_sixteen = plugin.Playing.get(15); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_sixteen.teleport(loc); + plugin.Frozen.add(Tribute_sixteen); + Tribute_sixteen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 17){ + plugin.config.getString("Tribute_seventeen_spawn"); + String[] coords = plugin.config.getString("Tribute_seventeen_spawn").split(","); + Player Tribute_seventeen = plugin.Playing.get(16); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_seventeen.teleport(loc); + plugin.Frozen.add(Tribute_seventeen); + Tribute_seventeen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 18){ + plugin.config.getString("Tribute_eighteen_spawn"); + String[] coords = plugin.config.getString("Tribute_eighteen_spawn").split(","); + Player Tribute_eighteen = plugin.Playing.get(17); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_eighteen.teleport(loc); + plugin.Frozen.add(Tribute_eighteen); + Tribute_eighteen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 19){ + plugin.config.getString("Tribute_nineteen_spawn"); + String[] coords = plugin.config.getString("Tribute_nineteen_spawn").split(","); + Player Tribute_nineteen = plugin.Playing.get(18); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_nineteen.teleport(loc); + plugin.Frozen.add(Tribute_nineteen); + Tribute_nineteen.setFoodLevel(20); + } + if(plugin.Playing.size()>= 20){ + plugin.config.getString("Tribute_twenty_spawn"); + String[] coords = plugin.config.getString("Tribute_twenty_spawn").split(","); + Player Tribute_twenty = plugin.Playing.get(19); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_twenty.teleport(loc); + plugin.Frozen.add(Tribute_twenty); + Tribute_twenty.setFoodLevel(20); + } + if(plugin.Playing.size()>= 21){ + plugin.config.getString("Tribute_twentyone_spawn"); + String[] coords = plugin.config.getString("Tribute_twentyone_spawn").split(","); + Player Tribute_twentyone = plugin.Playing.get(20); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_twentyone.teleport(loc); + plugin.Frozen.add(Tribute_twentyone); + Tribute_twentyone.setFoodLevel(20); + } + if(plugin.Playing.size()>= 22){ + plugin.config.getString("Tribute_twentytwo_spawn"); + String[] coords = plugin.config.getString("Tribute_twentytwo_spawn").split(","); + Player Tribute_twentytwo = plugin.Playing.get(21); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_twentytwo.teleport(loc); + plugin.Frozen.add(Tribute_twentytwo); + Tribute_twentytwo.setFoodLevel(20); + } + if(plugin.Playing.size()>= 23){ + plugin.config.getString("Tribute_twentythree_spawn"); + String[] coords = plugin.config.getString("Tribute_twentythree_spawn").split(","); + Player Tribute_twentythree = plugin.Playing.get(22); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_twentythree.teleport(loc); + plugin.Frozen.add(Tribute_twentythree); + Tribute_twentythree.setFoodLevel(20); + } + if(plugin.Playing.size()>= 24){ + plugin.config.getString("Tribute_twentyfour_spawn"); + String[] coords = plugin.config.getString("Tribute_twentyfour_spawn").split(","); + Player Tribute_twentyfour = plugin.Playing.get(23); + double x = Double.parseDouble(coords[0]); + double y = Double.parseDouble(coords[1]); + double z = Double.parseDouble(coords[2]); + String world = coords[3]; + World w = plugin.getServer().getWorld(world); + Location loc = new Location(w, x, y, z); + Tribute_twentyfour.teleport(loc); + plugin.Frozen.add(Tribute_twentyfour); + Tribute_twentyfour.setFoodLevel(20); + } + if(plugin.Playing.size()>= 2){ + if(plugin.config.getString("Auto_Start").equalsIgnoreCase("true")){ + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "ha start"); + } + }, 20L); } } } @@ -644,72 +1251,68 @@ public class HaCommands implements CommandExecutor { String begin = plugin.config.getString("Start_Message"); begin = begin.replaceAll("(&([a-f0-9]))", "\u00A7$2"); final String msg = begin; - if(p.hasPermission("HungerArena.Start")){ - if(plugin.config.getString("Countdown").equalsIgnoreCase("true")){ - plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ - public void run(){ - plugin.getServer().broadcastMessage("10"); - } - }, 20L); - plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ - public void run(){ - plugin.getServer().broadcastMessage("9"); - } - }, 40L); - plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ - public void run(){ - plugin.getServer().broadcastMessage("8"); - } - }, 60L); - plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ - public void run(){ - plugin.getServer().broadcastMessage("7"); - } - }, 80L); - plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ - public void run(){ - plugin.getServer().broadcastMessage("6"); - } - }, 100L); - plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ - public void run(){ - plugin.getServer().broadcastMessage("5"); - } - }, 120L); - plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ - public void run(){ - plugin.getServer().broadcastMessage("4"); - } - }, 140L); - plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ - public void run(){ - plugin.getServer().broadcastMessage("3"); - } - }, 160L); - plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ - public void run(){ - plugin.getServer().broadcastMessage("2"); - } - }, 180L); - plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ - public void run(){ - plugin.getServer().broadcastMessage("1"); - } - }, 200L); - plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ - public void run(){ - plugin.Frozen.clear(); - plugin.getServer().broadcastMessage(msg); - plugin.canjoin = true; - } - }, 220L); - }else{ - plugin.Frozen.clear(); - p.getServer().broadcastMessage(ChatColor.AQUA + "Let the Games Begin!!"); - plugin.canjoin = true; - } + if(plugin.config.getString("Countdown").equalsIgnoreCase("true")){ + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("10"); + } + }, 20L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("9"); + } + }, 40L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("8"); + } + }, 60L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("7"); + } + }, 80L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("6"); + } + }, 100L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("5"); + } + }, 120L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("4"); + } + }, 140L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("3"); + } + }, 160L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("2"); + } + }, 180L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.getServer().broadcastMessage("1"); + } + }, 200L); + plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){ + public void run(){ + plugin.Frozen.clear(); + plugin.getServer().broadcastMessage(msg); + plugin.canjoin = true; + } + }, 220L); }else{ - p.sendMessage(ChatColor.RED + "You don't have permission!"); + plugin.Frozen.clear(); + plugin.getServer().broadcastMessage(ChatColor.AQUA + "Let the Games Begin!!"); + plugin.canjoin = true; } } return false; diff --git a/src/me/Travja/HungerArena/Signs.java b/src/me/Travja/HungerArena/Signs.java index 5ae96c9..d31fb97 100644 --- a/src/me/Travja/HungerArena/Signs.java +++ b/src/me/Travja/HungerArena/Signs.java @@ -1,11 +1,13 @@ package me.Travja.HungerArena; +import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; +import org.bukkit.event.block.SignChangeEvent; import org.bukkit.event.player.PlayerInteractEvent; public class Signs implements Listener { @@ -21,21 +23,25 @@ public class Signs implements Listener { if(b.getType()== Material.SIGN || b.getType()==Material.SIGN_POST || b.getType()==Material.WALL_SIGN){ org.bukkit.block.Sign sign = (org.bukkit.block.Sign) b.getState(); String[] lines = sign.getLines(); - if(lines[0].equalsIgnoreCase("[HungerArena]")){ - if(lines[1].equalsIgnoreCase("Join")){ - p.performCommand("ha join"); - } - if(lines[1].equalsIgnoreCase("Confirm")){ - p.performCommand("ha confirm"); - } - if(lines[1].equalsIgnoreCase("Leave")){ - p.performCommand("ha leave"); + if(lines[0].equalsIgnoreCase(ChatColor.BLUE + "[HungerArena]")){ + if(lines[1].isEmpty()){ + p.performCommand("ha"); + }else{ + p.performCommand("ha " + lines[1]); } } - if(lines[0].equalsIgnoreCase("[Sponsor]")){ - p.performCommand("sponsor" + " " + lines[1] + " " + lines[2] + " " + lines[3]); + if(lines[0].equalsIgnoreCase(ChatColor.BLUE + "[Sponsor]")){ + p.performCommand("sponsor " + lines[1] + " " + lines[2] + " " + lines[3]); } } } } + @EventHandler + public void Create(SignChangeEvent event){ + String[] lines = event.getLines(); + String top = lines[0]; + if(top.equalsIgnoreCase("[HungerArena]") || top.equalsIgnoreCase("[Sponsor]")){ + event.setLine(0, ChatColor.BLUE + top); + } + } } diff --git a/src/me/Travja/HungerArena/SponsorCommands.java b/src/me/Travja/HungerArena/SponsorCommands.java index c1b6181..0868a18 100644 --- a/src/me/Travja/HungerArena/SponsorCommands.java +++ b/src/me/Travja/HungerArena/SponsorCommands.java @@ -19,45 +19,49 @@ public class SponsorCommands implements CommandExecutor { Player p = (Player) sender; String pname = p.getName(); if(cmd.getName().equalsIgnoreCase("Sponsor")){ - if(!plugin.Playing.contains(p)){ - if(args.length== 0){ - p.sendMessage(ChatColor.RED + "You didn't specify a tribute!"); - return false; - } - if(args.length== 1){ - p.sendMessage(ChatColor.RED + "You didn't specify an item!"); - } - if(args.length== 2){ - p.sendMessage(ChatColor.RED + "You didn't specify an amount!"); - } - if(args.length== 3){ - Player target = Bukkit.getPlayer(args[0]); - if(args[1].equalsIgnoreCase("57") || args[1].equalsIgnoreCase("7")){ - p.sendMessage(ChatColor.RED + "You can't sponsor that item!"); - }else{ - int ID = Integer.parseInt(args[1]); - int Amount = Integer.parseInt(args[2]); - ItemStack sponsoritem = new ItemStack(ID, Amount); - if(p.getInventory().contains(plugin.config.getInt("Sponsor_Cost.ID"), plugin.config.getInt("Sponsor_Cost.Amount")*Amount)){ - if(!plugin.Playing.contains(target)){ - p.sendMessage(ChatColor.RED + "That person isn't playing!"); - }else{ - if(args[0].equalsIgnoreCase(pname)){ - p.sendMessage(ChatColor.RED + "You can't sponsor yourself!"); - }else{ - target.sendMessage(ChatColor.AQUA + "You have been Sponsored!"); - target.getInventory().addItem(sponsoritem); - p.sendMessage("You have sponsored " + target.getName() + "!"); - p.getInventory().removeItem(plugin.Cost); - } - } + if(p.hasPermission("HungerArena.Sponsor")){ + if(!plugin.Playing.contains(p)){ + if(args.length== 0){ + p.sendMessage(ChatColor.RED + "You didn't specify a tribute!"); + return false; + } + if(args.length== 1){ + p.sendMessage(ChatColor.RED + "You didn't specify an item!"); + } + if(args.length== 2){ + p.sendMessage(ChatColor.RED + "You didn't specify an amount!"); + } + if(args.length== 3){ + Player target = Bukkit.getPlayer(args[0]); + if(args[1].equalsIgnoreCase("57") || args[1].equalsIgnoreCase("7")){ + p.sendMessage(ChatColor.RED + "You can't sponsor that item!"); }else{ - p.sendMessage(ChatColor.RED + "You don't have the necessary items to sponsor!"); + int ID = Integer.parseInt(args[1]); + int Amount = Integer.parseInt(args[2]); + ItemStack sponsoritem = new ItemStack(ID, Amount); + if(p.getInventory().contains(plugin.config.getInt("Sponsor_Cost.ID"), plugin.config.getInt("Sponsor_Cost.Amount")*Amount)){ + if(!plugin.Playing.contains(target)){ + p.sendMessage(ChatColor.RED + "That person isn't playing!"); + }else{ + if(args[0].equalsIgnoreCase(pname)){ + p.sendMessage(ChatColor.RED + "You can't sponsor yourself!"); + }else{ + target.sendMessage(ChatColor.AQUA + "You have been Sponsored!"); + target.getInventory().addItem(sponsoritem); + p.sendMessage("You have sponsored " + target.getName() + "!"); + p.getInventory().removeItem(plugin.Cost); + } + } + }else{ + p.sendMessage(ChatColor.RED + "You don't have the necessary items to sponsor!"); + } } } + }else{ + p.sendMessage(ChatColor.RED + "You are playing, you can't sponsor yourself!"); } }else{ - p.sendMessage(ChatColor.RED + "You are playing, you can't sponsor yourself!"); + p.sendMessage(ChatColor.RED + "You don't have permission!"); } } return false;