Commit Graph

626 Commits

Author SHA1 Message Date
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
54411b49de Change the message sent 2014-04-09 04:56:10 +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
91623b8886 Random sort by name 2014-04-09 04:15:11 +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
libraryaddict
1b2c2c4690 Change gameprofile to accept UUID's 2014-04-09 04:13:54 +12:00
libraryaddict
ce75918001 Read desc
Added new command LibsDisguises
Tells the command user who made the plugin.
And if the player who called the command is called by the attractive
name 'libraryaddict' then it also tells that curious user the version of
the plugin.
Worried about it being a exploit? Why? I know of all bugs/exploits and
could just try them all out if I didn't know the version. If there was a
exploit in the first place anyways.
The command is there to give credit to me, and so I can urge servers to
update.

Against this command?
I see you don't like plugin developers getting credit for their work
that you use for free.
Please move back to disguisecraft.
2014-04-07 00:15:47 +12:00
libraryaddict
2879834a7e Close the stream safely 2014-04-05 03:47:33 +13:00
libraryaddict
9a4a9b9845 Fixed reloading the plugin throwing errors. Wasn't closing a stream 2014-04-05 03:44:35 +13:00
libraryaddict
31252e896e Use schedulers instead of BukkitRunnable. Supports re-disguising! 2014-04-05 03:40:17 +13:00
libraryaddict
1b914b9c7b Reset the dead ticks 2014-04-05 03:23:46 +13:00
libraryaddict
a49cea54e7 To prevent disguises remaining on players after death, and enderdragons from missing out on animations 2014-04-04 19:17:56 +13:00
libraryaddict
f3b3c15685 Disguises are now removed 30 ticks after death, and by sending entity remove packets 2014-04-04 18:54:40 +13:00
libraryaddict
3709db548a Fixed a bug with a existing method having the same name as a method with no args 2014-04-04 18:32:49 +13:00
libraryaddict
d16da8d26f Fix small text typos 2014-04-04 18:30:20 +13:00
libraryaddict
fb42ffa097 Always refresh the disguise. Some plugins like to set the entities health. 2014-04-03 20:53:02 +13:00
libraryaddict
8f63a6eaa0 Removed Deprecated methods and added a few isAdult codes to zombie and ageable watchers 2014-04-03 02:49:33 +13:00
libraryaddict
25df368e9a Added new config options to keep a disguise 2014-04-03 02:39:52 +13:00
libraryaddict
376f18ef95 Maybe something so the disguise can be reused if the entity comes back 2014-04-03 02:06:21 +13:00
libraryaddict
167f14bfe8 Add support for disguiseNextEntity 2014-04-03 02:02:58 +13:00
libraryaddict
07bf03f154 Change the disguises to store UUID's. Not ints. 2014-04-03 01:54:36 +13:00
libraryaddict
b6fca92817 Change self disguises to use UUID's instead of integers as the key 2014-04-03 01:49:48 +13:00
libraryaddict
4bc09faa37 If packets are null. Remake the containers boy! 2014-03-24 01:52:39 +13:00
libraryaddict
b5c8d69398 I forget why we delay them. I think I had a really really good reason. 2014-03-24 01:45:31 +13:00
libraryaddict
1dbe7ad056 Check if the packets from transformPackets are null before attempting to use them 2014-03-24 01:45:02 +13:00
libraryaddict
a2e43e98be Don't use setPacket for the packet listeners. That was a bug. Packets are also no longer delayed by a tick 2014-03-23 17:57:57 +13:00
libraryaddict
d141740aa0 Fixed a retarded set value 2014-03-22 03:53:20 +13:00
libraryaddict
f3ef6e13f3 Fixed experience orb self disguise 2014-03-21 02:03:34 +13:00
libraryaddict
789740c358 Add a option to only remove the disguise when it is invalid, only remove the current disguise. 2014-03-16 09:05:12 +13:00
libraryaddict
1ba39f8920 Don't let people disguise as air blocks 2014-03-09 12:05:36 +13:00
libraryaddict
ae874392ab Clone the packet, should resolve people hearing invisible disguises sounds 2014-03-06 05:13:17 +13:00
libraryaddict
143f72a20f Blow disguise for attackers as well 2014-03-03 10:22:29 +13:00
libraryaddict
cb58cdd8d3 Added convidence method for me to use in other plugins 2014-02-28 10:59:22 +13:00
libraryaddict
f14ee20e7c The disguised client no longer appears to mount a vechile if he is not living. This will bug out slightly however. 2014-02-10 12:15:58 +13:00
libraryaddict
575756ca72 Remove deprecated warnings from 2 methods 2014-02-08 07:02:20 +13:00
libraryaddict
306b246f76 Minor performance cleanup. 2014-02-07 13:50:40 +13:00
libraryaddict
8139267af8 Small change to a order 2014-01-31 23:00:24 +13:00
libraryaddict
a3297c918b Fix crashes as reported by andrewkm 2014-01-31 22:56:05 +13:00
libraryaddict
6c6d6c6fe2 Fixed disguises interfering with player movement when they appear 2014-01-29 15:57:17 +13:00
libraryaddict
b63df3943f Fixed the disguise blown message not displaying 2014-01-29 15:39:12 +13:00
libraryaddict
b85e26321b Don't send the message if the length is 0 2014-01-26 13:23:53 +13:00
libraryaddict
06f2f4e4b2 Always send the velocity for fireworks so they don't appear so glitched 2014-01-23 15:09:38 +13:00
libraryaddict
6bec4c20c4 Store bukkit itemstack 2014-01-23 09:07:56 +13:00
libraryaddict
a5eddd4305 Fixed primed tnt glitching out 2014-01-23 08:53:34 +13:00
libraryaddict
14c0696c9e Fixed illegal stance 2014-01-23 08:39:17 +13:00
libraryaddict
1ab064ec0e Now can set and get the horse armor on a horse disguise 2014-01-22 18:07:11 +13:00
libraryaddict
85077227a2 Fixed the disguise blown message not being used 2014-01-21 14:05:32 +13:00
libraryaddict
ad109b0cda Tiny tiny code cleanup 2014-01-21 06:35:42 +13:00
libraryaddict
38ee3dc983 Read desc
Changed config methods to DisguiseConfig
Added a new config option to blow a disguise
2014-01-21 06:01:49 +13:00
libraryaddict
ff6567ba23 Why write the fake entity id if we don't use false in the send packet? 2014-01-21 05:34:07 +13:00
libraryaddict
62c2050587 Maybe make the entire runnable this much less laggier. 2014-01-21 05:29:14 +13:00
libraryaddict
7da523c783 Fixed zombie walk sound being outdated 2014-01-20 14:19:34 +13:00
libraryaddict
2aeb55cff9 Changed the feature somewhat 2014-01-20 09:28:49 +13:00
libraryaddict
58ee6f37b7 Add in the long awaited feature to have monsters ignore disguises 2014-01-20 09:25:29 +13:00
libraryaddict
1cea2e2163 Silly mojang and their silly bugs. Fixed right clicking not always working 2014-01-19 11:32:02 +13:00
libraryaddict
01dd3ef587 Updated the update checker so it uses bukkit as well (ew) 2014-01-19 09:18:58 +13:00
libraryaddict
8535ccf2dd Fixed the damage and idle sound getter being completely wrong. 2014-01-19 08:39:23 +13:00
libraryaddict
f24eaa4854 Fixed player disguise not playing the hurt sound 2014-01-19 08:24:27 +13:00
libraryaddict
1c6dc8233f Cleaned up game versions to support more than 2 versions 2014-01-19 08:21:55 +13:00
libraryaddict
d940a44f49 Mobs no longer do horror stories of twisting their head around in circles when disguised as player 2014-01-18 14:46:18 +13:00
libraryaddict
2a7985497e Fixed a message assuming a player is a male 2014-01-18 14:23:27 +13:00
libraryaddict
4dc241a90a Removed useless () in DisguiseType 2014-01-18 14:23:16 +13:00
libraryaddict
72890b0f90 Corrected pitch calculations not being used when entity spawn packet is made 2014-01-18 14:22:58 +13:00
libraryaddict
a1000283c8 Opps. Real fix here 2014-01-15 23:14:40 +13:00
libraryaddict
c4efd3fe8f Don't crash when a empty string is fed for player disguise 2014-01-15 23:14:21 +13:00
libraryaddict
c1374e8523 Fixed a error when chceking for disguise conflicts 2014-01-15 22:40:33 +13:00
libraryaddict
9f35d646ba Fixes a error when disguising as a horse with options 2014-01-11 15:13:51 +13:00
libraryaddict
c732b373b7 Prevents errors being thrown for unsupported method 2014-01-11 10:06:59 +13:00
libraryaddict
7e090bac47 If the version length is more than 7 chars. Its not a real version. 2014-01-08 06:44:36 +13:00
libraryaddict
5c94b59801 Don't glitch out when trying to sleep. 2014-01-05 13:13:49 +13:00
libraryaddict
69b104f749 Some cleanup. Forgot what 2014-01-05 12:27:20 +13:00
libraryaddict
9f4ae91b83 Fixed bed crashing people 2014-01-05 11:07:22 +13:00
libraryaddict
84234b8788 Fix a packet erroring if player is sleeping 2014-01-05 11:05:19 +13:00