Commit Graph

1429 Commits

Author SHA1 Message Date
libraryaddict
2c7a6e2b43 Add check for null watchable object 2017-07-25 06:58:58 +12:00
libraryaddict
5a2f64bca4 Fix disguise sound for player steps not being an array 2017-07-25 06:12:14 +12:00
libraryaddict
6306a483e0 Fix Paper deciding that old versions of the server need to send new stuff to the client 2017-07-24 07:07:51 +12:00
libraryaddict
05134d231d Add ability to skip disguise saving, add tiny logging for disguise saving 2017-07-24 06:31:09 +12:00
libraryaddict
940e3aab86 Specifically handle StackOverflowError and add in missing checks for premium/config 2017-07-24 06:28:14 +12:00
libraryaddict
b817aebc02 Add missing ItemStack serializer 2017-07-23 23:56:45 +12:00
libraryaddict
926aea53f6 Little more info on a debug message 2017-07-23 23:50:25 +12:00
libraryaddict
288379c06a Fix the wrong LibsMsg name 2017-07-23 23:47:22 +12:00
libraryaddict
a00b2c7bfd Fix view self disguises working wrongly 2017-07-23 23:47:00 +12:00
libraryaddict
6cf130b7b5 Add getCustomDisguise to DisguiseAPI 2017-07-20 19:23:43 +12:00
libraryaddict
550193615e Better /disguisehelp information 2017-07-19 12:39:56 +12:00
libraryaddict
5632fb7ef3 Fix head issues 2017-07-18 20:35:46 +12:00
libraryaddict
b13c6bd29c Always send head rotation packet for mobs 2017-07-18 20:15:55 +12:00
libraryaddict
01df80e46e Fixed player spawning not using the proper yaw/pitch 2017-07-18 20:15:06 +12:00
libraryaddict
d0e91be090 Add comment for the slow of brain in config, reverse the self disguise check so it defaults to true 2017-07-18 19:40:17 +12:00
libraryaddict
ae5f914286 Apply view self disguise when disguised, not just on toggle 2017-07-11 17:38:27 +12:00
libraryaddict
7045c5998c Fix calling saveGameProfile ignored 2017-07-11 04:41:04 +12:00
libraryaddict
bd93f1dbd7 Change where Lib's premim does its check. Fix backwards compatibility a little 2017-07-11 04:02:24 +12:00
libraryaddict
f239dcc1fe Merge remote-tracking branch 'origin/master' 2017-07-11 02:38:36 +12:00
libraryaddict
9002c540ce Fixed gameprofile cache settings 2017-07-11 02:38:28 +12:00
Jacob Martin
2ae5431142 Fix NullPointerException on load when using 1.11.x 2017-07-09 14:39:37 -05:00
libraryaddict
2c3c8af932 Fixed 's' being in the message randomly 2017-07-08 21:02:35 +12:00
libraryaddict
69977f33bd Fix slow startup, improve translate stuff 2017-07-08 06:06:36 +12:00
libraryaddict
c378dc8e78 Allow ItemStack parsings to be null 2017-07-07 20:47:22 +12:00
libraryaddict
c8b908edd3 Faster translations loading for non-users 2017-07-06 04:00:02 +12:00
libraryaddict
c8159e8963 Add a check for translates 2017-07-02 17:12:39 +12:00
libraryaddict
0d4692c2af Don't return all lower case 2017-07-02 17:11:20 +12:00
libraryaddict
5d98747e59 Remove debug 2017-07-01 10:45:11 +12:00
libraryaddict
af886f3af9 Fix player disguises setSkin 2017-07-01 10:44:33 +12:00
libraryaddict
11781fbb1f Fix paper spigot not letting you use player disguises 2017-06-28 07:46:24 +12:00
libraryaddict
80d416a4fc Fix armor not being displayed if its not delayed 2017-06-27 14:53:10 +12:00
libraryaddict
23c012d0e3 Fix modify entity command 2017-06-27 14:45:42 +12:00
libraryaddict
59a73ffcd2 Fixed dmodradius command having the wrong implementation 2017-06-26 11:55:45 +12:00
libraryaddict
3c812b7fd7 Fix addPotionEffect 2017-06-26 11:35:08 +12:00
libraryaddict
a08e3aea9b More changes for backwards support 2017-06-26 07:36:09 +12:00
libraryaddict
d1a04e0f7d Ask who listens for updates, fix underscore disguises not working 2017-06-25 00:20:19 +12:00
libraryaddict
2d28988cc4 Work towards backwards compatibility 2017-06-24 09:21:34 +12:00
libraryaddict
788bbf4b4e Make the old config option work for both disguise blowns 2017-06-23 04:21:52 +12:00
libraryaddict
06ce2d0e02 Update stats 2017-06-23 04:14:19 +12:00
libraryaddict
27230d5148 Added new config option for blown disguises 2017-06-22 23:58:48 +12:00
libraryaddict
82435b7067 More work, vaguely remember fixing a bug 2017-06-22 23:36:45 +12:00
libraryaddict
fc8efdd00c And remove my test stuff heh 2017-06-22 07:20:38 +12:00
libraryaddict
27472578cd Bug fixes, more translations 2017-06-22 07:20:12 +12:00
libraryaddict
4fe484dc10 Finish up 2017-06-20 06:11:08 +12:00
libraryaddict
9a258670a3 Um. What the hell? Why unregister this 2017-06-20 05:48:58 +12:00
libraryaddict
eda46398a9 Force everyone to use translations, THEN TAKE IT AWAY 2017-06-20 05:44:31 +12:00
libraryaddict
245faf1803 Fix up the last of the errors 2017-06-20 05:19:46 +12:00
libraryaddict
716bfd449b Current work 2017-06-20 05:06:35 +12:00
libraryaddict
894336194c Merge remote-tracking branch 'remotes/origin/master' into translate 2017-06-19 22:03:41 +12:00
libraryaddict
0edf7338b2 Fix Rabbit Type 2017-06-19 22:01:53 +12:00
libraryaddict
cba8cb417c Current work 2017-06-19 21:23:02 +12:00
libraryaddict
f4bc7ef3a4 Merge branch 'master' into translate 2017-06-13 14:20:46 +12:00
libraryaddict
718cbb7b33 Allow auto-complete for 'p' 2017-06-12 09:42:03 +12:00
libraryaddict
4b5714ea65 Current progress 2017-06-12 09:36:54 +12:00
libraryaddict
ee2fef7450 Better save disguises, avoid nulls 2017-06-10 02:33:50 +12:00
libraryaddict
3d78b493bc Make the files for disguises/gameprofiles if needed 2017-06-10 02:29:28 +12:00
libraryaddict
87e810c608 Commit remaining work 2017-06-09 09:14:36 +12:00
libraryaddict
6cb4ccc42b Don't send sky and emitted lights 2017-06-09 09:07:57 +12:00
libraryaddict
d7b8b23030 Remove logging for missing EntityType 2017-06-09 07:27:02 +12:00
libraryaddict
b98e3b92bf Make backwards premium only, rename LibsVersion to LibsPremium 2017-06-09 03:09:28 +12:00
libraryaddict
3c8ef42522 Make backwards premium only 2017-06-09 03:07:49 +12:00
libraryaddict
5ffa792e77 Add backwards support for 1.11.2, bugfixes, update to 1.12 2017-06-09 03:06:58 +12:00
libraryaddict
90de701eb5 Add temp premium for debug 2017-06-03 01:55:52 +12:00
libraryaddict
15e36e4a6c Work 2017-06-03 01:51:03 +12:00
libraryaddict
3b1465d329 Initial work 2017-05-28 10:23:15 +12:00
libraryaddict
7a9f1bd4cd Fix everyone has permission 2017-05-15 18:56:41 +12:00
libraryaddict
49f24c14b2 Always have an entry for every DisguisePerm 2017-05-12 20:47:39 +12:00
libraryaddict
d9c5a5f29e Oh yeah, its UUID not String 2017-04-27 01:57:03 +12:00
libraryaddict
2118f3f14a Not sure if this will fix or break stuff, use real entity UUID 2017-04-27 00:23:27 +12:00
libraryaddict
d3f6b6e68c Fix player disguises 2017-04-26 23:12:43 +12:00
libraryaddict
a36a511a30 Make saner values for slime and areaeffectcloud 2017-04-16 09:58:40 +12:00
libraryaddict
7a2d360528 Add MetaIndex.printMetadata() 2017-04-15 16:22:17 +12:00
libraryaddict
901ba70ff3 Add onto that fix 2017-03-30 01:35:36 +13:00
libraryaddict
1a3dc50787 Another small fix 2017-03-30 01:34:42 +13:00
libraryaddict
d83d7fa04e Fix typo 2017-03-29 08:24:21 +13:00
libraryaddict
c157040b77 Minor cleanup 2017-03-27 02:06:17 +13:00
libraryaddict
230d73813d Make a default option for disguise pushing if errors 2017-03-27 01:40:51 +13:00
libraryaddict
86e0a4c58a Add creeper primed sound to sounds 2017-03-22 01:49:27 +13:00
libraryaddict
2522b0eefd Minor cleanup of code, fixed setSkin not working as intended 2017-03-22 01:22:00 +13:00
libraryaddict
477464851e Fix a little typo for disguise cloning 2017-03-21 19:34:12 +13:00
libraryaddict
e0fffdaa14 Fix a skin broken bug I hope while fixed the other previous bug 2017-03-20 01:14:45 +13:00
libraryaddict
80dff148ff Fixed up warnings in the file 2017-03-16 05:22:33 +13:00
libraryaddict
24e869af64 Changed the format of the file, getProfileFromMojang never return null 2017-03-16 05:22:07 +13:00
libraryaddict
385a4bb1e4 Fixed step sound for Player only registering one sound 2017-03-08 16:26:35 +13:00
libraryaddict
28ca29d4b5 Released 9.3 2017-03-04 14:52:21 +13:00
libraryaddict
d9238a01c6 Fix scoreboards 2017-02-24 01:42:13 +13:00
libraryaddict
6fa6979916 Fixed some bad naming and configuration for scoreboards 2017-02-24 01:28:37 +13:00
libraryaddict
82db8d190b Added TreeSpecies to disguise parameter options 2017-02-24 01:09:21 +13:00
libraryaddict
bcc4bdd2a2 Boat disguise is always generic now 2017-02-24 01:09:03 +13:00
libraryaddict
4fe23a629d Opps, forgot to commit the new commands 2017-02-20 04:56:14 +13:00
libraryaddict
77a7e91766 Minor cleanup and untested disguise modify commands 2017-02-20 03:53:03 +13:00
libraryaddict
7ab456c7e6 Fix offhand slot not being handled 2017-02-20 03:52:31 +13:00
libraryaddict
931aa484d6 Why isn't this compiling? 2017-02-10 20:25:47 +13:00
libraryaddict
8ddd5f3408 Why is this erroring? 2017-02-10 20:18:57 +13:00
libraryaddict
9d6d805f08 Support commandblock for disguise radius 2017-02-09 10:26:44 +13:00
libraryaddict
d7cefdb3c9 Fixed using spigot stuff, wasn't that important anyways.. 2017-02-07 07:04:07 +13:00
libraryaddict
d87822136f Opps, now fixed potions 2017-02-07 06:48:22 +13:00
libraryaddict
e8910d5aaa Dunno what I was doing, fixed potions 2017-02-07 06:47:35 +13:00
libraryaddict
a998684695 Fix Snowman derp being disabled by default 2017-02-07 06:24:03 +13:00
libraryaddict
910bc183e8 Apparently I forgot to uncancel metadata packet for self disguise? 2017-02-07 06:23:11 +13:00
libraryaddict
57613dba37 Renamed FlagType to MetaIndex which makes more sense 2017-02-07 06:12:00 +13:00
libraryaddict
ad6e67569d Fix Snowman Watcher with bad method name 2017-02-07 06:02:03 +13:00
libraryaddict
d84ec1fd2c Now can clone a player without clicking on them 2017-01-21 07:58:51 +13:00
libraryaddict
2a20013de5 Fixed the disguises fetching player skins before its even used 2016-12-22 14:11:03 +13:00
libraryaddict
2102272aae Fixed a dumb mistake 2016-12-22 13:57:17 +13:00
libraryaddict
d00008855b Released 9.2.2 2016-12-21 19:08:03 +13:00
libraryaddict
fb05441f78 Fixed an error, now works for 1.11.1, no idea what the piggy is for 2016-12-21 17:17:44 +13:00
libraryaddict
e1cd672207 Create a default option for pushing 2016-12-21 16:50:36 +13:00
libraryaddict
448dd06104 Add disguises pushing options 2016-12-21 16:25:28 +13:00
libraryaddict
451b4a9465 On master: Team disguises options 2016-12-16 09:23:44 +13:00
libraryaddict
c6ad0c1466 Fix Llama setColor and setCarpet and a sound error 2016-12-15 10:25:27 +13:00
libraryaddict
4db189704e Hopefully fix the sound issues 2016-12-14 21:26:06 +13:00
libraryaddict
4f13f0331b Fix an array size error 2016-12-10 23:58:10 +13:00
libraryaddict
6a70b3e740 Fixed sounds, fixed a perm error 2016-12-09 00:27:22 +13:00
libraryaddict
c2f063b1dc Rename horse watchers to ChestedHorseWatcher and AbstractHorseWatcher 2016-12-01 16:51:55 +13:00
libraryaddict
2c5055924c Fixed setSkin not working properly 2016-12-01 14:34:34 +13:00
libraryaddict
139b1c663f Merge branch 'master' of https://github.com/libraryaddict/LibsDisguises
# Conflicts:
#	src/me/libraryaddict/disguise/commands/LibsDisguisesCommand.java
2016-12-01 12:39:56 +13:00
libraryaddict
0f0b0b820f Added ability to disable setInvisible on disguise commands 2016-12-01 06:56:11 +13:00
libraryaddict
24f88338c8 Fixed bugs, added custom disguises support, create your own disguises 2016-12-01 06:38:43 +13:00
libraryaddict
49910a4fa5 Fixed metadata not being sent issue for player disguises 2016-11-30 17:31:12 +13:00
libraryaddict
e1bcfbb5cc Minor formatting 2016-11-30 17:08:37 +13:00
libraryaddict
80b4085204 Now able to hide disguised players from tab, show player disguises tab 2016-11-30 17:08:12 +13:00
libraryaddict
eb1733262f Fix up self disguises flicking and Evoker Fangs 2016-11-29 13:07:33 +13:00
libraryaddict
ce134af4fa Renaming commands, fixing evoker fangs 2016-11-29 10:47:48 +13:00
libraryaddict
1de16cb4d7 Added small message about supporting plugin dev 2016-11-29 10:44:41 +13:00
libraryaddict
65777f036f Point the update checker to the premium version 2016-11-29 10:10:55 +13:00
libraryaddict
e5799d7a5e More changes, fixed armor 2016-11-29 07:30:25 +13:00
libraryaddict
cfdd7bbecf Remove the underscores 2016-11-29 05:23:09 +13:00
libraryaddict
83bd3099db Added TabCompleter to the commands 2016-11-29 03:01:06 +13:00
libraryaddict
2e1b1b7a06 Fixed player disguises not having proper metadata 2016-11-29 03:00:03 +13:00
libraryaddict
d8483c70ee Fix an error 2016-11-28 02:20:39 +13:00
Navid Kabir
069aa8c8c2 Update LibsDisguises Command description
I always though this was a little strange. I don't maintain LibsDisguises anymore, so the command should be updated to reflect that. Also, I made two branches on the main repo cause I'm a fool, so I forked this. Don't worry, already cleaned it up.
2016-11-27 00:01:49 -05:00
libraryaddict
c9cbdc3c93 Minor fix, update to 9.1.1 2016-11-27 09:45:03 +13:00
libraryaddict
126a7a4a6a Fix disguises and stuff 2016-11-27 04:36:57 +13:00
libraryaddict
401061bbcd Bad fix for fishing hook 2016-11-26 20:12:57 +13:00
libraryaddict
bd31ea6fd0 Fix Vex disguise 2016-11-26 18:07:42 +13:00
libraryaddict
bb303ac96b Added new disguises, added new disguisetypes, fixed the
horse/lama/whatever changes, fixed a boat 'facing' bug, renamed a few
internal methods, still dont know why some disguises are invisible.
2016-11-26 01:07:02 +13:00
libraryaddict
58b7086cd2 Fix IBlockData and WrappedBlockData, fixed FishingRod constructor 2016-11-25 21:21:49 +13:00
libraryaddict
b28c6c1336 Fix allerged null pointer exception 2016-10-05 22:36:40 +13:00
libraryaddict
89829bf5c5 Merge branch 'master' of https://github.com/libraryaddict/LibsDisguises 2016-10-05 02:13:15 +13:00
libraryaddict
b19bb87e53 Cleanup, fix skins not appearing by increasing tablist delay 2016-10-05 02:11:50 +13:00
Kyzderp
8887ffcdfa Revert adding dlist 2016-09-10 05:12:34 -07:00
Kyzderp
bad4f555cf Add dlist and fix dradius error 2016-09-10 05:05:25 -07:00
libraryaddict
6962955c3a Fix when non-living entities make a sound but server cant handle 2016-09-09 15:28:06 +12:00
libraryaddict
c239116c9d Fixed typo in InsentientWatcher, self disguises crashing on metachange 2016-07-12 00:36:47 +12:00
libraryaddict
22faedb8a4 Released 7.0.8, added stuff to prevent outdated servers & protocollib 2016-07-08 22:23:11 +12:00
libraryaddict
7460ba3012 Fixed falling block 2016-07-08 22:13:40 +12:00
libraryaddict
e6627c1fea Fix up stuff a little for latest ProtocolLib, more disguise params 2016-07-08 17:59:30 +12:00
libraryaddict
37395a1a6d Catch errors and cancel, fix some disguises 2016-07-07 22:10:58 +12:00
libraryaddict
d98333f0f1 Fix null, fixed FlagWatchers, fixed typo on EquipmentSlot 2016-07-05 17:01:51 +12:00
libraryaddict
dedc043558 Fix enderman disguise 2016-06-28 15:01:17 +12:00
libraryaddict
11a26a36c0 Meaningless commit just to check something 2016-06-28 06:50:44 +12:00
libraryaddict
56d7557bb0 Fix a concurrent exception 2016-06-28 06:05:24 +12:00
libraryaddict
7d80353abb Fix a FlagType bug 2016-06-24 18:58:27 +12:00
libraryaddict
182c6a3259 Fix up datawatchers 2016-06-23 21:11:50 +12:00
libraryaddict
bf3c11878a Renable some disguises, fix player sleeping? I forgot what I did 2016-06-19 03:16:32 +12:00
libraryaddict
acc21a6d6e Added the ability to set skin blob with command.
Skin blob can be fetched from
https://sessionserver.mojang.com/session/minecraft/profile/<TRIMMED
UUID>?unsigned=false
2016-06-15 06:40:45 +12:00
libraryaddict
f498867d5c Fix up player disguises skins 2016-06-14 21:08:53 +12:00
libraryaddict
6e77551f2e Fix sleeping disguises 2016-06-14 08:55:30 +12:00
libraryaddict
291942b9b4 Update to 9.0.7 2016-06-13 21:39:48 +12:00
libraryaddict
410b96dafe Fixed errors 2016-06-13 07:03:40 +12:00
libraryaddict
25e0a59099 Fix movement, update stuff, fix bugs, something, made sweet love to
herobrine
2016-06-13 06:24:14 +12:00
libraryaddict
26c560e8e8 Add the new disguises 2016-06-13 06:05:45 +12:00
libraryaddict
daab2c9606 Different approach to FlagWatcher, fixed some errors for the update 2016-06-13 05:43:41 +12:00
libraryaddict
e751cf4582 Current work 2016-06-13 02:22:56 +12:00
libraryaddict
8e255c5ccf Move a self disguises setter to a scheduled task 2016-06-07 14:42:38 +12:00
libraryaddict
60730f4dcd Deny async 2016-06-06 01:31:34 +12:00
libraryaddict
9e2853509d Hmm. Does this install to the repo? 2016-05-18 11:27:04 +12:00
libraryaddict
06c0084e3a Fix sounds, release 9.0.6 2016-05-16 03:51:16 +12:00
libraryaddict
b17191a462 Fix errors in sounds 2016-05-15 11:15:24 +12:00
libraryaddict
453c456751 Screwed up again 2016-05-13 00:56:44 +12:00
libraryaddict
ca9a69f569 Dumb error, I havn't been sleeping well lately. 2016-05-13 00:56:24 +12:00
libraryaddict
eff6dc3025 Cleanup, fix a bug 2016-05-13 08:27:53 +12:00
libraryaddict
986dfe6246 Cleanup code, fix locations in packets being assumed pre-1.9 2016-05-12 23:30:22 +12:00
libraryaddict
e0293227dd Bed chunk fix 2016-05-12 09:47:08 +12:00
libraryaddict
3e493fdda6 Fix sound packet 2016-05-11 21:02:05 +12:00
libraryaddict
f14dec9b43 Merge branch 'sounds' of https://github.com/JBYoshi/LibsDisguises into JBYoshi-sounds
# Conflicts:
#	src/me/libraryaddict/disguise/utilities/DisguiseSound.java
#	src/me/libraryaddict/disguise/utilities/PacketsManager.java
#	src/me/libraryaddict/disguise/utilities/ReflectionManager.java
2016-05-10 03:50:03 +12:00
BuildTools
d390adde38 Convert back to maven 2016-05-10 03:28:38 +12:00
JBYoshi
282ad55039 Re-add disguise sounds. Now respect 1.9 sound categories. 2016-04-17 15:58:34 -05:00
NavidK0
976d00dcc2 Added API for EnderCrystal options
Removed Optionals from parameters in certain watchers
Fixed issue with createEntityEquipment in ReflectionManager, was using NMS instead of CraftBukkit classes
2016-03-29 20:28:17 -04:00
NavidK0
8690cd6604 Fixed EnderCrystal 2016-03-24 19:08:52 -04:00
NavidK0
7a3d9c468a Update project version
Update process resources, allow gradle to change plugin.yml's version
2016-03-21 19:07:21 -04:00
NavidK0
763024d27a Fixed incorrect Optional type in ShulkerWatcher 2016-03-21 18:54:50 -04:00
NavidK0
351234591f Fixed Horse options 2016-03-21 18:40:31 -04:00
NavidK0
effb4058db Changed datawatcher value for DroppedItem disguise 2016-03-20 23:33:06 -04:00
NavidK0
ed1bcc5ad9 Fixed DroppedItem disguise
Fixed Fireworks disguise
Fixed SplashPotion disguise
Fixed Sheep disguise colors
Fixed Wolf disguise colors
Fixed error with isGlowing in FlagWatcher
2016-03-20 23:29:48 -04:00
NavidK0
12ea8ee35e Fixes an issue with temporary players created in ProtocolLib 2016-03-19 18:43:58 -04:00
NavidK0
f30f5dfcf2 Fixed Shulker disguises
Fixed Enderdragon direction
Added config option to stop shulker disguises from moving
Fixed sleeping while in a player disguise
2016-03-15 16:07:22 -04:00
NavidK0
75fb4f2e53 Fixed "Thrown Potion # has no item!?" 2016-03-14 21:53:25 -04:00
NavidK0
61f091308c Prevent sound listener from being registered, should prevent sounds from borking anything else until we can get it fixed 2016-03-14 05:26:22 -04:00
NavidK0
207e4574fd Welp, disable disguise sounds until they can be fixed later 2016-03-14 03:28:48 -04:00
NavidK0
bd7862fd3e Fixed sounds
Fix crash on sound send due to old sounds
2016-03-14 02:40:32 -04:00
NavidK0
d2a85efb26 Fixed java.lang.NoSuchMethodException: net.minecraft.server.v1_9_R1.MobEffectList.fromId(java.lang.Integer) in ReflectionManager 2016-03-14 01:36:25 -04:00
NavidK0
24b6ed702b Fixed Player disguises
Fixed all disguises
Fixed issue where players would crash upon joining
Fixed issue where disguises would crash when player left and reentered a location where a disguise previously was

