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
libraryaddict
20b3d02f76
Change self disguises to globally use the entity id -1 for performance and usage in other plugins
2014-06-15 20:12:07 +12:00
libraryaddict
13cf2f5e85
Removed method, make sure that playerNames are case insensitive when looking them up
2014-06-15 19:46:37 +12:00
libraryaddict
7f5a6d9dc4
Tiny cleanup in ReflectionManager
2014-06-15 19:40:10 +12:00
libraryaddict
0496134dee
Formatting by project
2014-06-15 19:35:47 +12:00
libraryaddict
1edc05d9ff
Loop over entities with numbers instead of iterator (CraftBook needs to improve their coding)
2014-06-15 19:33:59 +12:00
libraryaddict
1e607d6bb6
Merge pull request #36 from riking/cauldron
...
Cauldron Compatibility
2014-06-15 19:31:48 +12:00
riking
d1253467a8
Remove debugging throws
2014-06-14 22:45:01 -07:00
riking
7c20a7c3a3
More ReflectionManager stuff
2014-06-14 22:38:16 -07:00
riking
3d64a132a9
More Forge compat changes
2014-06-14 20:19:56 -07:00
riking
0c84316121
Prepare to parse the method searge statements
2014-06-14 19:30:47 -07:00
libraryaddict
fd8fa08c6e
Merge pull request #34 from riking/patch-1
...
Restore single-star from 55f2eb6dca
2014-06-15 13:35:00 +12:00
riking
4ddded6b06
Enquipment -> Equipment
2014-06-14 18:09:14 -07:00
riking
48056c735f
More getNmsField/Method calls
2014-06-14 16:06:02 -07:00
riking
2566d8824e
Create getEntityTrackerEntry()
2014-06-14 15:52:11 -07:00
riking
d7a903c86e
Forge compatibility WIP
2014-06-14 14:58:49 -07:00
riking
d1e162bb97
Restore single-star from 55f2eb6dca
2014-06-14 10:22:28 -07:00
riking
c1b5780d77
Use new-style runTask methods
2014-06-14 10:18:52 -07:00
libraryaddict
21d4bba9f4
Max health is now correctly set on entity spawn
2014-06-14 21:11:37 +12:00
libraryaddict
e940a9e0e9
Allow boolean params to not require a argument to be true
2014-06-14 20:55:28 +12:00
libraryaddict
55f2eb6dca
Let ops use all options
2014-06-14 20:35:42 +12:00
libraryaddict
f777b33917
Read desc
...
Change all the permissions code to a 'better' version
By default people can no longer use options without the option perm or *
DisguiseType returns is now nicer looking
2014-06-14 20:16:48 +12:00
libraryaddict
014c34ce0e
Add in Item height as well, prevents floating disguises when a item is disguised
2014-06-12 18:06:07 +12:00
libraryaddict
4b06deec1b
Fix the id and data crap so its no longer broken
2014-06-06 14:16:16 +12:00
libraryaddict
676d191c52
Merge pull request #30 from riking/stuff
...
Code cleanup
Fix horse rearing
DisguiseHelp improved
2014-06-05 10:47:56 +12:00
libraryaddict
d23e518c1b
Instead of using Object's for gameprofiles. Use WrappedGameProfile
2014-06-05 08:40:15 +12:00
riking
983026a898
Make a callValueOf() method to reduce code repetition
2014-06-04 09:27:52 -07:00
riking
1207d70d6e
Dedent parseDisguise() method for-loop
2014-06-04 09:18:05 -07:00
riking
bb0ac727bf
Remove more redundant actions
2014-06-04 09:17:47 -07:00
libraryaddict
956fef9ca1
Add a config option which fixes a bug where you can dye sheep/wolf client sidedly
2014-06-04 14:43:58 +12:00
libraryaddict
87c0cb4a78
Actually remove the unknown entity id. Not the known entity ids..
2014-06-04 14:20:02 +12:00
libraryaddict
239bc6d645
Check a second after the future disguise was added that it was successful.
2014-06-04 14:12:09 +12:00
libraryaddict
34f0a13b39
Remove badly thought out and obselete feature that didn't work
2014-06-04 13:58:16 +12:00
riking
db5e77d28f
Remove useless local
2014-06-03 18:42:27 -07:00
riking
6d6b766823
For-each loops, remove unused method parameters
2014-06-03 18:42:27 -07:00
riking
5dce8a22e8
Simplify redundant statements and casts
2014-06-03 18:42:27 -07:00
riking
009df4a0ad
Turn manual array copies into System.arrayCopy
2014-06-03 18:42:27 -07:00
riking
d32a077359
StringBuilder, rename local, javadocs
2014-06-03 18:42:27 -07:00
libraryaddict
4e441493c1
Combine inventory listener server and client into one listener. Seeing as they don't need to be seperate and actually cuts down on code
2014-06-04 12:47:52 +12:00
libraryaddict
4bbf0fbece
Clone the disguise when fetched
2014-06-02 10:06:30 +12:00
libraryaddict
31a0b68bdc
Change the use of the disguiseclone command to use references instead
2014-06-02 10:03:59 +12:00
libraryaddict
3426e0adb6
Changed "Can't use command" to follow one message
2014-06-02 03:52:54 +12:00
libraryaddict
5bfd6c5541
Fix outdated code which would make huge problems because of previous fix
2014-06-01 06:53:01 +12:00
libraryaddict
841dab296d
Add setSkin for playerdisguise. This may be removed in future versions
2014-06-01 06:47:05 +12:00
libraryaddict
f94748afa5
Yeah. Fix the memory leak plox
2014-05-29 22:16:04 +12:00
libraryaddict
aea49bfc43
Fix a memory leak :(
2014-05-29 22:10:34 +12:00
libraryaddict
56902b8aff
Don't fetch the datawatcher twice
2014-05-28 21:53:08 +12:00
libraryaddict
39d01c1bea
Use Collection with no <String> or <Player> so that you can feed either in as a parameter
2014-05-28 12:09:16 +12:00
libraryaddict
4e8b0da944
Get rid of this try/catch
2014-05-25 17:58:53 +12:00
libraryaddict
6652959553
Fix up URLDecoding as per @zreed's recommendation
2014-05-25 17:57:34 +12:00
libraryaddict
e24f404e42
Tiny cleanup
2014-05-24 05:24:55 +12:00
libraryaddict
19aabb2656
Fixed sending data on a flagwatcher not taking their real metadata into account when its adding metadata
2014-05-24 05:14:14 +12:00
libraryaddict
26ccaabe83
Added ability to set the max health of a disguise using attributes
2014-05-23 14:52:21 +12:00
libraryaddict
0c305a8151
Fixed isRightClicking being slightly bad
2014-05-23 14:03:02 +12:00
libraryaddict
ae06e527be
Added disable metadata packet - Aka cached
2014-05-23 13:58:21 +12:00
libraryaddict
a70932da4d
Forgot to add a hook here..
2014-05-23 10:33:50 +12:00
libraryaddict
d4ac36b1ef
added small note
2014-05-23 10:30:56 +12:00
libraryaddict
71f15dff77
Added a way to selectively disguise only certain entities with disguise radius. Also changed the coloring of the help
2014-05-23 09:14:52 +12:00
libraryaddict
92172f91af
Add classgetter
2014-05-23 09:13:35 +12:00
libraryaddict
31dd6ef5e3
Allow -baby to exist in perms
2014-05-23 08:26:43 +12:00
libraryaddict
72d07e7f62
Added a slew of options to disable packets for performance gains
2014-05-23 08:14:46 +12:00
libraryaddict
eef044a5a6
Fix up multiple options for a single disguise
2014-05-22 08:22:50 +12:00
libraryaddict
ccb512a20b
Tiny tiny cleanup
2014-05-22 05:42:53 +12:00
libraryaddict
34418ddab5
Tell them exactly what option they can't use
2014-05-22 05:26:13 +12:00
libraryaddict
720c4f3c66
Set the current version as 1.7 by default as a failsafe
2014-05-13 22:26:34 +12:00
libraryaddict
c5e579f608
Add helpful info for future reference
2014-05-13 22:26:10 +12:00
libraryaddict
96ecf57dd3
Revert "Add a . to the end of the bukkit version. Might help MCPC"
...
This reverts commit 23da447d7b
.
2014-05-12 13:46:29 +12:00
libraryaddict
d81b1d8b7c
Removed true/false for disguise commands
2014-05-09 16:35:24 +12:00
libraryaddict
23da447d7b
Add a . to the end of the bukkit version. Might help MCPC
2014-05-09 03:02:26 +12:00
libraryaddict
19f895667a
Give the update messages without exceptions
2014-05-05 19:53:16 +12:00
libraryaddict
5f69b11ab4
Add another check
2014-04-26 15:34:48 +12:00
libraryaddict
05a849a510
Just use the field name instead of regetting it
2014-04-23 11:49:24 +12:00
libraryaddict
62debf30c0
Don't permanantly store the game profile
2014-04-23 11:44:12 +12:00
libraryaddict
5413b4f852
Change grabSkull to getSkull
2014-04-20 02:13:56 +12:00
libraryaddict
c2e7aae201
Only allow refreshing entity is the entity is valid
2014-04-19 23:14:58 +12:00
libraryaddict
4e09a64abb
Just make it a runnable. More convident for my plugins
2014-04-19 23:11:56 +12:00
libraryaddict
43e6e6cc36
Changed the names and some methods so its easily used by outside plugins
2014-04-19 18:22:27 +12:00
libraryaddict
74d5dbce9e
Read desc
...
Added methods for other plugins to request GameProfiles
Changed GameProfiles to lookup UUID's with a different API as the old
one barfed
2014-04-19 08:14:02 +12:00
libraryaddict
b0f1a756cc
Opps. Change a order
2014-04-18 19:52:54 +12:00
libraryaddict
4ebf7bdf51
Read desc
...
Added new permission system.
This should allow people to use * better
2014-04-18 19:50:48 +12:00
libraryaddict
5f03b75eb7
Refresh all disguises using that playername. Not just the caller
2014-04-16 16:26:19 +12:00
libraryaddict
1a10b6a774
Use nms to get the uuid
2014-04-15 02:54:04 +12:00
libraryaddict
8511911e7e
Just get the playername exactly as it was fed.
2014-04-15 02:29:41 +12:00
libraryaddict
6ce864ae6c
Remove old code for player disguises, support 1.7.9 code for disguises!
2014-04-15 02:26:31 +12:00
libraryaddict
5801356fbf
Try avoid infinite loops when sending self disguise
2014-04-13 13:15:04 +12:00
libraryaddict
d4d657e53b
My bad.. Didn't know GameProfiles were like this in 1.7
2014-04-12 17:19:46 +12:00
libraryaddict
3d60fe3c49
Allow players to retain their skins if they disguised as theirselves
2014-04-12 17:07:27 +12:00
libraryaddict
8c2261798e
Allow disguises in 1.7.6 - 1.7.8 but no skins for players!!
2014-04-12 16:22:47 +12:00
libraryaddict
d53a34f5e4
When using disguise command. 'p' is a subsitute for player
2014-04-12 05:31:46 +12:00
libraryaddict
684d996754
Use randomly generated version 1 UUID's
2014-04-12 04:11:51 +12:00
libraryaddict
4e381f9d60
Remove the UUID fetcher code. Its useless now
2014-04-11 11:54:56 +12:00
libraryaddict
8ac42f97c1
Opps
2014-04-11 08:00:25 +12:00
libraryaddict
d20abcb223
Only return if they are still online. Fixes a bungeecord crash mostly
2014-04-11 07:57:23 +12:00
libraryaddict
7af61ee7df
Opps. Now it grabs it from a online player
2014-04-11 04:57:14 +12:00
libraryaddict
4a63ff07ee
Always send a empty string. Never lookup a offline players UUID
2014-04-11 04:45:55 +12:00
libraryaddict
0ebfe0a776
Don't use a random UUID. Should fix a protocol crash
2014-04-11 04:34:37 +12:00
libraryaddict
28f70c1963
Fixed self disguises and player disguise falling out of sync
2014-04-09 22:04:18 +12:00
libraryaddict
9e72e77c66
Read desc
...
Wait. If the disguise is not able to fetch a UUID. Don't bother making
the lookup happen again when someone sees it again.
Also, we only cares about one name. The name we called the fetcher with!
2014-04-09 04:16:49 +12:00
libraryaddict
5ab3061b20
Now use what we just added
2014-04-09 04:15:19 +12:00
libraryaddict
03acc45c6d
Add class so I have soemthing to call to get the UUID
2014-04-09 04:14:59 +12:00
libraryaddict
dab0c5d3c5
Add method to get a UUID from a playername and store it for future reference
2014-04-09 04:14:18 +12:00