From a0adf1f938d0f91908776aaeed5a5218e48f7c6c Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Thu, 23 Jun 2016 13:41:53 -0400 Subject: [PATCH 1/7] Initial commit --- README.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..f1f04cc --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# ButtonMultiDevPlugin +A plugin for the button minecraft server, that multiple developers can add or adjust. Made for small projects like arrow trails or tests that are too small for their own plugin, but too big to add to an existing one. From dc96c383a98b4d45b0463bd11457b9571095741c Mon Sep 17 00:00:00 2001 From: AliLaptop Date: Thu, 23 Jun 2016 14:08:25 -0400 Subject: [PATCH 2/7] Plugin Initialization --- .classpath | 8 ++++ .project | 17 ++++++++ .settings/org.eclipse.jdt.core.prefs | 11 ++++++ ButtonMultiDevPlugin.jar | Bin 0 -> 2510 bytes bin/buttondevteam/MainPlugin.class | Bin 0 -> 1536 bytes .../project2/tasks/ExampleClass.class | Bin 0 -> 347 bytes config.yml | 0 plugin.yml | 3 ++ src/buttondevteam/MainPlugin.java | 37 ++++++++++++++++++ .../project2/tasks/ExampleClass.java | 5 +++ 10 files changed, 81 insertions(+) create mode 100644 .classpath create mode 100644 .project create mode 100644 .settings/org.eclipse.jdt.core.prefs create mode 100644 ButtonMultiDevPlugin.jar create mode 100644 bin/buttondevteam/MainPlugin.class create mode 100644 bin/buttondevteam/alisolarflare/project2/tasks/ExampleClass.class create mode 100644 config.yml create mode 100644 plugin.yml create mode 100644 src/buttondevteam/MainPlugin.java create mode 100644 src/buttondevteam/alisolarflare/project2/tasks/ExampleClass.java diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..f289777 --- /dev/null +++ b/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..1bf4680 --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + TheButtonMultiDevPlugin + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..7341ab1 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,11 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/ButtonMultiDevPlugin.jar b/ButtonMultiDevPlugin.jar new file mode 100644 index 0000000000000000000000000000000000000000..112bec1ff91c46b2bc5211a39803d45aa4118e52 GIT binary patch literal 2510 zcmb7F3p7;w9^T$#7)C~3aiS>XEnSUgj4%!3HICVoFXRAhxGoACLO_3ejjyXgb)9pRwt{U5gSF?tneZ<9 z{v+P;h$TNkIt<#QcHd|zrMq6~QQI%SjUi)nq&56@{Lps6Ab%{&gV_R4wN96mB9_j#(ZVukw3Z z7w%Q6mvCGown0U_4~qQhf`{|mME6+XG`J_@iJ)}}Rt7u~D2G~?GV_qj9Tu%Api^iz z+G4H^TH@~qeoRnFtzGu9g3p)Eo@;-SzEgc_^`a*scCe;8VX`)JhV&Mdc|tE+@(O^FlyMOdrY!Vv-~jLsICl{Lo~UCCU`Ns(Q3Z zx;v6!yUXJ@-~1FCL$SdadxoKDN!1gi8i6Ixq9GcKOQSSZyjNWqTHSssALR+~;dJPv zUM*uoyhn4=fz(x3+6u-jnI}e*Gw%=_7`ZqYl=Z7x#3^5dgGA6MONiMp;poLEB(Ri1 zCfusjs4rwY-LBHgrQ1KoKDd2jR=VU$Rc{p24grFTpU^w$4fIOes&&>kwkSR;` zNZX>a2tRl=`ewncCM@Be#GF=lO@k!!u)z);|H`<|ki5=^hpD;;6_OvXltlDZqzWe7 zqV0h+?wo6MS@j`pUER9fq8v)ZMLoPjQ!1eyp8s;QC6=?=`#r>=I!--)5)|_PdmM?jZRgN8cP|C9+(fA`` zv2DWQKc3@LL1%-DLBi-yNPHV3N$dHo&)VvHh0V{V92t#^lfS+(Kl!40Xno_XKsU&B)S^5!sy_fiMPyJgyE{w zBdNZg*zxAwu;}8Ny1SUA$@wYfiCQW}Fg-Elh#-k?rOl>4jya%c>}RcSDWx|@6RqdJ z{C7c>h);9y7W@W;L#f(x!`@joVcuWel8+w-aO0gfmpSpiz5Xoh(MWC=PKNUa632D9 zg=PQbCOR*U6IZ-G&WS5-m9zir_weFHaXg;ag11krU<-%q_`JC92L0WDx8pPg0Dx=P zyf}_M^GcFq&)mYXaer;ryuCOg=KU5N5p(MzTkzX^{hyLXBZb&406>I&J!jMRLWFbo EFGusS(*OVf literal 0 HcmV?d00001 diff --git a/bin/buttondevteam/MainPlugin.class b/bin/buttondevteam/MainPlugin.class new file mode 100644 index 0000000000000000000000000000000000000000..949e4e865b050fe72af4b18951d55358482e06c3 GIT binary patch literal 1536 zcma)5=}sC^6#g!v;B+b!ck6=IDqwYN?T)prxU?3R#D=7QnhbEot1v@m27In26}u#T zfId{yb7v5+g=h%(-Z}gCopXNw`SAe>z+o*6@+oIlzUMa~dU|8MSDZE!nhiLxV1Lz*TTdWvSD zz%7Qcv>UPFh@vKC!YF8IS0}Ajg&~|ZhOSsV!{ASud9I)fw^j5)VF;y#!S^bqEVn-D zSy@9QZRYf1Mz@6gt_%Inv9M*TPGBij&@?s;>7#&QK*b=282Sp_X{nuIA$D_+y%cCf zMK^k6$T1anG0xCSAw7Hy;}oqUdg(r?B7k53QHEjHu&5I~hmJ)otye@b&n*Qrm<`|_ z!~6}|S8*S6)Hf<*PcIQ?1D9pAL{BP+ArU~FA^dM<6$^Mk0jhej!uO9D=3*WU*MC2I z!gEftj_hj4DJ;p(X$*s{E*_v{JQKu2Qbmt-JDTO(h}w>BIXoYYWtJ37VMWDbJfX4B z%Vlol85Y|`X{qH3Qv_)S&s02@=oLbr;g(Gk8N^ElU);^Gs^XPY2OZP%Rqz^b19(HN z?9?e0>k^S)7)Pe;^oEK}Ih zn7SB23jNro#jawg1;$we#)k%s&vh8f?enLv&#w^6zzDH9+LCLzk&7mTh?0CSxD*nN c&Eh?-$6Fj}n(AEB^jzmS+tzW9^7yd-7w9fnQUCw| literal 0 HcmV?d00001 diff --git a/bin/buttondevteam/alisolarflare/project2/tasks/ExampleClass.class b/bin/buttondevteam/alisolarflare/project2/tasks/ExampleClass.class new file mode 100644 index 0000000000000000000000000000000000000000..7e9d7123bcbdb8a7a29677492665a22a4e9907c3 GIT binary patch literal 347 zcmbV|u};G<5QhItlLkVeg*RXW1}wpV5QwFMDS`pi{gN7RapEd=Dqf2TiGc^;p%CYa zftlg{^Z(yj{^YOkk52%nnB+(ZXH_49Yv+0uG&hQ^@y>GhD5cf1a|>OE6BXFMcy;~C z&C=?rW$$yOgvo+etSq-r>aL2LgyE%WO}HWq4i0C8bn521zyO;gWEc|0rD^qT-&DGL z;L2*kUg>JKGww|EzhN4ljVGL!|HQi>6!)(0YJFqkBfEduk0UnrA&~MDkWLX!G#97V g9>|W~vGFEBfN6s2OnovPyhe` literal 0 HcmV?d00001 diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..e69de29 diff --git a/plugin.yml b/plugin.yml new file mode 100644 index 0000000..01123d6 --- /dev/null +++ b/plugin.yml @@ -0,0 +1,3 @@ +main: buttondevteam.MainPlugin +version: 1.0.0 +name: ButtonMultiDevPlugin \ No newline at end of file diff --git a/src/buttondevteam/MainPlugin.java b/src/buttondevteam/MainPlugin.java new file mode 100644 index 0000000..001b492 --- /dev/null +++ b/src/buttondevteam/MainPlugin.java @@ -0,0 +1,37 @@ +package buttondevteam; + +import java.util.logging.Logger; + +import org.bukkit.plugin.PluginDescriptionFile; +import org.bukkit.plugin.java.JavaPlugin; + +public class MainPlugin extends JavaPlugin{ + private PluginDescriptionFile pdfFile; + private Logger logger; + + public void onEnable(){ + //Logs "Plugin Enabled", registers commands + pdfFile = getDescription(); + logger = getLogger(); + logger.info(pdfFile.getName() + " has been started (V." + pdfFile.getVersion()+ ")."); + + registerCommands(); + registerEvents(); + + logger.info(pdfFile.getName() + " has been Enabled (V." + pdfFile.getVersion()+ ")."); + } + public void onDisable(){ + logger.info(pdfFile.getName() + " has been Disabled (V." + pdfFile.getVersion()+ ")."); + } + public void registerCommands(){ + //Example command: getCommand("createShrine").setExecutor(new CreateShrine(this)); + } + public void registerEvents(){ + //Example INIT: midnightListener = new MidnightListener(this); + //Example Event: getServer().getPluginManager().registerEvents(midnightListener, this); + + //INIT + + //EVENTS + } +} diff --git a/src/buttondevteam/alisolarflare/project2/tasks/ExampleClass.java b/src/buttondevteam/alisolarflare/project2/tasks/ExampleClass.java new file mode 100644 index 0000000..4a647fa --- /dev/null +++ b/src/buttondevteam/alisolarflare/project2/tasks/ExampleClass.java @@ -0,0 +1,5 @@ +package buttondevteam.alisolarflare.project2.tasks; + +public class ExampleClass { + +} From c6489cfeb2ea5680739ab9f939af55450b89e1ff Mon Sep 17 00:00:00 2001 From: AliLaptop Date: Fri, 24 Jun 2016 04:59:52 -0400 Subject: [PATCH 3/7] Gave Ali a Green Arrow Trail Made to test user permissions for future use, (also for a little fun :D) --- .project | 2 +- ButtonLaboratoryPlugin.jar | Bin 0 -> 4752 bytes ButtonMultiDevPlugin.jar | Bin 2510 -> 0 bytes bin/buttondevteam/MainPlugin.class | Bin 1536 -> 2023 bytes .../aliarrowtrail/AliArrowListener.class | Bin 0 -> 2111 bytes .../aliarrowtrail/AliArrowTask.class | Bin 0 -> 1092 bytes plugin.yml | 2 +- src/buttondevteam/MainPlugin.java | 6 ++- .../aliarrowtrail/AliArrowListener.java | 39 ++++++++++++++++++ .../aliarrowtrail/AliArrowTask.java | 30 ++++++++++++++ 10 files changed, 76 insertions(+), 3 deletions(-) create mode 100644 ButtonLaboratoryPlugin.jar delete mode 100644 ButtonMultiDevPlugin.jar create mode 100644 bin/buttondevteam/alisolarflare/aliarrowtrail/AliArrowListener.class create mode 100644 bin/buttondevteam/alisolarflare/aliarrowtrail/AliArrowTask.class create mode 100644 src/buttondevteam/alisolarflare/aliarrowtrail/AliArrowListener.java create mode 100644 src/buttondevteam/alisolarflare/aliarrowtrail/AliArrowTask.java diff --git a/.project b/.project index 1bf4680..df60d30 100644 --- a/.project +++ b/.project @@ -1,6 +1,6 @@ - TheButtonMultiDevPlugin + ButtonLaboratoryPlugin diff --git a/ButtonLaboratoryPlugin.jar b/ButtonLaboratoryPlugin.jar new file mode 100644 index 0000000000000000000000000000000000000000..e1acc3b9c2a2dc5a02da9de91cbfa21e5aba4d9d GIT binary patch literal 4752 zcmbW42UJt*vVbEcbO8+zX(|>#qy|BH=K!Hem8OIa384kyD8(ouy@_-LAwfZkbfk%N zB!F~?N|7$T8G(p5Ipu-xy?gJvclP?%+W*>XX7-*vGyi;sP)aHgfR>gPfVecK1vn-k z02M$_!$d_`TVGRDPeor_Q^VLqL{IbZJpiz+hwIjb3XAkJL4~jM;`+*s#D*YKb6@5t z0ESQ++OlAZH7=5=Go)qsKMp|1(O(?Ulb(v$BVay0o-mY4PeKorQkdI&7d2v;GOnQFMB6Wh}t(lO>kr!AncqQ9(^80!SZ-Xw%o% zbBk*Q(^Vvk#+$P6r9bRbh%Cw-@D3M;WNx2sj61v?NBubZ$Av__er(Nxk=92~gMh#% z(&S)Xq-Zf?I{^S#QydRwz5B1hq$LN_)7!(%(H`Y%*iGLo#v(8Dof+%L)$qHPkjv&} z+7afkB_rbj%j_HiR_GB&ax`0Gf&?$Ih=b3a4VkTR=+mlyd2h_(6lIh zNy3i-P| z&aOz2-`x@2dN^FUk=7Mq!LB~2wy==49&UJ>I)ZvOG0%B^)B7owoy~ck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gGw4^X}ar@Ls&oEoR|l=?Z@LQgFhDQ4N2XyC=d?jm(gLrLumhev24O;3$SJM3o`93CMW!!HM&R$@F=&Ktlr5 zt*I?s=wtqO;ma3+iuYqx$I$3AS;V!8&vkzw(EZ`D}1$_%bp$0UkbY^6P#|90b(*$wSZ5z|-1#5iv5Ub-dR zRR=Ux`US>#)^@DhoZhI(z=RL>60Ah>+Omul+nxtx*Wf*CZ+9@h?i|Q3ue`F}Y;$65 za@wmRI*{r~Sgb0Q&x!3O^*;1;KbO=kHF0HDvE_8SDvFpOs`DO%Ww{17A`>~Jmp(#p zi==>A{lP^iC_sQCkUvh~WRU+={u$OALXWJFY5h2QlKJXLV5Hk4c0aC12GirjMh4R( zDJH$^-ZvMxMiQN2;q=4bS@pg0+9QQ;n&f_^o gF3uxCo&49H{%xrmLaBjdb9AJuob>-Xn8~|;05P)9sQ>@~ literal 0 HcmV?d00001 diff --git a/ButtonMultiDevPlugin.jar b/ButtonMultiDevPlugin.jar deleted file mode 100644 index 112bec1ff91c46b2bc5211a39803d45aa4118e52..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2510 zcmb7F3p7;w9^T$#7)C~3aiS>XEnSUgj4%!3HICVoFXRAhxGoACLO_3ejjyXgb)9pRwt{U5gSF?tneZ<9 z{v+P;h$TNkIt<#QcHd|zrMq6~QQI%SjUi)nq&56@{Lps6Ab%{&gV_R4wN96mB9_j#(ZVukw3Z z7w%Q6mvCGown0U_4~qQhf`{|mME6+XG`J_@iJ)}}Rt7u~D2G~?GV_qj9Tu%Api^iz z+G4H^TH@~qeoRnFtzGu9g3p)Eo@;-SzEgc_^`a*scCe;8VX`)JhV&Mdc|tE+@(O^FlyMOdrY!Vv-~jLsICl{Lo~UCCU`Ns(Q3Z zx;v6!yUXJ@-~1FCL$SdadxoKDN!1gi8i6Ixq9GcKOQSSZyjNWqTHSssALR+~;dJPv zUM*uoyhn4=fz(x3+6u-jnI}e*Gw%=_7`ZqYl=Z7x#3^5dgGA6MONiMp;poLEB(Ri1 zCfusjs4rwY-LBHgrQ1KoKDd2jR=VU$Rc{p24grFTpU^w$4fIOes&&>kwkSR;` zNZX>a2tRl=`ewncCM@Be#GF=lO@k!!u)z);|H`<|ki5=^hpD;;6_OvXltlDZqzWe7 zqV0h+?wo6MS@j`pUER9fq8v)ZMLoPjQ!1eyp8s;QC6=?=`#r>=I!--)5)|_PdmM?jZRgN8cP|C9+(fA`` zv2DWQKc3@LL1%-DLBi-yNPHV3N$dHo&)VvHh0V{V92t#^lfS+(Kl!40Xno_XKsU&B)S^5!sy_fiMPyJgyE{w zBdNZg*zxAwu;}8Ny1SUA$@wYfiCQW}Fg-Elh#-k?rOl>4jya%c>}RcSDWx|@6RqdJ z{C7c>h);9y7W@W;L#f(x!`@joVcuWel8+w-aO0gfmpSpiz5Xoh(MWC=PKNUa632D9 zg=PQbCOR*U6IZ-G&WS5-m9zir_weFHaXg;ag11krU<-%q_`JC92L0WDx8pPg0Dx=P zyf}_M^GcFq&)mYXaer;ryuCOg=KU5N5p(MzTkzX^{hyLXBZb&406>I&J!jMRLWFbo EFGusS(*OVf diff --git a/bin/buttondevteam/MainPlugin.class b/bin/buttondevteam/MainPlugin.class index 949e4e865b050fe72af4b18951d55358482e06c3..95f81c4c9fbb9302859c510a4a01d40b2a33c381 100644 GIT binary patch literal 2023 zcmb7FYjfK~6g}&>k)w(v4Wv!_vO^!S9U2A7qtu~onxsH+9yG0K3KZ7%+Syi?JS*Ax zUCa=d&>4OJKdQrB$+4x94CRBh(tVu0_uPm7e)H#F0B&N>K#F0e+6e;Bt&46Tc+1}4 z(%p7CP3am)Gt7CaX;(WhU&_F4hhqB$?{fPgJt8v(qg`)2kd9y|l>coWS*;1brer&i zo~unu45N)?~Y4C$k*GM>BcY9A8}XDyt=48wR+1Ti)k7V_^-+ZX|zw{Qxh z8uFrrOSsH1MvxI>BqOvF`PA+?3kEU;483Hch>r{`P+8x;*}@Gh5rLJFGMXU z^)pLC&S6Pc?q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7w9fnQUCw| diff --git a/bin/buttondevteam/alisolarflare/aliarrowtrail/AliArrowListener.class b/bin/buttondevteam/alisolarflare/aliarrowtrail/AliArrowListener.class new file mode 100644 index 0000000000000000000000000000000000000000..3350ebb4045a1b5f0a02ca9299cc462836a3dc6c GIT binary patch literal 2111 zcmbVMYf~Fl7=BJj*bP zpK&T3bjI=Y*1krj9i;drscn_wu~YInVp&U%∋5MX%n83tFF^U3zQ|(7e z?mE(Q3xOxYZ}=!}$uJDQi$dvoPR4UH+RD0xNck$X5Ep2DD)*)1Nq@^(+IXt+k%fAJ z&LG@!Hi|ntZse$a}IyBj6K(jzyYGADaL}tUnIf0g}>#N1$?uH6i<%XvO+Ok1jdTTOtwSDq39&Nh? zfypz~-h>dsZVUY7Fwi`>p32IipWha^mCC-t2RU)01Lv&stR^e1`|4aN(q&hzxdoRf zGrk{0GI9f-AbVfUX9Dj_f74T8I*Be^wQxmX4L*Us)Ie3Sv#`^R z=)*M&{Q_4jYn}D8aUC}VET&#P*yAD8PFyOhJ<<($8z~F#)J$CVvoU}{fkb9yWoccY zrv}=xvq3v-V+5lDNn*)u2SKDlfuZU?_f8M7P;o}Npcv*A>Ai_t7Ty)O{JI-#Q(*6v zn9QkgUsq_au26cNK8JB$SxT!BcQ9e$1A+4uJeIs{q%m2_w(Q9RoozIgEh{eMKl^=N?P*o=2AV-9 z;8a00!|#N_+F~b><=a;K0+$0hViIN~b3jzpsW>D0*reUiqCpGX`5!~gv@0Me)%J?3 zcG@tjH02_h-&v4*CnGdj(#IS}AA@+O4TP7Ie^j%Eeop2(J_$Z;dO+&~rI*Em`j(aH?KrII%;;36%?nXE*PcJr-+@9Jq?=Fa@$ zHZ6Tsq)A-Wtblfb*^e}!YF8)N8UOfRL|j|E&~+;u$04Lsp^)a_5P9X4~?zQig%H_gvs4eKOl zjGkZM0jXOcbq|>#&I|%y;cI?<#OOXGT3?{oLf;ECTgd#)nlTH)A`UJqn#{-ai{Z&X D&~rl& literal 0 HcmV?d00001 diff --git a/bin/buttondevteam/alisolarflare/aliarrowtrail/AliArrowTask.class b/bin/buttondevteam/alisolarflare/aliarrowtrail/AliArrowTask.class new file mode 100644 index 0000000000000000000000000000000000000000..2ced0bff3e67122c8b016eb9f3e4cff94e4d03e1 GIT binary patch literal 1092 zcma)5=}r?-6#i~oId9WERjz(YMfu z27mYfK9up?Dd=D%@yDE;{rk>6XMX(r_8mY86$1%|rDhleu4;+>K=56QJJNR@?!Bf@ zXp4KEdk}bBI#$(@Rc&o@zilAJFz0&PRx@n3WnlUCj%bCB@T}#?u^uYLn~q>e?>XVN zR1A}~(^zXpT+yU1o4A6j3_XOa#}A}Sn;bh0eG;IG z0_F`A={;lU5i=7DxW>@y@9_h50>QAD|0i_Z`MdjSp`j^RCa&WKLst6F)r#kaiXMaZ z_)-T;CT{6qTKbO!Z)ItrOD68%fzZIP|>`ioy-7UvI1SvW-QW0W{Vau6vUCOJT5 zIrNcdm^?F`GK^r9ES;fYSfptn4KqgB9hkRNuVdxnXXK7B&hQE6JNhNM@FV0?=$MNP zABaShc9Y>fjN%vE)_juq!)Fvz)V+jpdZy`!kJ;&e%%@EGDI`is^4=vqfqTCIJB|dU literal 0 HcmV?d00001 diff --git a/plugin.yml b/plugin.yml index 01123d6..a69ec3b 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,3 +1,3 @@ main: buttondevteam.MainPlugin version: 1.0.0 -name: ButtonMultiDevPlugin \ No newline at end of file +name: ButtonLaboratoryPlugin \ No newline at end of file diff --git a/src/buttondevteam/MainPlugin.java b/src/buttondevteam/MainPlugin.java index 001b492..155ea56 100644 --- a/src/buttondevteam/MainPlugin.java +++ b/src/buttondevteam/MainPlugin.java @@ -5,9 +5,12 @@ import java.util.logging.Logger; import org.bukkit.plugin.PluginDescriptionFile; import org.bukkit.plugin.java.JavaPlugin; +import buttondevteam.alisolarflare.aliarrowtrail.AliArrowListener; + public class MainPlugin extends JavaPlugin{ private PluginDescriptionFile pdfFile; private Logger logger; + private AliArrowListener aliArrowListener; public void onEnable(){ //Logs "Plugin Enabled", registers commands @@ -31,7 +34,8 @@ public class MainPlugin extends JavaPlugin{ //Example Event: getServer().getPluginManager().registerEvents(midnightListener, this); //INIT - + aliArrowListener = new AliArrowListener(this); //EVENTS + getServer().getPluginManager().registerEvents(aliArrowListener, this); } } diff --git a/src/buttondevteam/alisolarflare/aliarrowtrail/AliArrowListener.java b/src/buttondevteam/alisolarflare/aliarrowtrail/AliArrowListener.java new file mode 100644 index 0000000..9336ac2 --- /dev/null +++ b/src/buttondevteam/alisolarflare/aliarrowtrail/AliArrowListener.java @@ -0,0 +1,39 @@ +package buttondevteam.alisolarflare.aliarrowtrail; + +import org.bukkit.entity.Arrow; +import org.bukkit.entity.EntityType; +import org.bukkit.entity.Projectile; +import org.bukkit.event.EventHandler; +import org.bukkit.event.Listener; +import org.bukkit.event.entity.ProjectileLaunchEvent; +import buttondevteam.MainPlugin; + +public class AliArrowListener implements Listener { + private final MainPlugin plugin; + + public AliArrowListener(MainPlugin plugin){ + this.plugin = plugin; + } + + @SuppressWarnings("deprecation") + @EventHandler + public void onProjectileLaunch(ProjectileLaunchEvent event){ + try{ + if(!(event.getEntity().getType() == EntityType.ARROW)){ + return; + } + Projectile projectile = event.getEntity(); + if (!(projectile.getShooter().equals(plugin.getServer().getPlayer("Ali")))){ + return; + } + Arrow arrow = (Arrow) projectile; + if (!(arrow.isCritical())){ + return; + } + AliArrowTask aliArrowTask = new AliArrowTask(plugin,arrow); + aliArrowTask.runTaskTimer(plugin, 2, 1); + }catch(Exception e){ + return; + } + } +} \ No newline at end of file diff --git a/src/buttondevteam/alisolarflare/aliarrowtrail/AliArrowTask.java b/src/buttondevteam/alisolarflare/aliarrowtrail/AliArrowTask.java new file mode 100644 index 0000000..11b0550 --- /dev/null +++ b/src/buttondevteam/alisolarflare/aliarrowtrail/AliArrowTask.java @@ -0,0 +1,30 @@ +package buttondevteam.alisolarflare.aliarrowtrail; + +import org.bukkit.Particle; +import org.bukkit.entity.Arrow; +import org.bukkit.scheduler.BukkitRunnable; + +import buttondevteam.MainPlugin; + +public class AliArrowTask extends BukkitRunnable{ + MainPlugin plugin; + Arrow arrow; + + + + public AliArrowTask(MainPlugin plugin, Arrow arrow){ + this.plugin = plugin; + this.arrow = arrow; + } + + @Override + public void run() { + arrow.getWorld().spawnParticle(Particle.VILLAGER_HAPPY, arrow.getLocation(), 1); + if (arrow.isOnGround() || arrow.isDead()){ + this.cancel(); + } + + + } + +} From fda428b6d21344991a74e44b67fe4c43790ebd73 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Fri, 24 Jun 2016 14:30:20 +0200 Subject: [PATCH 4/7] Added Gitignore --- .gitignore | 224 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 224 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..77d9874 --- /dev/null +++ b/.gitignore @@ -0,0 +1,224 @@ +################# +## Eclipse +################# + +*.pydevproject +.project +.metadata/ +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +target/ +.project + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# CDT-specific +.cproject + +# PDT-specific +.buildpath + + +################# +## Visual Studio +################# + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results + +[Dd]ebug/ +[Rr]elease/ +x64/ +build/ +[Bb]in/ +[Oo]bj/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.log +*.scc + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +*.ncrunch* +.*crunch*.local.xml + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.Publish.xml +*.pubxml +*.publishproj + +# NuGet Packages Directory +## TODO: If you have NuGet Package Restore enabled, uncomment the next line +#packages/ + +# Windows Azure Build Output +csx +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.[Pp]ublish.xml +*.pfx +*.publishsettings + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +App_Data/*.mdf +App_Data/*.ldf + +############# +## Windows detritus +############# + +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Mac crap +.DS_Store + + +############# +## Python +############# + +*.py[cod] + +# Packages +*.egg +*.egg-info +dist/ +build/ +eggs/ +parts/ +var/ +sdist/ +develop-eggs/ +.installed.cfg + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox + +#Translations +*.mo + +#Mr Developer +.mr.developer.cfg +.metadata/* +TheButtonAutoFlair/out/artifacts/Autoflair/Autoflair.jar +*.iml +*.name +.idea/compiler.xml +*.xml From 08f8d4f1d8ec53f58ee14d60b3f4eda1c656746a Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Fri, 24 Jun 2016 14:33:16 +0200 Subject: [PATCH 5/7] Removed ignored files --- .classpath | 8 -------- .project | 17 ----------------- .settings/org.eclipse.jdt.core.prefs | 11 ----------- bin/buttondevteam/MainPlugin.class | Bin 2023 -> 0 bytes .../aliarrowtrail/AliArrowListener.class | Bin 2111 -> 0 bytes .../aliarrowtrail/AliArrowTask.class | Bin 1092 -> 0 bytes .../project2/tasks/ExampleClass.class | Bin 347 -> 0 bytes 7 files changed, 36 deletions(-) delete mode 100644 .classpath delete mode 100644 .project delete mode 100644 .settings/org.eclipse.jdt.core.prefs delete mode 100644 bin/buttondevteam/MainPlugin.class delete mode 100644 bin/buttondevteam/alisolarflare/aliarrowtrail/AliArrowListener.class delete mode 100644 bin/buttondevteam/alisolarflare/aliarrowtrail/AliArrowTask.class delete mode 100644 bin/buttondevteam/alisolarflare/project2/tasks/ExampleClass.class diff --git a/.classpath b/.classpath deleted file mode 100644 index f289777..0000000 --- a/.classpath +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/.project b/.project deleted file mode 100644 index df60d30..0000000 --- a/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - ButtonLaboratoryPlugin - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 7341ab1..0000000 --- a/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,11 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/bin/buttondevteam/MainPlugin.class b/bin/buttondevteam/MainPlugin.class deleted file mode 100644 index 95f81c4c9fbb9302859c510a4a01d40b2a33c381..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2023 zcmb7FYjfK~6g}&>k)w(v4Wv!_vO^!S9U2A7qtu~onxsH+9yG0K3KZ7%+Syi?JS*Ax zUCa=d&>4OJKdQrB$+4x94CRBh(tVu0_uPm7e)H#F0B&N>K#F0e+6e;Bt&46Tc+1}4 z(%p7CP3am)Gt7CaX;(WhU&_F4hhqB$?{fPgJt8v(qg`)2kd9y|l>coWS*;1brer&i zo~unu45N)?~Y4C$k*GM>BcY9A8}XDyt=48wR+1Ti)k7V_^-+ZX|zw{Qxh z8uFrrOSsH1MvxI>BqOvF`PA+?3kEU;483Hch>r{`P+8x;*}@Gh5rLJFGMXU z^)pLC&S6Pc?qi1OxJ#5!sZhz_CaH3J+|N~oaC3gZRUqoQd}YzZ96qz~IliE_;O(|> z>kK!JLy5(bV2V<@iZ3nP*4dkseMKmrdOU+=hEyTE;f{s7TAc~J$k)UQRt?;z**mFH z7S?n|Y3VjRUFioFzShk-sYFu`f?D-jE$-HRt^C%)L#-S?Qm%J}8~7QN6NyKy7$#0F zGw?mb?PQ1lpK&v>jU8Q`#|)S9Cyz>@qC2xtE{DkKQer7lmYt=|;;TQZ$oKab#CA7g^9sr*Fgj0>1uZXnzDHj+olHxMuQ2{wXf{dD(NJjO483bp?KXw?>7;QT zI3FS%>h_Dp9;Od4tIrDu$QFM`_BG~q>74E1${#4af<5&~51&SoTl6+nqDK#3^>B~8 z*6H`n@owLpqIo2uG~Wv$g+${p_=xLl%#r>^`drhj_8lMfgUl6QV|$mX_2>Xk nh_oLL@goC8{-k&aK7t|cc-RQn2w@&sP zpK&T3bjI=Y*1krj9i;drscn_wu~YInVp&U%∋5MX%n83tFF^U3zQ|(7e z?mE(Q3xOxYZ}=!}$uJDQi$dvoPR4UH+RD0xNck$X5Ep2DD)*)1Nq@^(+IXt+k%fAJ z&LG@!Hi|ntZse$a}IyBj6K(jzyYGADaL}tUnIf0g}>#N1$?uH6i<%XvO+Ok1jdTTOtwSDq39&Nh? zfypz~-h>dsZVUY7Fwi`>p32IipWha^mCC-t2RU)01Lv&stR^e1`|4aN(q&hzxdoRf zGrk{0GI9f-AbVfUX9Dj_f74T8I*Be^wQxmX4L*Us)Ie3Sv#`^R z=)*M&{Q_4jYn}D8aUC}VET&#P*yAD8PFyOhJ<<($8z~F#)J$CVvoU}{fkb9yWoccY zrv}=xvq3v-V+5lDNn*)u2SKDlfuZU?_f8M7P;o}Npcv*A>Ai_t7Ty)O{JI-#Q(*6v zn9QkgUsq_au26cNK8JB$SxT!BcQ9e$1A+4uJeIs{q%m2_w(Q9RoozIgEh{eMKl^=N?P*o=2AV-9 z;8a00!|#N_+F~b><=a;K0+$0hViIN~b3jzpsW>D0*reUiqCpGX`5!~gv@0Me)%J?3 zcG@tjH02_h-&v4*CnGdj(#IS}AA@+O4TP7Ie^j%Eeop2(J_$Z;dO+&~rI*Em`j(aH?KrII%;;36%?nXE*PcJr-+@9Jq?=Fa@$ zHZ6Tsq)A-Wtblfb*^e}!YF8)N8UOfRL|j|E&~+;u$04Lsp^)a_5P9X4~?zQig%H_gvs4eKOl zjGkZM0jXOcbq|>#&I|%y;cI?<#OOXGT3?{oLf;ECTgd#)nlTH)A`UJqn#{-ai{Z&X D&~rl& diff --git a/bin/buttondevteam/alisolarflare/aliarrowtrail/AliArrowTask.class b/bin/buttondevteam/alisolarflare/aliarrowtrail/AliArrowTask.class deleted file mode 100644 index 2ced0bff3e67122c8b016eb9f3e4cff94e4d03e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1092 zcma)5=}r?-6#i~oId9WERjz(YMfu z27mYfK9up?Dd=D%@yDE;{rk>6XMX(r_8mY86$1%|rDhleu4;+>K=56QJJNR@?!Bf@ zXp4KEdk}bBI#$(@Rc&o@zilAJFz0&PRx@n3WnlUCj%bCB@T}#?u^uYLn~q>e?>XVN zR1A}~(^zXpT+yU1o4A6j3_XOa#}A}Sn;bh0eG;IG z0_F`A={;lU5i=7DxW>@y@9_h50>QAD|0i_Z`MdjSp`j^RCa&WKLst6F)r#kaiXMaZ z_)-T;CT{6qTKbO!Z)ItrOD68%fzZIP|>`ioy-7UvI1SvW-QW0W{Vau6vUCOJT5 zIrNcdm^?F`GK^r9ES;fYSfptn4KqgB9hkRNuVdxnXXK7B&hQE6JNhNM@FV0?=$MNP zABaShc9Y>fjN%vE)_juq!)Fvz)V+jpdZy`!kJ;&e%%@EGDI`is^4=vqfqTCIJB|dU diff --git a/bin/buttondevteam/alisolarflare/project2/tasks/ExampleClass.class b/bin/buttondevteam/alisolarflare/project2/tasks/ExampleClass.class deleted file mode 100644 index 7e9d7123bcbdb8a7a29677492665a22a4e9907c3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 347 zcmbV|u};G<5QhItlLkVeg*RXW1}wpV5QwFMDS`pi{gN7RapEd=Dqf2TiGc^;p%CYa zftlg{^Z(yj{^YOkk52%nnB+(ZXH_49Yv+0uG&hQ^@y>GhD5cf1a|>OE6BXFMcy;~C z&C=?rW$$yOgvo+etSq-r>aL2LgyE%WO}HWq4i0C8bn521zyO;gWEc|0rD^qT-&DGL z;L2*kUg>JKGww|EzhN4ljVGL!|HQi>6!)(0YJFqkBfEduk0UnrA&~MDkWLX!G#97V g9>|W~vGFEBfN6s2OnovPyhe` From f2c71002633047857ed76bf07fc6068dd9c2859e Mon Sep 17 00:00:00 2001 From: AliLaptop Date: Fri, 24 Jun 2016 20:34:01 -0400 Subject: [PATCH 6/7] IIE War System and Discord Plugin Initialization --- ButtonLaboratoryPlugin.jar | Bin 4752 -> 9147 bytes .../DiscordPlugin/DiscordPlugin.class | Bin 0 -> 348 bytes .../helpers/DiscordBotLink.class | Bin 0 -> 675 bytes .../listeners/PrivateMessageListener.class | Bin 0 -> 395 bytes .../IieWarSystem/IieWarSystem.class | Bin 0 -> 343 bytes .../IieWarSystem/commands/ToggleWar.class | Bin 0 -> 352 bytes .../IieWarSystem/helpers/WarListManager.class | Bin 0 -> 658 bytes .../listeners/CreativeListener.class | Bin 0 -> 375 bytes .../listeners/ObsidianListener.class | Bin 0 -> 375 bytes .../listeners/SpawnEggListener.class | Bin 0 -> 375 bytes .../listeners/TeleportListener.class | Bin 0 -> 375 bytes .../DiscordPlugin/DiscordPlugin.java | 5 +++++ .../DiscordPlugin/helpers/DiscordBotLink.java | 16 ++++++++++++++++ .../listeners/PrivateMessageListener.java | 5 +++++ .../IieWarSystem/IieWarSystem.java | 5 +++++ .../IieWarSystem/commands/ToggleWar.java | 5 +++++ .../IieWarSystem/helpers/WarListManager.java | 16 ++++++++++++++++ .../listeners/CreativeListener.java | 5 +++++ .../listeners/ObsidianListener.java | 5 +++++ .../listeners/SpawnEggListener.java | 5 +++++ .../listeners/TeleportListener.java | 5 +++++ 21 files changed, 72 insertions(+) create mode 100644 bin/buttondevteam/alisolarflare/DiscordPlugin/DiscordPlugin.class create mode 100644 bin/buttondevteam/alisolarflare/DiscordPlugin/helpers/DiscordBotLink.class create mode 100644 bin/buttondevteam/alisolarflare/DiscordPlugin/listeners/PrivateMessageListener.class create mode 100644 bin/buttondevteam/alisolarflare/IieWarSystem/IieWarSystem.class create mode 100644 bin/buttondevteam/alisolarflare/IieWarSystem/commands/ToggleWar.class create mode 100644 bin/buttondevteam/alisolarflare/IieWarSystem/helpers/WarListManager.class create mode 100644 bin/buttondevteam/alisolarflare/IieWarSystem/listeners/CreativeListener.class create mode 100644 bin/buttondevteam/alisolarflare/IieWarSystem/listeners/ObsidianListener.class create mode 100644 bin/buttondevteam/alisolarflare/IieWarSystem/listeners/SpawnEggListener.class create mode 100644 bin/buttondevteam/alisolarflare/IieWarSystem/listeners/TeleportListener.class create mode 100644 src/buttondevteam/alisolarflare/DiscordPlugin/DiscordPlugin.java create mode 100644 src/buttondevteam/alisolarflare/DiscordPlugin/helpers/DiscordBotLink.java create mode 100644 src/buttondevteam/alisolarflare/DiscordPlugin/listeners/PrivateMessageListener.java create mode 100644 src/buttondevteam/alisolarflare/IieWarSystem/IieWarSystem.java create mode 100644 src/buttondevteam/alisolarflare/IieWarSystem/commands/ToggleWar.java create mode 100644 src/buttondevteam/alisolarflare/IieWarSystem/helpers/WarListManager.java create mode 100644 src/buttondevteam/alisolarflare/IieWarSystem/listeners/CreativeListener.java create mode 100644 src/buttondevteam/alisolarflare/IieWarSystem/listeners/ObsidianListener.java create mode 100644 src/buttondevteam/alisolarflare/IieWarSystem/listeners/SpawnEggListener.java create mode 100644 src/buttondevteam/alisolarflare/IieWarSystem/listeners/TeleportListener.java diff --git a/ButtonLaboratoryPlugin.jar b/ButtonLaboratoryPlugin.jar index e1acc3b9c2a2dc5a02da9de91cbfa21e5aba4d9d..eeac5840948599b0c0d904e315da6f05679904f9 100644 GIT binary patch delta 4933 zcmb7|2{=^y8^@1f7(?R(@;GJ>aE@oI?H;ktO-PLYqEE2@*%slv{C#x^ccVlEl0qEk-qiwN=Re|EIRsx3*%Gb| zFT*_*Oo$9-Ml6s|R)QRZ005j|003HIUHX)pe;;}PsfA1QAIwg>V!d3w@f++8;(UxT zp6=`L(qrGEY7W3&x$S%wewxdl0e23*FnH9NciY1iF4Yf3uA#NAos*sc3Z_z`!GKt! z`V;+Tm7zhY+4-hbCFO53%L^R9tLAO@YX&tN5?aqh;V%aNadsy$EAB%~J+hR0Px~o< z>HIvi7N${Up>L@R&!Qs(q4yi_tB&GD4YKQ6Jd|qN6sJuixu;^nii)%y%_`asVMAHw zrP`|9VB9fk-SRrK^*oo@d-6~vB3_bT1I4ZT4%;wSEL8<1H3QL8_D1Eoohllt!H0tg z%2rZ1h1yDTP4gw9TnJm{%zb5&lLI-LaPFE$Baw*^Hg$2e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p=@{Bu}zC2w0T%EQAafsx`B3ML|Y$r*Ec+^ z;sQmHcKFcSl%t#_gQ<$v^oko6<=0)h;g43DI=#@@Z#wCNEL3Sndg;wJ`nyqv_90X! zPit5;=pK>>p+3Zj*2-_;>uL3CowYW2Neu(dqp+(@U#Lb$+zwf|~1_hZU)r zOU#N+bc69$Hjq}B>P=|-tih%#vzC*8mk>hvjTX$|+ zb!zXTt;6){lbpX(-@230s#9w@ZB?RIKg#tx^{p#At-5VWm%hsV;e=5}0MMok=LhJx z7jsk8RYK5Z^UIt%-QR0R_SnG2H!U;-pTm?%6(7y#DGfEU{5w3!i@ RnYx^t^7n>v)-6K4`VaE5h*bzwA*Jrk7t3&WF`OaH}!lS0wRqs zK6$x#R}TNnjW^a5u212G=0KV4r@`@XSC0EtvCFYST6|$*HG!Qxpy| zWUYH3<6?R({dLF1Ne5n-s~QFKif68AS|NAvKilJb;vBmQ^6Wm;zWd~CAK=Z-aqH{{ z-qQ>W4E>A@3<&SX=3n;!3c>*wkX4XVnx2`bH~E*OwdAyCQ&M&U7ED0UHGJrg{xD|2&z`X*Z_t21daPfk>p07mU( zU0E5X6y}Mw3X`*Cd4Q2T`LCi3Q#kwNLT`v`MOX-AmGFTSn-feL0p6@^AdQ?rxEbiq4&! z(v{)<^Y@=l{_XFd&o2NMnB_2#uE ze@gn9Z1Su2jSE!#R6|9eJ(CORYZ*`c+i*sa6R4i5Sh+KS^4|VXpmJ$O2wFbRLp@l%XbpPGBObhtjGn&&7(Hszjh4{CCb1Zjg|>H<~VzYwjIcIp#TgXkP!jBR> zj@dUD*y7muDd2mXGlAw3KK#yE`wLcAK(Pc{>%n><*j^7d3c;QAV5<=9u(J}nUrO+P A=>Px# literal 0 HcmV?d00001 diff --git a/bin/buttondevteam/alisolarflare/DiscordPlugin/listeners/PrivateMessageListener.class b/bin/buttondevteam/alisolarflare/DiscordPlugin/listeners/PrivateMessageListener.class new file mode 100644 index 0000000000000000000000000000000000000000..c457e1096d77b5de85567d26e5c32f7842b5a441 GIT binary patch literal 395 zcmb_Yu};G<5PeRQ2121#S0*-Kzyl+Q1;l^?R4VH3Bu8-N+LG<$znG91_y9f%aj7~o zGTgg+?{vC*_xh319Erd~)y3#+LwzK*k;>@cjPkD>B=2;noo^PVYqgc!ie$+L zx$wGIksc`o)l#|BbEE>Zwd$2L%C_>kT2mbb#@E{Fcq1@6JzEK+x2~ZABkWI*VJt8$ zwWX(SQ;~mBl_7z7>1t(G%Ikse#5BI?AW)Y7ckz`#v2>lU>0S?ekN-AyF?hlW*a3eI ooW*cCW6n%&Igp)yVDFuU1O?;J1`ixCPPTQ%`H-2w5o3bsFHiAmZU6uP literal 0 HcmV?d00001 diff --git a/bin/buttondevteam/alisolarflare/IieWarSystem/IieWarSystem.class b/bin/buttondevteam/alisolarflare/IieWarSystem/IieWarSystem.class new file mode 100644 index 0000000000000000000000000000000000000000..bc28983a80dac77d52e838320edceeedaaedc303 GIT binary patch literal 343 zcmbV|u};G<5QhItlLkVeEpNaE40u3@0mOoYgcQ-CsLW1!fGa1K9H$bG#e~Gb1MpCY zbHxBF!~N&)Kb`#BpI`4E08TNKdZzBJgX?Qjr;k^7;xC=rtcfGIq#>6Y8zn^guL*oDvQGNl^DMk~`h17I!oHOaWLWDih1mkZ)r&Qoh98&cK{ zFuNcWe8E&$`dgU)QCP+*zw6pPV4q;0NIp5c&}(s`tWC4CCtXDaRn`csP3qS_0s9z* A=l}o! literal 0 HcmV?d00001 diff --git a/bin/buttondevteam/alisolarflare/IieWarSystem/listeners/CreativeListener.class b/bin/buttondevteam/alisolarflare/IieWarSystem/listeners/CreativeListener.class new file mode 100644 index 0000000000000000000000000000000000000000..57f400b5a5b8a17638e8327e186f15f1b54832c3 GIT binary patch literal 375 zcmb_YyH3MU3_VVh2120~Qa^wV7`Ou?h$R9EDT1L@nVr^WgXva$} zt~IF>_O_R7r^E;evkmubO0HkbW4@8X6UNuJw*H1NIz3wv!n9dSf)Vy7h%hEhGh53; zSLNcCoR>m4&YFVD6+1idof!I8+Y)ZGf3SK*NES`!3c0hx!uj7@E`~F30yV8)f@T`b lD#pspmIKlG2ln1o2#_caZRo&(;$&M#nh%u`juZn-e*qmKVle;! literal 0 HcmV?d00001 diff --git a/bin/buttondevteam/alisolarflare/IieWarSystem/listeners/ObsidianListener.class b/bin/buttondevteam/alisolarflare/IieWarSystem/listeners/ObsidianListener.class new file mode 100644 index 0000000000000000000000000000000000000000..b738e56e2a4922b974d31402779ef891e2ef1050 GIT binary patch literal 375 zcmb_YF;2rk5S(@F7)&4$5)YsQ3a+38(L^92Sx^LpdTlRok$slV=SVz@3WJO zN<~evvo|wZ-RyqjKrzDf7YM*&6951J literal 0 HcmV?d00001 diff --git a/bin/buttondevteam/alisolarflare/IieWarSystem/listeners/SpawnEggListener.class b/bin/buttondevteam/alisolarflare/IieWarSystem/listeners/SpawnEggListener.class new file mode 100644 index 0000000000000000000000000000000000000000..3ddb14530a6861c97ef915418a7372a6659b0e88 GIT binary patch literal 375 zcmb_Yu};H441G?M2120~5+A?@4BWs7VyTLR6wx85%$L-JtC9=4T#EQCCL{(vfR92r zRVU^Se)fBojgoMdTueGYQE!8|XB@E8a7ld%yEIGjd`y)gc62_^q z{Ls}oyGNZ@OgK)PLRSmzOwYGs=wD1rn58?gdQC{OrgH_~nSSBP|64BmGjIwqEnk9U n>dgwq!qkQX(ZwhBK12wR2=;Brz=7asQ%8~yg%OSf1C0Lw?q6Z- literal 0 HcmV?d00001 diff --git a/bin/buttondevteam/alisolarflare/IieWarSystem/listeners/TeleportListener.class b/bin/buttondevteam/alisolarflare/IieWarSystem/listeners/TeleportListener.class new file mode 100644 index 0000000000000000000000000000000000000000..ded8d2531502862fa959001954781e7f447d5f0d GIT binary patch literal 375 zcmb_Yu};H441G?M2120~5+A?@4BWs7VyQqvieP9}=1Xees>>a^Tq^NdOh^oT03U^L zs!q%de)fBoB`F)iVy{0FO-gkt8qQ1h+n7ask+<-9)w#}L! Date: Sat, 25 Jun 2016 20:49:33 -0400 Subject: [PATCH 7/7] Refactored Package and Class Names --- src/buttondevteam/MainPlugin.java | 25 ++++++++++-------- .../discordbot/DiscordSubPlugin.java | 26 +++++++++++++++++++ .../discordbot/commands/Discord.java | 5 ++++ .../discordbot/helpers/DiscordBotLink.java | 16 ++++++++++++ .../listeners/PrivateMessageListener.java | 5 ++++ .../alisolarflare/iiewar/IieWarSubPlugin.java | 25 ++++++++++++++++++ .../iiewar/commands/ToggleWar.java | 5 ++++ .../iiewar/helpers/WarListManager.java | 16 ++++++++++++ .../iiewar/listeners/CreativeListener.java | 5 ++++ .../iiewar/listeners/ObsidianListener.java | 5 ++++ .../iiewar/listeners/SpawnEggListener.java | 5 ++++ .../iiewar/listeners/TeleportListener.java | 5 ++++ 12 files changed, 132 insertions(+), 11 deletions(-) create mode 100644 src/buttondevteam/alisolarflare/discordbot/DiscordSubPlugin.java create mode 100644 src/buttondevteam/alisolarflare/discordbot/commands/Discord.java create mode 100644 src/buttondevteam/alisolarflare/discordbot/helpers/DiscordBotLink.java create mode 100644 src/buttondevteam/alisolarflare/discordbot/listeners/PrivateMessageListener.java create mode 100644 src/buttondevteam/alisolarflare/iiewar/IieWarSubPlugin.java create mode 100644 src/buttondevteam/alisolarflare/iiewar/commands/ToggleWar.java create mode 100644 src/buttondevteam/alisolarflare/iiewar/helpers/WarListManager.java create mode 100644 src/buttondevteam/alisolarflare/iiewar/listeners/CreativeListener.java create mode 100644 src/buttondevteam/alisolarflare/iiewar/listeners/ObsidianListener.java create mode 100644 src/buttondevteam/alisolarflare/iiewar/listeners/SpawnEggListener.java create mode 100644 src/buttondevteam/alisolarflare/iiewar/listeners/TeleportListener.java diff --git a/src/buttondevteam/MainPlugin.java b/src/buttondevteam/MainPlugin.java index 155ea56..39b8325 100644 --- a/src/buttondevteam/MainPlugin.java +++ b/src/buttondevteam/MainPlugin.java @@ -5,19 +5,21 @@ import java.util.logging.Logger; import org.bukkit.plugin.PluginDescriptionFile; import org.bukkit.plugin.java.JavaPlugin; -import buttondevteam.alisolarflare.aliarrowtrail.AliArrowListener; +import buttondevteam.alisolarflare.discordbot.DiscordSubPlugin; +import buttondevteam.alisolarflare.iiewar.IieWarSubPlugin; public class MainPlugin extends JavaPlugin{ private PluginDescriptionFile pdfFile; private Logger logger; - private AliArrowListener aliArrowListener; - + private DiscordSubPlugin discordSubPlugin; + private IieWarSubPlugin iieWarSubPlugin; public void onEnable(){ //Logs "Plugin Enabled", registers commands pdfFile = getDescription(); logger = getLogger(); logger.info(pdfFile.getName() + " has been started (V." + pdfFile.getVersion()+ ")."); - + + registerSubPlugins(); registerCommands(); registerEvents(); @@ -26,16 +28,17 @@ public class MainPlugin extends JavaPlugin{ public void onDisable(){ logger.info(pdfFile.getName() + " has been Disabled (V." + pdfFile.getVersion()+ ")."); } + public void registerSubPlugins(){ + discordSubPlugin = new DiscordSubPlugin(this); + iieWarSubPlugin = new IieWarSubPlugin(this); + + discordSubPlugin.register(); + iieWarSubPlugin.register(); + } public void registerCommands(){ //Example command: getCommand("createShrine").setExecutor(new CreateShrine(this)); } - public void registerEvents(){ - //Example INIT: midnightListener = new MidnightListener(this); - //Example Event: getServer().getPluginManager().registerEvents(midnightListener, this); - - //INIT - aliArrowListener = new AliArrowListener(this); + public void registerEvents(){ //EVENTS - getServer().getPluginManager().registerEvents(aliArrowListener, this); } } diff --git a/src/buttondevteam/alisolarflare/discordbot/DiscordSubPlugin.java b/src/buttondevteam/alisolarflare/discordbot/DiscordSubPlugin.java new file mode 100644 index 0000000..39ad50b --- /dev/null +++ b/src/buttondevteam/alisolarflare/discordbot/DiscordSubPlugin.java @@ -0,0 +1,26 @@ +package buttondevteam.alisolarflare.discordbot; + +import java.util.logging.Level; + +import buttondevteam.MainPlugin; + +public class DiscordSubPlugin { + private MainPlugin plugin; + + public DiscordSubPlugin(MainPlugin plugin){ + this.plugin = plugin; + } + public void register(){ + registerEvents(); + registerCommands(); + plugin.getLogger().log(Level.INFO, "Discord Sub Plugin Registered!"); + } + private void registerEvents() { + + } + + private void registerCommands() { + // TODO Auto-generated method stub + + } +} diff --git a/src/buttondevteam/alisolarflare/discordbot/commands/Discord.java b/src/buttondevteam/alisolarflare/discordbot/commands/Discord.java new file mode 100644 index 0000000..45378c0 --- /dev/null +++ b/src/buttondevteam/alisolarflare/discordbot/commands/Discord.java @@ -0,0 +1,5 @@ +package buttondevteam.alisolarflare.discordbot.commands; + +public class Discord { + +} diff --git a/src/buttondevteam/alisolarflare/discordbot/helpers/DiscordBotLink.java b/src/buttondevteam/alisolarflare/discordbot/helpers/DiscordBotLink.java new file mode 100644 index 0000000..0970db3 --- /dev/null +++ b/src/buttondevteam/alisolarflare/discordbot/helpers/DiscordBotLink.java @@ -0,0 +1,16 @@ +package buttondevteam.alisolarflare.discordbot.helpers; + +public class DiscordBotLink { + public void setRoleAsMinecraft(){ + + } + public void unsetRoleAsMinecraft(){ + + } + public void setRoleAsFlair(){ + + } + public void unsetRoleAsFlair(){ + + } +} diff --git a/src/buttondevteam/alisolarflare/discordbot/listeners/PrivateMessageListener.java b/src/buttondevteam/alisolarflare/discordbot/listeners/PrivateMessageListener.java new file mode 100644 index 0000000..ba4e615 --- /dev/null +++ b/src/buttondevteam/alisolarflare/discordbot/listeners/PrivateMessageListener.java @@ -0,0 +1,5 @@ +package buttondevteam.alisolarflare.discordbot.listeners; + +public class PrivateMessageListener { + +} diff --git a/src/buttondevteam/alisolarflare/iiewar/IieWarSubPlugin.java b/src/buttondevteam/alisolarflare/iiewar/IieWarSubPlugin.java new file mode 100644 index 0000000..382d1c8 --- /dev/null +++ b/src/buttondevteam/alisolarflare/iiewar/IieWarSubPlugin.java @@ -0,0 +1,25 @@ +package buttondevteam.alisolarflare.iiewar; + +import java.util.logging.Level; + +import buttondevteam.MainPlugin; + +public class IieWarSubPlugin { + private MainPlugin plugin; + public IieWarSubPlugin(MainPlugin plugin){ + this.plugin = plugin; + } + public void register(){ + registerEvents(); + registerCommands(); + plugin.getLogger().log(Level.INFO, "Discord Sub Plugin Registered!"); + } + private void registerEvents() { + + } + + private void registerCommands() { + // TODO Auto-generated method stub + + } +} diff --git a/src/buttondevteam/alisolarflare/iiewar/commands/ToggleWar.java b/src/buttondevteam/alisolarflare/iiewar/commands/ToggleWar.java new file mode 100644 index 0000000..206612e --- /dev/null +++ b/src/buttondevteam/alisolarflare/iiewar/commands/ToggleWar.java @@ -0,0 +1,5 @@ +package buttondevteam.alisolarflare.iiewar.commands; + +public class ToggleWar { + +} diff --git a/src/buttondevteam/alisolarflare/iiewar/helpers/WarListManager.java b/src/buttondevteam/alisolarflare/iiewar/helpers/WarListManager.java new file mode 100644 index 0000000..d7d30ec --- /dev/null +++ b/src/buttondevteam/alisolarflare/iiewar/helpers/WarListManager.java @@ -0,0 +1,16 @@ +package buttondevteam.alisolarflare.iiewar.helpers; + +import org.bukkit.entity.Player; + +public class WarListManager { + public void createWarList(){ + //stub + } + public void LoadWarList(){ + //stub + } + public boolean isOnList(Player player){ + return false; + //stub + } +} \ No newline at end of file diff --git a/src/buttondevteam/alisolarflare/iiewar/listeners/CreativeListener.java b/src/buttondevteam/alisolarflare/iiewar/listeners/CreativeListener.java new file mode 100644 index 0000000..80b97cb --- /dev/null +++ b/src/buttondevteam/alisolarflare/iiewar/listeners/CreativeListener.java @@ -0,0 +1,5 @@ +package buttondevteam.alisolarflare.iiewar.listeners; + +public class CreativeListener { + +} diff --git a/src/buttondevteam/alisolarflare/iiewar/listeners/ObsidianListener.java b/src/buttondevteam/alisolarflare/iiewar/listeners/ObsidianListener.java new file mode 100644 index 0000000..1671c8e --- /dev/null +++ b/src/buttondevteam/alisolarflare/iiewar/listeners/ObsidianListener.java @@ -0,0 +1,5 @@ +package buttondevteam.alisolarflare.iiewar.listeners; + +public class ObsidianListener { + +} diff --git a/src/buttondevteam/alisolarflare/iiewar/listeners/SpawnEggListener.java b/src/buttondevteam/alisolarflare/iiewar/listeners/SpawnEggListener.java new file mode 100644 index 0000000..5ae5b1f --- /dev/null +++ b/src/buttondevteam/alisolarflare/iiewar/listeners/SpawnEggListener.java @@ -0,0 +1,5 @@ +package buttondevteam.alisolarflare.iiewar.listeners; + +public class SpawnEggListener { + +} diff --git a/src/buttondevteam/alisolarflare/iiewar/listeners/TeleportListener.java b/src/buttondevteam/alisolarflare/iiewar/listeners/TeleportListener.java new file mode 100644 index 0000000..1a6c102 --- /dev/null +++ b/src/buttondevteam/alisolarflare/iiewar/listeners/TeleportListener.java @@ -0,0 +1,5 @@ +package buttondevteam.alisolarflare.iiewar.listeners; + +public class TeleportListener { + +}