This is basically a beta build, FIND BUGS FOR ME! :D
2016-03-14 00:55:36 -04:00
NavidK0
27baf53073 Fixed Wolves, Endermen, and Ocelots
All mob and misc disguises work now
2016-03-13 21:27:46 -04:00
NavidK0
e95df4a2df Fixed NameAboveHeadVisible 2016-03-13 19:53:37 -04:00
NavidK0
8eb4beba83 Fixed Misc disguises
Added AreaEffectCloudWatcher
Readded regular Arrows
Updated object ids
Updated relative look and move packets
Minor changes here and there
2016-03-12 15:19:58 -05:00
NavidK0
7dabbb7ce4 Fixed Bat disguise
Fixed Painting disguise
Fixed Experience Orb disguise
Fixed some more datawatcher related things
Sounds added back in
Fixed *most* sounds (Some might still not work, please let me know)
Arrows now equal tipped arrows
Code cleanup

NOTE: Yes, this does take a lot of time, there's a lot to do here, and there's so much code to update. Not even mentioning the fact that most packets don't  even work the same anymore (SPAWN NAMED ENTITY and SPAWN ENTITY both do not work the same way anymore)
2016-03-10 00:44:11 -05:00
NavidK0
432571cb09 Fixed Horse disguise 2016-03-08 15:35:05 -05:00
NavidK0
22f46cc824 Update ProtocolLib version to BETA 2016-03-08 06:18:17 -05:00
NavidK0
51483e0572 Updated all the flag watchers to 1.9 values
Added some new flag watchers
Added some new API methods to flag watchers
Fixed some more disguises
Added new options to some disguises
Certain packets have been fixed
Still not ready for use, but most mob disguises work

