From 5dd7716e886b5df4bcc3f3a5402f96f7d3e4e81f Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Sun, 29 Oct 2017 01:06:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 + config.yml | 3 + plugin.yml | 9 + resources/config.yml | 3 + resources/ghost_player_data.dat | Bin 0 -> 1373 bytes src/Ad5001/Spooky/Main.php | 82 +++++ src/Ad5001/Spooky/entity/Ghost.php | 302 ++++++++++++++++++ .../Spooky/sounds/TheReturnMusicPlay.php | 15 + src/Ad5001/Spooky/tasks/TickTask.php | 61 ++++ timing | 26 ++ 10 files changed, 508 insertions(+) create mode 100644 README.md create mode 100644 config.yml create mode 100644 plugin.yml create mode 100644 resources/config.yml create mode 100644 resources/ghost_player_data.dat create mode 100644 src/Ad5001/Spooky/Main.php create mode 100644 src/Ad5001/Spooky/entity/Ghost.php create mode 100644 src/Ad5001/Spooky/sounds/TheReturnMusicPlay.php create mode 100644 src/Ad5001/Spooky/tasks/TickTask.php create mode 100644 timing diff --git a/README.md b/README.md new file mode 100644 index 0000000..482cdba --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Spooky +Halloween plugin. + + +Music used here: NIVIRO - The Return +Track's link: https://soundcloud.com/djniviro/thereturn +Niviro's website: https://www.djniviro.com \ No newline at end of file diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..22d7e6e --- /dev/null +++ b/config.yml @@ -0,0 +1,3 @@ +--- +# This is the default config generated with ImagicalPlugCreator. (C) ImagicalPlugCreator - Ad5001 2016 +... \ No newline at end of file diff --git a/plugin.yml b/plugin.yml new file mode 100644 index 0000000..eca88ed --- /dev/null +++ b/plugin.yml @@ -0,0 +1,9 @@ +--- +name: Spooky +author: Ad5001 +version: 1.0 +api: [3.0.0-ALPHA9] +main: Ad5001\Spooky\Main +commands: [] +permissions: [] +... \ No newline at end of file diff --git a/resources/config.yml b/resources/config.yml new file mode 100644 index 0000000..22d7e6e --- /dev/null +++ b/resources/config.yml @@ -0,0 +1,3 @@ +--- +# This is the default config generated with ImagicalPlugCreator. (C) ImagicalPlugCreator - Ad5001 2016 +... \ No newline at end of file diff --git a/resources/ghost_player_data.dat b/resources/ghost_player_data.dat new file mode 100644 index 0000000000000000000000000000000000000000..c21acbbad987a231b1af4b2a2f3227c2aa9e3694 GIT binary patch literal 1373 zcmV-j1)};NiwFP!000001MQs6ZyQw*z{mARZ8vbC{R6lmAxrt7ZaLwEl7PfVgd^4M zrP|nQyz1I(*6X(64(HwwH*SavH|~fd$q6AvigM{6k_0~|6DFg1Z`WBHZ<2k|llSfW z*!j)O``new06DnRcKkuG=~_E>3n24seXa9e4$7`YZ$AC;_k|K%gz;|HzNmV_`=D>s=>) zDbhKB*VEmf0bi`h=QrIPuN(V#l-e=PA4%Y+Hl=*jztOM91|#zGF@XC=*!Ynoe#t(Z zU8e)n*btY$J&NT!<@2<O?`x*HAL8uiG>`iLw>@o>>w?-o ziae6+w9X{{PwVOQVfyxt^P>;w+UIshZW^iWDWBA)G)`RB|8@E>SrpUNn$38XQc`aPfH zCK-%13GVYa{`0ZU#DveIYe?>6RJYWxqw;fK!8G@0URLVk z+)mPb#pgNQxJYft*N}W1=H(~hzii+fy1vP6Wa|GCOHza6|I)Xprf=1B{dyk!d_K8E z6SF>#36($2{^+XnQ$JGkZOVVM_^JO#;WvFR6lMP(LEf20)A@knm$;-oi)p=OT7M;h zUpfmw|L5lelto(KPMS^vzv+B{uMhcNVbc8{*I^R)P5TvT?J2EOC*A)issBr|D&NQb zCf_qk`{k(n-=x}~+6CE7X9ZFBlUJetQ+beEl2R*8 zAN&{Q&d=8+C?DNJ@p*#g>&}a$w6G?eD?gv#r1Jqx^D~hty+56IADDNz()>lpsed(q z_nS)(?dpBYsyx_UUaEXhU3pOXaJ#xvd1$q&E7j#?yS=#d?Bn4e@VcW)<$B+G*}L$c f4p}ISZ#DojMNB+VGGgMX%7K3YPX7b^T|xi=Z-4Oa literal 0 HcmV?d00001 diff --git a/src/Ad5001/Spooky/Main.php b/src/Ad5001/Spooky/Main.php new file mode 100644 index 0000000..b8c7cbe --- /dev/null +++ b/src/Ad5001/Spooky/Main.php @@ -0,0 +1,82 @@ +getServer()->getScheduler()->schedulerTask(new Task1($this),