Commit Graph

454 Commits

Author SHA1 Message Date
libraryaddict
4beeb63034 Convert all sounds to strings so non-existing sounds do not stuff the plugin 2013-11-23 03:15:26 +13:00
libraryaddict
1818f5f1e6 Read desc
Convert the disguisetype to use entitytypes dymanically set when the
disguisetypes are loaded, so if the entitytype doesn't exist. The plugin
will still load.
2013-11-23 03:15:07 +13:00
libraryaddict
65077f1d7b Fix for a error being thrown when there is no error 2013-11-20 00:03:11 +13:00
libraryaddict
06b9734c3e Fixed the error with a field being fetched in entity class 2013-11-19 23:38:34 +13:00
libraryaddict
5c41c04dd8 Read desc
Changed minecarts to appear lower to the ground
Changed the player constructor so its compatible with 1.7
Changed the vechile spawn to use the constructor cos YOLO
2013-11-19 23:36:25 +13:00
libraryaddict
2f7f5ef43c Fixed errors and errors with getPerverts for velocity packets 2013-11-19 22:53:56 +13:00
libraryaddict
95b6c40b7a Fixed the wrong disguise option being returned as the bad permission 2013-11-19 22:53:39 +13:00
libraryaddict
9b30140e22 Fixed problem with disguisehelp command not telling you that you don't have perms. And perms not working. 2013-11-19 22:48:33 +13:00
libraryaddict
3808579614 Annother attempt to fix broken look 2013-11-19 11:46:06 +13:00
libraryaddict
e02e1c9e6b Fix flag watcher not working, fix error with gethandle 2013-11-19 08:48:26 +13:00
libraryaddict
4e101c3ec6 Minor code clean 2013-11-19 08:39:28 +13:00
libraryaddict
33460a6fb7 Finish converting it all to reflection. Removed cb dependency ;D 2013-11-19 08:25:48 +13:00
libraryaddict
85f4bfbdc7 Updated the packets manager to have a accurate count of direct nms calls 2013-11-19 05:55:43 +13:00
Andrew
8b3df2abf4 Fix a error with casting 2013-11-19 05:50:43 +13:00
Andrew
d09d7d6549 Fix the items doing the wrong classes for the getters 2013-11-19 05:50:31 +13:00
Andrew
0ab5500e03 Fixed arrow being mislabelled as moving when its criticial. 2013-11-19 01:31:00 +13:00
Andrew
513b9bdf8f Fixed disguise player not being constructable 2013-11-19 01:30:39 +13:00
Andrew
c54ed4f5dd Add human to the cases 2013-11-19 00:55:44 +13:00
Andrew
209744fab3 Fix incorrect permission nodes 2013-11-19 00:53:22 +13:00
Andrew
9b1ba66efc Throw errors if there is a error when doing the commands 2013-11-19 00:50:39 +13:00
Andrew
c25519158a Update for reflection 2013-11-19 00:49:04 +13:00
Andrew
71d0b64e82 This reverts the 2 reverted commits 2013-11-18 16:24:25 +13:00
Andrew
2820311551 Forced to release build 7.7.0 2013-11-18 16:09:13 +13:00
Andrew
e6daa898d8 Revert "Update entity status packet to use 1 instead of 2"
This reverts commit 22f2ae593b8af5d7f8b42a7e53940742c9c06b21.
2013-11-18 16:07:33 +13:00
Andrew
c1a878a7d9 Revert "Update for 1.7 spigot hack"
This reverts commit 962bbece37e6681785dec56cc2ca4c09ba3237dc.
2013-11-18 16:06:58 +13:00
Andrew
1a4507893f Fixed perms not using backslashes 2013-11-18 16:06:29 +13:00
Andrew
e0240c1044 Limit the setId to the values length on horse and ocelot 2013-11-18 04:43:42 +13:00
Andrew
c2ebe0d347 Same fors lime 2013-11-18 04:43:20 +13:00
Andrew
98677bade3 Use the method instead of setvalue for villager 2013-11-18 04:43:12 +13:00
Andrew
d4774aa3c5 Add reminder, make the horse color random per the color length 2013-11-18 04:39:33 +13:00
Andrew
370e72d9bc Don't display deprecated methods for disguise help. 2013-11-18 04:29:38 +13:00
Andrew
04df1cd162 Changed a string to a class as I'm likely to forget to update it. Also added in warnings for myself for updating. 2013-11-18 04:16:17 +13:00
Andrew
d83c5bcd2c Revert "Print off when it receives packet 32 - Example for ProtocolLib"
This reverts commit 30754429a9672b31b264f3ef841ba86f00d03b93.
2013-11-17 01:57:38 +13:00
Andrew
62286cc5a0 Add the ability to get and set the blocks in a minecart. As well as their Y offself 2013-11-16 18:20:22 +13:00
Andrew
30754429a9 Print off when it receives packet 32 - Example for ProtocolLib 2013-11-16 12:12:29 +13:00
Andrew
32cafd1b57 Add the ability to set and get the wither invulunbility. 2013-11-15 14:19:05 +13:00
Andrew
3e8532e6ff Add the ability to set and get age in ageable watcher by number 2013-11-15 14:18:50 +13:00
Andrew
95262097ca Opps. Thats for living disguises only 2013-11-15 09:10:35 +13:00
md-5
9365f6e1f1 Remove 'ban' code. 2013-11-14 16:36:53 +11:00
Andrew
0f4d687f65 Add some more motds to the banned servers. 2013-11-14 12:29:31 +13:00
Andrew
1050ded526 Added leash hitch as a disguise sound. Regardless of it having no sounds 2013-11-14 12:20:38 +13:00
Andrew
22f2ae593b Update entity status packet to use 1 instead of 2 2013-11-14 12:20:08 +13:00
Andrew
68d16995e0 Made the permission option baby also stand for setbaby 2013-11-14 10:43:24 +13:00
Andrew
49347b6a46 Add 'adult' to the thingy 2013-11-12 17:47:59 +13:00
Andrew
c1ada67da6 Add better perms handling and a way to disable options for constructing disguises 2013-11-12 17:46:39 +13:00
Andrew
f02d212c9b Tiny code cleanup 2013-11-12 17:46:24 +13:00
Andrew
78bc04a4b4 Fix it doing the wrong stuff for baby baby ohhh 2013-11-12 17:46:02 +13:00
Andrew
f5c48eb264 Add isBaby and setBaby to ageable watcher 2013-11-12 16:35:22 +13:00
Andrew
40c41fe1d0 Fix the /disguiseplayer command not working for console 2013-11-12 16:35:10 +13:00
Andrew
0576614825 Add 'baby' for constructing a disguise, and inform them that true/false is soon to be removed 2013-11-12 16:34:54 +13:00
Andrew
962bbece37 Update for 1.7 spigot hack 2013-11-11 10:13:44 +13:00
Andrew
e537fb8923 COs of the last commit we can remove this 2013-11-11 03:30:47 +13:00
Andrew
74d608afb9 When constructing misc disguise. You can now set the itemstack 2013-11-11 03:29:57 +13:00
Andrew
c4be1b989e Return the incorrect command usage with a .0 for float/double 2013-11-11 03:29:42 +13:00
Andrew
48efa79ef7 Small fix before release 2013-11-08 09:32:24 +13:00
Andrew
534fd07cda Added disguise leash hitch 2013-11-08 09:29:32 +13:00
Andrew
aae8903644 Added override to wolf set/get health 2013-11-08 09:23:46 +13:00
Andrew
58b8a10fad Cleaned up names in DisguiseHelpCommand 2013-11-08 09:23:28 +13:00
Andrew
643f2b1c85 Changed enderman watcher to override held get/set and deprecated the rest 2013-11-08 06:37:36 +13:00
Andrew
a122152492 Fix the misc disguise for falling block 2013-11-08 05:57:48 +13:00
Andrew
7c1a946bd7 Make the constructor command for itemstack set the item, not the data 2013-11-08 04:40:12 +13:00
Andrew
9d06e1e55e Clean up misc disguise constructor a little 2013-11-08 04:37:36 +13:00
Andrew
01f7d2b911 Make createDisguise return nothing 2013-11-08 04:30:40 +13:00
Andrew
91dbd07f2a Fixed long name PotionEffect Types in disguisehelp 2013-11-07 10:24:47 +13:00
Andrew
84572a1cb2 Nah. Revert that 2013-11-07 03:57:56 +13:00
Andrew
3b57326d3b Don't notify them of a update everytime it does a update check 2013-11-07 03:57:30 +13:00
Andrew
04c35b67f1 Released 7.6.8 2013-11-06 22:28:16 +13:00
Andrew
ccf1f47979 Added deprecated methods for the removed methods in watchers 2013-11-06 22:27:21 +13:00
Andrew
f6113cb774 Change potioneffect to potioneffecttype. Fix not having it in displayed opens. 2013-11-06 22:23:46 +13:00
Andrew
7a9dd70990 Released 7.6.7 2013-11-06 22:16:31 +13:00
Andrew
dd6b0e491f Fixed potential blow up from paintings with idiotic users 2013-11-06 22:15:32 +13:00
Andrew
3f6b6aea19 Fix paintings not appearing right away 2013-11-06 22:11:39 +13:00
Andrew
a0f96778e9 Sort by name 2013-11-06 22:11:31 +13:00
Andrew
b47d5e8b5f Fixed itemframes. Tho they are still stupid 2013-11-06 21:54:01 +13:00
Andrew
331d254641 Added null sanity checks in the flagwatcher 2013-11-06 21:48:15 +13:00
Andrew
897d6410d2 Cleaned up the code slightly to be smaller 2013-11-06 21:30:14 +13:00
Andrew
9b8279e981 Read desc
Added option types profession, ocelot type, potion effect, horse style,
horse color and related help commands
2013-11-06 21:28:35 +13:00
Andrew
b4c7f8e30d Fixed disguising a pig to a horse crashing 2013-11-06 21:22:55 +13:00
Andrew
3c5c3c958a Deprecated potioneffect to potioneffecttype as they don't expire naturally. 2013-11-06 21:05:35 +13:00
Andrew
62cd0f2832 Changed setType to setTypeId for ocelot 2013-11-06 21:05:11 +13:00
Andrew
31074f93a7 Added get/set owner name, set color/style id to horse watcher 2013-11-06 21:05:00 +13:00
Andrew
86169422a7 SetType(int) added to ocelot 2013-11-06 21:02:53 +13:00
Andrew
2843022f6c Added itemstack to enderman watcher 2013-11-06 20:04:32 +13:00
Andrew
f5c9d4e29e Think I fixed wither skull not being blue 2013-11-06 19:56:53 +13:00
Andrew
f5355bfc98 Renamed getName to getOwner and added setOwner 2013-11-06 19:54:45 +13:00
Andrew
cd24514ec6 Fixed a error when setting up a itemstack watcher before it spawns in 2013-11-06 19:46:09 +13:00
Andrew
dd035980e7 Added hasValue 2013-11-06 19:44:53 +13:00
Andrew
5f41841135 Changed setfuse to setFused 2013-11-06 19:29:27 +13:00
Andrew
37bef1c1ff Fixed typos with breed being bred in horse 2013-11-06 19:21:05 +13:00
Andrew
f202fb7f52 Sorted the methods and renamed them 2013-11-06 19:02:31 +13:00
Andrew
03dcdb9c61 Read desc
Added animal colors to the list of settable options.
Added itemstack and itemstack[] to the list of settable options
Added /disguisehelp colors to get the list of usable colors
Colored in the errors when constructing a disguise options
2013-11-06 19:01:31 +13:00
Andrew
9b72086796 Quick update before release. Fixes not returning if event cancelled 2013-11-06 06:32:37 +13:00
Andrew
c79c0067bf Fix some minor inv problems 2013-11-06 06:11:55 +13:00
Andrew
ef7d1e936f Self disguises now behave when riding something 2013-11-06 06:09:44 +13:00
Andrew
acd2da49f8 Fixed comments never being visible 2013-11-06 06:05:10 +13:00
Andrew
adcca1558b Changed ViewDisguises to ViewSelfDisguises 2013-11-06 06:01:52 +13:00
Andrew
e8d821619c Cleaned up classes 2013-11-06 05:53:53 +13:00
Andrew
48029b8849 Don't remember committing this 2013-11-06 05:53:33 +13:00
Andrew
414ba24363 Fixed the code not liking the _ non checking 2013-11-06 05:44:54 +13:00
Andrew
90e670c4a5 Help now includes the disguisetype when displaying back 2013-11-06 05:42:34 +13:00
Andrew
09e353213e Changed the disguisetype fetching to try without _ as well 2013-11-06 05:41:34 +13:00
Andrew
d84121c4eb Fixed up the flagwatchers .clone and fixed playerdisguise not .clone working 2013-11-06 05:37:10 +13:00
Andrew
fb38bcd99f Made the disguise class abstract, the same for the clone class 2013-11-06 05:36:18 +13:00
Andrew
eb6d158ad4 Added more names 2013-11-06 05:35:59 +13:00
Andrew
abbdf4232a Removed .equals for all the good it does to remove it .-. 2013-11-06 05:08:16 +13:00
Andrew
d4ae115d19 Added toReadable to disguisetype 2013-11-06 05:05:04 +13:00
Andrew
0dff3706cd Translate the string to color codes 2013-11-06 04:57:58 +13:00
Andrew
f431b619fe Fixed casting issues and more boolean issues 2013-11-06 04:56:23 +13:00
Andrew
a48db82eb9 Fix a bug in the setting a adult 2013-11-06 04:51:01 +13:00
Andrew
4596752c29 Make it easier to read the options 2013-11-06 04:50:54 +13:00
Andrew
4a40ac6ec1 Sort the options 2013-11-06 04:40:41 +13:00
Andrew
742b072c2b Fixed up the option checking codes 2013-11-06 04:34:38 +13:00
Andrew
ff5426ffb8 Added some name checking code 2013-11-06 04:33:40 +13:00
Andrew
352c53c96e Fixed is assignable for the disguise options 2013-11-06 04:24:07 +13:00
Andrew
8b3b01ea03 Added disguisehelp command 2013-11-06 04:16:46 +13:00
Andrew
19ab6ec9b6 Change the int to a integer 2013-11-06 04:10:27 +13:00
Andrew
2ccac87531 Convert disguises commands to use a commonly shared method to parse a string to a disguise including options 2013-11-06 04:06:15 +13:00
Andrew
969fd5e9bf Fixed potential crash 2013-11-06 03:55:04 +13:00
Andrew
941f536f5c Improved the cloning of flagwatcher, and now saves backups as a backup value 2013-11-06 03:54:57 +13:00
Andrew
fb5dc6836a Improved the .clone of the disguises 2013-11-06 03:53:30 +13:00
Andrew
8b26ab7f2a Opps. Same thing/ 2013-10-22 07:19:50 +13:00
Andrew
0ca3c26ba1 Clone the armor when the flagwatcher is cloned 2013-10-22 07:18:17 +13:00
Andrew
6c9db19f3c Sorted members. Idiotic bug with riding still exists. It will live. 2013-10-18 14:11:35 +13:00
Andrew
d82ce55ff7 Solved bed crashes 2013-10-18 13:58:05 +13:00
Andrew
eb01397c7d Did a hackish fix for duplicate damage sounds in self disguises 2013-10-18 13:34:53 +13:00
Andrew
3f2be04de7 Inventory listener should work fully now. Some sanity checks added for updating disguises when configs change 2013-10-18 12:53:56 +13:00
Andrew
58f39401d2 Did more work, but its not going to be done soon. So doing a release with it disabled 2013-10-08 05:56:47 +13:00
Andrew
8869354b46 Revert "Revert "Another test commit.""
This reverts commit e809196bfce7399426903c1d9b5c3d0228abf106.
2013-10-04 21:21:26 +13:00
Andrew
782f4b9bc0 Revert "Revert "Test Commit""
This reverts commit fed56419319b0537207c228d277004c2e8d3a407.
2013-10-04 21:21:24 +13:00
Andrew
a5a7f5ab5f Revert "3rd test"
This reverts commit 7b8a7c8011d2985550cfe3be7f68e423c98e0cea.
2013-10-04 21:21:22 +13:00
Andrew
bfed741262 Revert "4th test"
This reverts commit cf590e07ffccf084494789a2ade5904b59ca787c.
2013-10-04 21:21:19 +13:00
Andrew
fc3614ce80 Revert "GAH. FIX YOURSLF"
This reverts commit 61a32423906a3c49f8c39ea1e38b0bd44c46c540.
2013-10-04 21:21:16 +13:00
Andrew
28be265b9d Revert "Fixed? Fixed."
This reverts commit cbf729325f770180238485b812f429438caa4c31.
2013-10-04 21:21:13 +13:00
Andrew
c6d1d6520c Revert "Another damn"
This reverts commit 7cc872f46764f5eddf66978893cf79c3b58e37b6.
2013-10-04 21:21:11 +13:00
Andrew
4fb1f6d452 Revert "Fix to stupid git/windows"
This reverts commit b0a2b92606cd8deb9faaafa77b18009cf703b4e2.
2013-10-04 21:21:07 +13:00
Andrew
b0a2b92606 Fix to stupid git/windows 2013-10-04 13:00:01 +13:00
Andrew
7cc872f467 Another damn 2013-10-04 12:59:38 +13:00
Andrew
cbf729325f Fixed? Fixed. 2013-10-04 12:58:57 +13:00
Andrew
61a3242390 GAH. FIX YOURSLF 2013-10-04 12:58:45 +13:00
Andrew
cf590e07ff 4th test 2013-10-04 12:57:07 +13:00
Andrew
7b8a7c8011 3rd test 2013-10-04 12:56:56 +13:00
Andrew
fed5641931 Revert "Test Commit"
This reverts commit d230962e1985b133ddffe6fffb5fce8c24ed6b7e.
2013-10-04 12:52:56 +13:00
Andrew
e809196bfc Revert "Another test commit."
This reverts commit 19605701fee94c848fa33e041856198324f284d7.
2013-10-04 12:52:43 +13:00
Andrew
19605701fe Another test commit. 2013-10-04 12:51:49 +13:00
Andrew
d230962e19 Test Commit 2013-10-04 12:51:29 +13:00
Andrew
9b9829073c Fixed being unable to cast watchers, maybe fixed unconfirmed issue with babys.. 2013-10-01 23:51:21 +13:00
Andrew
628c3544d9 Resend self disguise when it goes below 0 health 2013-10-01 17:14:16 +13:00
Andrew
17094fdeca Fix potential infinite loop 2013-10-01 02:47:40 +13:00
Andrew
f25117e461 Clean up the flagwatcher converting code 2013-10-01 02:34:39 +13:00
Andrew
2a0f2fe4aa Fixed bug where it didn't save new settings 2013-09-29 13:32:26 +13:00