WARNING, the plugin is still heavily in ALPHA
- Currently not working:
Player disguises
Misc. disguises
Joining a server while someone is disguised
Sounds
Names above heads
Other packet related things
2016-03-06 22:46:46 -05:00
NavidK0
c972d02113 Temporary patch for sounds not working
Replaced some code with Craftbukkit versions
2016-03-06 03:45:13 -05:00
NavidK0
99daf8246d Progress! Some mob disguises are working now
Added in dual hand animations
Removed libraryaddict
2016-03-06 01:57:11 -05:00
NavidK0
cf1b15942c Update disguises to use EntityEquipment, makes life easier
Update ItemInHand calls to ItemInMainHand and OffHand
Still not ready for use yet, disguises do not work
2016-03-05 23:14:19 -05:00
NavidK0
a94d583f0b Fix a strange issue with .gitignore excluding files, fixes Jenkins again 2016-03-04 23:45:38 -05:00
NavidK0
1576c895b5 Switch to ProtocolLib MinecraftKeys wrapper
Add in helper method to quickly create DataWatcher.Item objects
Typo in last commit, meant to say, disguises will NOT show up. Sorry to those who got excited. :(
2016-03-04 22:52:52 -05:00
NavidK0
2cf48f7916 It runs, but it's not at all ready for use. Disguises will now show up yet as packets have not been changed. 2016-03-04 21:02:39 -05:00
NavidK0
40e56621a8 Why'd I put weather and lightning in there? 2016-02-19 15:36:47 -05:00
NavidK0
50623a9be2 Added new entities to DisguiseType
Changed entity Ids to reflect new entity Ids in Spigot 1.9
Cleaned up code
2016-02-19 15:29:53 -05:00
NavidK0
9847ff035a 1.9+ Initial Commit
LibsDisguises.instance is no longer exposed, replaced with LibsDisguises.getInstance()
2016-02-19 14:23:46 -05:00
NavidK0
321ecdb3c2 Cleaned up code 2016-02-18 17:45:11 -05:00
NavidK0
0b79bb5d06 Changed dependencies from file to proper dependencies, also added flatDir to repository block. 2016-01-26 23:01:14 -05:00
NavidK0
758df7990e - Cleaned up code
- Future proofed code via reflection again (DamageSource in PacketsManager)
2016-01-22 00:41:45 -05:00
NavidK0
66ab7ac3ef Fixed ConcurrentModificationException on PaperSpigot/SportsBukkit. 2015-12-29 15:44:19 -05:00
NavidK0
e7a5d0763f Hotfix for PaperSpigot/SportsBukkit issue with HashMap.KeySet() != Set
Should fix issues with

0265f4eaef
2015-12-28 19:34:44 -05:00
NavidK0
05effaa82c Updated timings for runnable task
Updated version for 8.6.5
2015-08-12 17:20:41 -07:00
NavidK0
a4a965d450 Fixed bug where disguise would be visible for a few seconds after teleporting. 2015-08-12 16:21:08 -07:00
NavidK0
41cfa8eeaa Fixed bug where players switching worlds would become invisible.
Fixed bug where arrows wouldn't blow disguises.
Added default permission for /libsdisguises reload (only ops can use by default)
2015-08-02 19:40:47 -04:00
NavidK0
037da7e980 Updated for 1.8.8.
Compiled against ProtocolLib 3.6.5.

Fixed a nullpointerexception In Disguise when the disguise would rarely despawn causing the entity to be invalid.
2015-08-01 19:25:48 -04:00
NavidK0
bdb436711f Added support for spaces in Player Disguises.
Use the "\_" (backslash underscore) to place a space in a name.

Example: /d player The\_Great\_Apple
2015-07-18 00:53:42 -04:00
NavidK0
8c633adb8e Fixed some more permissions related things 2015-07-15 08:33:33 -04:00
NavidK0
ed7d8d0c67 Updated versioning to 8.6.1 2015-07-15 08:29:08 -04:00
NavidK0
7301a60aa4 Fixed incorrect permission for /vsd a.k.a /disguiseviewself 2015-07-15 08:25:15 -04:00
NavidK0
b57e9931b0 Added the new /disguiseviewself command, allows for toggling the disguise model when you see yourself.
Permission is libsdisguises.viewself
Aliases are: [dviewself, dvs, disguisevs, disvs, vsd, viewselfdisguise, viewselfd]
2015-07-15 05:51:58 -04:00
NavidK0
1d54ba9997 Added descriptions for all the commands in plugins.yml. 2015-07-15 04:04:10 -04:00
NavidK0
27cc9cd70f Added rudimentary support for disguising Custom Entities and Modded Entities
Added the DisguiseType 'Unknown', obviously can't be used by players
Cleaned up code
2015-07-07 11:30:12 -04:00
NavidK0
aee904200b Fixed block data for FallingBlock disguises 2015-07-01 16:02:57 -04:00
NavidK0
caa0025e77 Changing build setup for gradle artifact repo 2015-07-01 09:19:00 -04:00
NavidK0
ee313bc753 Removed pointless line 2015-07-01 09:17:50 -04:00
NavidK0
fc0f313f13 Removed pointless line 2015-06-13 09:33:00 -04:00
NavidK0
a3c8029223 Updated to 1.8.7, no code changes? 2015-06-13 09:24:10 -04:00
NavidK0
545fa08e55 Updated for 1.8.6.
Code cleanup.
Fixed permissions.
2015-05-30 09:34:38 -04:00
NavidK0
17869698d5 Updated for 1.8.6. 2015-05-30 03:22:38 -04:00
NavidK0
9083a5ba84 Fixed data values for blocks as of 1.8.3. 2015-04-21 16:01:50 -04:00
NavidK0
32f37b74e2 Temporarily commented out setAllowSleep for now until it can be fixed later
Updated config.yml
Updated plugin.yml
Updated plugin for latest spigot builds and latest ProtocolLib build
2015-04-13 01:25:48 -04:00
NavidK0
34c8bfb808 Modified Gradle build script to work with Jenkins 2015-03-31 02:16:21 -04:00
NavidK0
1ea2a3f94f Fixed isInvulnerable for real this time 2015-03-30 23:07:47 -04:00
NavidK0
15c0141c3d Added config option ContactMojangServers which disables player skins, but stops the plugin from pinging Mojang servers.
Added reload command to reload the config.
Tweaked a couple of things.
Fixed isInvulnerable issue.
2015-03-29 22:47:29 -04:00
NavidK0
a33bb0b139 Added config option ContactMojangServers which disables player skins, but stops the plugin from pinging Mojang servers. 2015-03-28 19:59:42 -04:00
NavidK0
4beb5fa730 Removed config options which don't do anything 2015-03-28 19:47:31 -04:00
NavidK0
cbf4e3fc03 Fixed isInvulnerability check in PacketsManager 2015-03-28 19:05:53 -04:00
NavidK0
099e9ad5a3 Updated for 1.8.3
Changed project to gradle
Added plugin metrics
Compliant with Java 7
2015-03-25 19:23:16 -04:00
NavidK0
b575c176ab Removed libs 2015-03-09 20:32:52 -04:00
NavidK0
573f4cdc88 - Changed entire project to gradle
- Updated for 1.8.3
- No more errors, woo
2015-03-09 20:28:41 -04:00
Byteflux
c335b245b5 Work towards 1.8 support
TODO: Remove future disguise types and test backwards compatibility
2014-12-07 07:59:38 -08:00
libraryaddict
eabfe0d0bf Reverse this for enderman watcher conversion to 1.8 2014-11-17 14:48:43 +13:00
libraryaddict
7563b4ec0c Minor fix to getGameProfile(Player) 2014-11-15 10:14:27 +13:00
libraryaddict
f6140620c8 Player Changing world should be nicer for teleports 2014-10-25 23:38:13 +13:00
libraryaddict
02745fc88c Elder guardian gets to set the byte value 2014-10-01 15:20:42 +13:00
libraryaddict
a253db5ae2 Fix up skin blobs 2014-09-29 17:19:07 +13:00
libraryaddict
5ab0f7e53d Use unique uuid's for each player disguise. Prevents skinless ppl 2014-09-29 17:05:04 +13:00
libraryaddict
ad788d0f5f Go away errors 2014-09-29 17:04:47 +13:00
libraryaddict
de94e6a757 Move updatemessage and permission to disguiseconfig 2014-09-29 16:32:47 +13:00
libraryaddict
7864920385 Player setSleeping should work fine now 2014-09-29 16:29:13 +13:00
libraryaddict
4d50358934 Looks like max view distance is 35 chunks, and use minus not plus.. 2014-09-29 15:35:38 +13:00
libraryaddict
4921ec07ce Use a chunk distance of 17 as I think 20 is sometimes out of render? 2014-09-29 14:09:13 +13:00
libraryaddict
0af1924e61 Use getX instead of getblockX. Don't make it 1.8 specific 2014-09-29 14:08:58 +13:00
libraryaddict
465257f11a Use isPlayerDisguise 2014-09-29 13:18:01 +13:00
libraryaddict
a3b67b9a4f Run forest! Run! Aka rabbits now hop 2014-09-27 23:59:03 +12:00
libraryaddict
6d38cf0e76 Fix a random in wabbit watcher 2014-09-27 22:35:18 +12:00
libraryaddict
d937fb3e79 Progress 2014-09-27 16:35:21 +12:00
libraryaddict
fb09d93136 Add RabbitType 2014-09-27 15:50:38 +12:00
libraryaddict
66a454c6f4 Add up as valid direction 2014-09-27 15:48:39 +12:00
libraryaddict
702a58c3bf Fix up basecommand and booleans 2014-09-27 15:41:30 +12:00
libraryaddict
ddac7feda3 Fixed head rotation for self disguise player 2014-09-27 14:55:24 +12:00
libraryaddict
bf3e81522b Fix self disguises for player 2014-09-27 14:42:00 +12:00
libraryaddict
2e960f1abf Prevent new self disguises glitching out 2014-09-27 13:11:47 +12:00
libraryaddict
f2d148d0af Fix rabbit ageable 2014-09-27 12:37:28 +12:00
libraryaddict
71cf9c8b7f Add doBeam to guardian 2014-09-27 12:37:22 +12:00
libraryaddict
bde2d51233 Add setRabbitType 2014-09-27 12:37:14 +12:00
libraryaddict
41663bee37 Don't need no endermite watcher 2014-09-27 12:37:08 +12:00
libraryaddict
8cecfe98d6 Add support for 1.8 disguises 2014-09-27 12:18:54 +12:00
libraryaddict
3d99e4975a Use player object instead of string 2014-09-27 12:17:57 +12:00
libraryaddict
d399d80a6c Add is1_8 to LibVersion (Uses 1.7 and 1.8 dual build) 2014-09-27 12:17:43 +12:00
libraryaddict
96e7cd181a Tiny performance boost 2014-09-26 16:50:57 +12:00
libraryaddict
d672013583 Block.getById should now work for older versions of mc 2014-09-24 02:52:38 +12:00
libraryaddict
d766d8c1a5 Fixed setSleeping a ltitle 2014-09-22 05:14:44 +12:00
libraryaddict
286a1bde89 Fixed rotation packet. Don't care to check we actually need it 2014-09-22 05:02:07 +12:00
libraryaddict
19689a2ed6 Add ugly delayed packets fix and fixed player disguises 2014-09-22 04:57:46 +12:00
libraryaddict
d64648cfbf Use a random uuid in gameprofiles. 2014-09-22 04:36:54 +12:00
libraryaddict
f77f5c48ec Added note for future changes to minecarts and datawatchers. Tho I doubt it will ever fruit. 2014-09-17 04:01:48 +12:00
libraryaddict
ae221d8f25 Changed the basecommand to throw a DisguiseParseException instead of IllegalArguementException 2014-09-17 03:41:04 +12:00
libraryaddict
6ebb341788 Fixed compile issues 2014-09-16 12:57:27 +12:00
libraryaddict
4bd420570e Move undisguising on world change to world change event 2014-09-16 12:55:38 +12:00
libraryaddict
4ab9b14993 Formatting 2014-09-15 14:54:14 +12:00
libraryaddict
3d0a5fc113 Fix setSleeping for player disguise in 1.8 2014-09-15 02:22:43 +12:00
libraryaddict
14267f5b61 On second thoughts.. Do this. 2014-09-15 02:22:43 +12:00
libraryaddict
572ebf1bc5 Add V1_7_10 to LibVersion for spigot's 1.8 hack 2014-09-15 02:22:42 +12:00
libraryaddict
17822426ab Demand 'true' or 'false'. Don't allow "fsdfgsd" to be treated as false anymore. 2014-09-15 02:22:42 +12:00
libraryaddict
a34ede1104 Made it throw IllegalArugment exceptions instead of exceptions. Fixed previous commit 2014-09-15 02:22:41 +12:00
libraryaddict
304558cc6e Try all methods before giving up. Fixes duplicate methods = Funny errors 2014-09-15 02:22:41 +12:00
libraryaddict
c21e1b00ff Fix coloring for disguisehelp declaring class 2014-09-15 02:22:40 +12:00
libraryaddict
babe5554ab Add BlockFace aka direction to disguise options 2014-09-15 02:22:39 +12:00
libraryaddict
9f72a3940e Use the ignoreCancelled param instead of event.isCancelled 2014-09-15 02:22:39 +12:00
libraryaddict
c61cd4b6e0 Fix a method casting problem 2014-09-15 02:22:38 +12:00
Likaos
42778bb214 Return if packet is already cancelled 2014-09-13 20:45:17 +02:00
libraryaddict
13524e78f6 Don't silently swallow exceptions and pretend nothing happened.. 2014-09-14 00:22:21 +12:00
libraryaddict
197c500832 Fix error being thrown when using non-flagwatcher option 2014-09-14 00:21:39 +12:00
libraryaddict
785c864d81 Apparently mojang uses the entity id -1 in some packets. May as well use -10 2014-09-14 00:12:06 +12:00
libraryaddict
9be63e1cc8 Sort files and make 4 new options in the disguise class viewable with commands 2014-09-13 21:23:06 +12:00
libraryaddict
ead0fd724c If the method to use isn't part of a flagwatcher class. Make it gray as its a base 2014-09-13 21:18:18 +12:00
libraryaddict
5115af60a0 Move setcustomname and setcustomnamevisible to FlagWatcher 2014-09-07 03:32:45 +12:00
libraryaddict
7b140d0d36 This will probably cause problems.. 2014-09-05 22:32:47 +12:00
libraryaddict
e09bd27bbd Add PlayerWatcher getWatcher to PlayerDisguise. Shouldn't make problems.. 2014-09-05 22:31:16 +12:00
libraryaddict
c7607abdc2 Opps.. 2014-09-05 05:23:17 +12:00
libraryaddict
4853015bd8 Fix look packets being weird in 1.8 2014-09-05 05:22:26 +12:00
libraryaddict
e65613e750 Send destroy packet as well. Can't trust mojang to properly send their packets 2014-09-04 15:08:17 +12:00
libraryaddict
7712219328 Fix a looksee packet 2014-09-03 14:53:30 +12:00
libraryaddict
e5eb16faac Add a new method for converting the datawatchers to 1.8 new indexes 2014-09-03 13:30:11 +12:00
libraryaddict
47366fec94 Don't use constructors for entity_look packet 2014-09-03 11:41:50 +12:00
libraryaddict
81d758ca7f Fix disguises not showing up straight away 2014-09-03 11:38:28 +12:00
libraryaddict
476c756ad1 Use getIntegers instead of getModifiers 2014-09-02 21:50:08 +12:00
libraryaddict
56b5933837 Not sure if this will do anything bad. But it means we don't use their names if non-skinned player 2014-09-02 20:32:52 +12:00
libraryaddict
af9dfb8d6e The name to fetch is either the skin or name. Not both. Move the runnables down to make it accessible and prevent the invalid names using it 2014-08-27 04:25:02 +12:00
libraryaddict
3173ceec77 The name to fetch is either the skin or the name. Not both 2014-08-27 04:24:08 +12:00
libraryaddict
837de50833 1.7.10 is NOT smaller than 1.7.2 2014-08-27 04:23:47 +12:00
libraryaddict
a83e0aee6f Only lookup valid MC names from mojang. We can't save your soul if you do strange names 2014-08-26 14:39:24 +12:00
libraryaddict
a5d8c8ee39 Support 'false' for disguise option permissions 2014-08-20 22:30:33 +12:00
libraryaddict
a505d6f8ab No its not a problem. Only libraryaddict gets to see that and he's a pervert anyways 2014-08-07 03:56:18 +12:00
libraryaddict
0de45fd6b3 Fixed MobDisguise returning playerdisguise 2014-07-30 20:16:15 +12:00
libraryaddict
94f5eccba1 Return a miscDisguise not playerdisguise when calling addplayer on miscdisguise 2014-07-30 19:53:44 +12:00
libraryaddict
d7834e467f Since we can't do anything. Just ignore all async sound packets 2014-07-28 22:15:11 +12:00
libraryaddict
2c101cef8b Revert "Revert "Revert "Use async packet listener for sounds packets. Prevents async concurrent modification exception. May be replaced later."""
This reverts commit a06a81182e.
2014-07-28 22:13:15 +12:00
libraryaddict
20aca0512f Revert "Fix the async sounds listener"
This reverts commit 6e3f5c1606.
2014-07-28 22:13:11 +12:00
libraryaddict
6e3f5c1606 Fix the async sounds listener 2014-07-28 17:05:29 +12:00
libraryaddict
a06a81182e Revert "Revert "Use async packet listener for sounds packets. Prevents async concurrent modification exception. May be replaced later.""
This reverts commit c6875da657.
2014-07-28 17:03:41 +12:00
libraryaddict
c6875da657 Revert "Use async packet listener for sounds packets. Prevents async concurrent modification exception. May be replaced later."
This reverts commit 4c85f6c319.
2014-07-28 10:38:10 +12:00
libraryaddict
491736b668 Swap the args for better looking 2014-07-26 11:22:49 +12:00
libraryaddict
a8f55e6edb Change setSkin on playerDisguise slightly 2014-07-26 11:21:16 +12:00
libraryaddict
b9244866fd Make sure there is no errors if someone calls setSkin on 1.6 or earlier 2014-07-26 11:17:45 +12:00
libraryaddict
0eba652926 Fixed trying to use properties before they were added 2014-07-26 11:10:48 +12:00
libraryaddict
f81e7bba6b Cleaned up LibVersion and added V1_7_6 2014-07-26 11:08:26 +12:00
libraryaddict
4c85f6c319 Use async packet listener for sounds packets. Prevents async concurrent modification exception. May be replaced later. 2014-07-26 07:27:31 +12:00
libraryaddict
4038a090d8 Merge pull request #42 from mcat95/patch-1
setProfession with professionID
2014-07-24 08:02:12 +12:00
riking
6f15938dae Use contains instead of equals........ 2014-07-23 13:00:38 -07:00
mcat95
1198f52bbd Update VillagerWatcher.java
Moved % 6 to new method :P
2014-07-23 21:52:51 +02:00
mcat95
ddb76d7488 setProfession with professionID
With this method, you can disguise as a "generic" villager, which is not in the Profession enum
2014-07-23 20:43:43 +02:00
libraryaddict
d33af82177 Add zombie_villager sounds 2014-07-16 12:37:31 +12:00
libraryaddict
1480dbe5a2 You can now do * disguises and single out disguises they can't use 2014-07-15 12:51:22 +12:00
libraryaddict
6f65448d6e WitchWatcher has no noticable changes 2014-07-14 13:14:21 +12:00
libraryaddict
8e7028ce96 Sort methods 2014-07-14 13:11:30 +12:00
libraryaddict
67e4631a1a Fix minecart spawning facing the wrong pitch 2014-07-14 13:10:41 +12:00
libraryaddict
abc0be8bae Added setHideCape to PlayerWatcher 2014-07-14 13:04:14 +12:00
libraryaddict
288882a427 Update relevent methods 2014-07-14 12:42:45 +12:00
libraryaddict
b859ea28f9 Added setShaking to zombie watcher 2014-07-14 12:42:03 +12:00
libraryaddict
714eaaf0cf Actually getValue isn't that great a idea 2014-07-14 12:41:55 +12:00
libraryaddict
90a92e8ce1 Minor fixes 2014-07-14 12:27:39 +12:00
libraryaddict
56f3c23949 Add setTargets to wither watcher 2014-07-14 12:25:48 +12:00
libraryaddict
7f27835c07 Add int[] to valid params in disguise commands 2014-07-14 12:25:37 +12:00
libraryaddict
dcd85b88ea Minor fix to previous commit 2014-07-14 12:25:21 +12:00