Commit Graph

365 Commits

Author SHA1 Message Date
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
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
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
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
a3b67b9a4f Run forest! Run! Aka rabbits now hop 2014-09-27 23:59:03 +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
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
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
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
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
babe5554ab Add BlockFace aka direction to disguise options 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
197c500832 Fix error being thrown when using non-flagwatcher option 2014-09-14 00:21:39 +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
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
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
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
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
riking
6f15938dae Use contains instead of equals........ 2014-07-23 13:00:38 -07: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
67e4631a1a Fix minecart spawning facing the wrong pitch 2014-07-14 13:10:41 +12:00
libraryaddict
7f27835c07 Add int[] to valid params in disguise commands 2014-07-14 12:25:37 +12:00
libraryaddict
a34f8e1e7e Remove the 'command' from the permission check 2014-07-11 11:25:55 +12:00
libraryaddict
07bcf29862 Opps. Check if its NOT in the list 2014-07-10 12:50:19 +12:00
libraryaddict
7072b29b28 Small fix I forgot how to understand 2014-07-08 10:34:00 +12:00
libraryaddict
f5a9e20b6f Add in new perms where you can define valid playernames and misc ids and data. Also sanitize input
Now lets you use material names and durability as well
2014-07-08 10:06:23 +12:00
libraryaddict
8a3dd58559 Don't do y offset if its a sleeping player (looks ugly) 2014-07-08 06:09:37 +12:00
libraryaddict
1df5f6723e Only resend the player disguise if there is changes that will be noticed. 2014-07-03 21:30:09 +12:00
libraryaddict
8410904f94 Return a self constructed gameprofile if profile lookup failed. 2014-07-03 21:21:40 +12:00
libraryaddict
6742afdaec Plugin is no longer on BukkitDev 2014-06-29 17:07:59 +12:00
libraryaddict
a89a1f88d7 Add support for permissions without a underscore 2014-06-24 14:26:45 +12:00
riking
9abe0bfeed Use correct link for ProtocolLib on Forge 2014-06-23 18:33:48 -07:00
libraryaddict
c61e45c062 Nice going mojang. Can't clamp your yaw to -360 to 360 2014-06-22 01:42:58 +12:00
libraryaddict
bcee5d9677 Fix item_frame disguise 2014-06-21 09:37:53 +12:00
libraryaddict
46773b7b39 Tracker something 2014-06-21 09:37:38 +12:00
libraryaddict
7453053131 Finish up the refresh tracker. Its retarded and I don't want to look at it. 2014-06-21 08:01:42 +12:00
libraryaddict
992e416edf Send self disguise in the same tracker refresh entry.. 2014-06-21 07:58:37 +12:00
libraryaddict
bd317b4cce Don't silently fail when a disguisetype has a null entitytype 2014-06-21 07:29:34 +12:00
libraryaddict
c093a4c734 Two simple checks for self disguises 2014-06-21 07:13:07 +12:00
libraryaddict
01023a29ed Stupid hashsets and hashmaps and their unability to equalsignorecase on strings 2014-06-21 02:12:32 +12:00
libraryaddict
dc6348cf38 Get rid of the silly getData must return Integer 2014-06-19 10:01:08 +12:00
libraryaddict
2c905e38b2 Add the switch cases for MINECART_COMMAND 2014-06-19 09:26:54 +12:00
Kane York
c897e05d33 Add dual-licensing notice to Forge mapping code
BSD-licensed version here: https://gist.github.com/riking/2f330f831c30e2276df7

As a note, @libraryaddict is not bound by the BSD license, but rather by the implicit license granted from me sending a pull request. Therefore, a LICENSE file is not needed in the distributed jar.
2014-06-15 21:10:30 -07:00
libraryaddict
afaf6c16e6 Only send the teleport packet if its a painting disguise 2014-06-16 04:56:00 +12:00
libraryaddict
eb78492fcf Change MiscDisguise thing to Integer instead of int so I can use nulls, this lets me know if a int was set. 2014-06-16 04:29:18 +12:00
libraryaddict
8363b23deb I don't think I need to cancel riding packets. Might be 1.6.4 specific. Anyone care to test? 2014-06-15 21:04:22 +12:00