Commit Graph

1781 Commits

Author SHA1 Message Date
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
libraryaddict
696f952c4e Change getValue to use generics so I don't have to cast 2014-07-14 12:22:06 +12:00
libraryaddict
7d0175c563 Add witchwatcher (isAggressive and setAggressive) 2014-07-14 12:13:30 +12:00
libraryaddict
29bae6b67a Fix it casting to integer when its a byte 2014-07-13 07:27:14 +12:00
MeltedLux
e95134d1b9 Damn spelling 2014-07-12 19:39:45 +01:00
libraryaddict
6696060105 Don't blow disguises if the event was cancelled 2014-07-12 08:52:17 +12:00
libraryaddict
98681cd93b Fix Aggressive misspelling 2014-07-12 07:07:54 +12:00
libraryaddict
5703d5995d Fix isAgressive in enderman watcher 2014-07-12 07:06:23 +12:00
libraryaddict
3d44760b1b Changed TargetedDisguise to have its methods return disguises
This finishes the commits which allows you to now use a disguise builder
while breaking tons of plugins using Lib's Disguises.
In retrospect. I should make a DisguiseBuilder instead.
2014-07-11 17:16:19 +12:00
libraryaddict
54d785b680 Break all the plugins!
Changes all methods returning void in the Disguise objects to return the
Disguise itself.
The methods startDisguise and removeDisguise now return a boolean which
indicates the success of the method called.
Added stopDisguise as its rather obvious when compared to startDisguise
However that method merely calls removeDisguise
2014-07-11 17:07:47 +12:00
libraryaddict
bb442fb3a5 Fix a minor error with the previous commit 2014-07-11 16:37:53 +12:00
libraryaddict
0791461629 Change setSkin in playerDisguise to return the disguise 2014-07-11 16:37:34 +12:00
libraryaddict
d37acf8f84 Breaks existing API usage for setEntity to return a disguise object 2014-07-11 16:36:47 +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
6e7c76cdf5 Add info on what the id and data combo's do 2014-07-08 09:35:17 +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
8f2c5d6e54 Don't add potioneffect when watcher already has a potion effect. Don't compare the length of custom name. But check if its null 2014-07-03 18:34:06 +12:00
libraryaddict
aed3bbddf4 Simple formatting 2014-06-30 15:12:24 +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
29e1bf67de Sort fields by name 2014-06-21 09:48:20 +12:00
libraryaddict
c7127f56f5 Clean up the ItemFrameWatcher and add a small description to config.yml 2014-06-21 09:48:00 +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
dea2dc856a Why was this a Integer.. 2014-06-21 07:28:11 +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
410f71044f Forgot this case 2014-06-19 09:29:37 +12:00
libraryaddict
2c905e38b2 Add the switch cases for MINECART_COMMAND 2014-06-19 09:26:54 +12:00
libraryaddict
e40cd3d60e Add DisguiseType MINECART_COMMAND 2014-06-19 09:24:57 +12:00
libraryaddict
fb3b7d86ee Deprecate minor capital spelling mistake in minecart watcher 2014-06-18 04:10:04 +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
d93f689356 Item_Frame is NOT a valid disguise 2014-06-15 20:45:13 +12:00
libraryaddict
ac391d9f07 Just use the methods that I already made 2014-06-15 20:39:35 +12:00
libraryaddict
e9fd160be8 Fixed a missed typo where disguisenextentity comes up with weird disguise names 2014-06-15 20:38:13 +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
bdbaa95fae Change equipment option to screw up people who disabled it 2014-06-15 19:38:11 +12:00
libraryaddict
8401f9b091 Add and deprecate Equipment packets config setter option 2014-06-15 19:37:00 +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
libraryaddict
69ea8ed2a0 Change listener to monitor and make sure that PlayerPortalEvent isn't cancelled before removing disguises 2014-06-15 15:00:18 +12:00
libraryaddict
b9087f6fc3 Remove two imports 2014-06-15 14:58:39 +12:00
libraryaddict
7c5a7b0225 Move Disguise and Undisguise events into the Disguise methods instead of the api calls 2014-06-15 14:57:06 +12:00
libraryaddict
264b2ef8a2 Tell the user how many options they ignored. 2014-06-15 14:52:45 +12: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
2b86c98fbb Seriously, wtf? Removed reflection on Bukkit API. 2014-06-14 18:06:15 -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
4766d2a0d1 Some wording cleanup 2014-06-14 10:18:52 -07:00
riking
c1b5780d77 Use new-style runTask methods 2014-06-14 10:18:52 -07:00
libraryaddict
4c14e6b72a Make it red.. Ladies love red 2014-06-14 21:16:11 +12: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
61d8ca7b42 Let people see only options they can use 2014-06-14 20:45:19 +12:00
libraryaddict
55f2eb6dca Let ops use all options 2014-06-14 20:35:42 +12:00
libraryaddict
832a2a4d30 Bat shall no longer sink slowly 2014-06-14 20:34:18 +12:00
libraryaddict
3d26348b69 Why set it to the same values as default 2014-06-14 20:33:10 +12:00
libraryaddict
b4f1569b95 Don't send bat if bat aint flying 2014-06-14 20:32:47 +12:00
libraryaddict
c145ae5106 Add new disguise option to remove disguises on world change 2014-06-14 20:27:48 +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
4d1092f41d Rearrange this 2014-06-12 18:21:20 +12:00
libraryaddict
cddfbafb3d Don't include entity class in usable params, allow people to use a EntityType as well 2014-06-12 18:15:41 +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
0056898e01 Also work for EntityType for DisguiseRadius 2014-06-12 18:05:34 +12:00
libraryaddict
85ff3769cf Don't attempt to use EntityType's that are null 2014-06-10 12:42:53 +12:00
libraryaddict
53754ee684 Cleaner 2014-06-10 12:42:00 +12:00
libraryaddict
572d94219d Fix Horse not being found in old versions 2014-06-10 12:31:36 +12:00
libraryaddict
4b06deec1b Fix the id and data crap so its no longer broken 2014-06-06 14:16:16 +12:00
libraryaddict
7b5d998e25 Set minecart hoppers minecart type in disguisetype 2014-06-06 14:16:02 +12:00
libraryaddict
6bfa4b3d66 Set the miscDisguise id and data 2014-06-06 13:59:22 +12:00
libraryaddict
e3ca6c5b74 Change setGameProfile to setSkin and add logic for it 2014-06-06 00:08:54 +12:00
libraryaddict
708b184fa5 Attempt to use the UUID from the gameprofile 2014-06-05 23:52:04 +12:00
libraryaddict
06fdc16ca2 Make the miscdisguise code readable and not so unreliable for what you want/need 2014-06-05 12:08:28 +12:00
libraryaddict
dd5dc5d320 Don't group them, just colorize them and sort all methods by name together 2014-06-05 11:45:17 +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
riking
3ebf54c192 Fix FQN in DisguiseType 2014-06-04 15:16:45 -07:00
riking
d645004abd Revert "Eh, let's just remove the shift by 0. Also doc the method"
This reverts commit 23303952b4.
2014-06-04 14:54:47 -07:00
riking
2ec2cbfb1c Some help improvements - color yellow if method is specific 2014-06-04 14:54:47 -07:00
libraryaddict
d23e518c1b Instead of using Object's for gameprofiles. Use WrappedGameProfile 2014-06-05 08:40:15 +12:00
riking
5a288c586e Fix Horse's Rearing parameter 2014-06-04 12:10:51 -07:00
riking
0d8dce4538 Prefer storing the methods instead of getting them every time 2014-06-04 09:43:29 -07: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
riking
23303952b4 Eh, let's just remove the shift by 0. Also doc the method 2014-06-04 08:33:30 -07:00
libraryaddict
7cde5b755e Read desc
Added boolean to disguise which tells you simply if the disguise is in
use or not.
In use means that the plugin stores a reference, doesn't nessercerily
mean there is a entity.

Added method startDisguise() to disguise and cleaned up setEntity().
Helps counter the idiots who hate DisguiseAPI
2014-06-05 00:30:12 +12:00
libraryaddict
f894b34264 Disguise commands now tell you when they didn't disguise successfully 2014-06-05 00:26:35 +12: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
f535eefabf Instead of throwing a error then another error. Just make a FlagWatcher after the first error 2014-06-04 14:00:08 +12:00
libraryaddict
34f0a13b39 Remove badly thought out and obselete feature that didn't work 2014-06-04 13:58:16 +12:00
riking
09a58efbd1 Fix the build 2014-06-03 18:47:00 -07:00
riking
db5e77d28f Remove useless local 2014-06-03 18:42:27 -07:00
riking
46c63ed841 TODO entries 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
riking
c4b48df0ee Apply unused config value, but keep behavior - looks broken 2014-06-03 18:42:26 -07:00
riking
a25bc46dea Move tryClose() method in order 2014-06-03 18:41:26 -07:00
riking
180998e5ca Refactor: tryClose() method 2014-06-03 18:41:26 -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
297dcd351f Check the current disguise is also the current flagwatcher 2014-06-04 12:42:49 +12:00
libraryaddict
72f8aad151 Put the strings in the same getter. It makes no difference and is cleaner 2014-06-04 12:42:49 +12:00
riking
b96337f29b Refactor out initConfig method 2014-06-03 17:42:13 -07:00
libraryaddict
6b18fafca4 Changed getOwner in tameable to return null 2014-06-02 23:39:31 +12:00
libraryaddict
04de21dba4 Changed getHorseArmor to return a itemstack, rename getHorseArmor to getHorseAmorAsInt and default owner name is null 2014-06-02 23:39:12 +12:00
libraryaddict
a9d5e8b109 Opps. Fixed the method calling itself instead of the proper API call 2014-06-02 23:28: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
4b55a24444 Fix AnimalColor getting not working properly 2014-06-02 08:56:18 +12:00
libraryaddict
d7010c6389 Add AnimalColor for Sheep color and wolf color 2014-06-02 08:56:07 +12:00
libraryaddict
e7301e06d0 Get rid of ridiculous message in disguiseclone command 2014-06-02 04:17:11 +12:00
libraryaddict
b999f48fef Added options to choose how long a disguise entity and disguise clone command is valid for 2014-06-02 04:14:35 +12:00
libraryaddict
4262221133 Add Disguise Clone command to clone a entity to look like them 2014-06-02 04:08:54 +12:00
libraryaddict
fb1f7a698c Added constructDisguise api to clone a entity into a disguise 2014-06-02 04:06:38 +12:00
libraryaddict
3426e0adb6 Changed "Can't use command" to follow one message 2014-06-02 03:52:54 +12:00
libraryaddict
6ac7106df7 Added method to get the disguisetype from a entity, including horses, zombie villager and wither skeleton 2014-06-02 03:27:14 +12:00
libraryaddict
41c565384d Read desc - Horse watcher
Fixed horse watching thinking to use Byte when its integers
Deprecated setHorseArmor(int)
Added setHorseArmor(ItemStack)
Fixed setCarryingChest(boolean) forcing true
2014-06-02 03:25:35 +12:00
libraryaddict
0625db63ff Return null instead of a empty string 2014-06-02 03:24:29 +12:00
libraryaddict
0afcef09b5 Check if custom name is null before assuming it is 2014-06-02 03:23:02 +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
93f807e6c9 Minor code cleanup 2014-05-31 05:34:34 +12:00
libraryaddict
2cb8d90158 Added new method so that you can't get a commentless config 2014-05-31 05:29:40 +12:00
libraryaddict
0e828eaf07 Opps. Fixed DisguiseType's with a _ not displaying properly in DisguiseEntity 2014-05-29 23:31:23 +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
b04f5faea9 Fix config being saved everytime and comments being wiped 2014-05-28 21:42:11 +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
7c12b2e0b3 Did I screw up isAdult.. Huh 2014-05-24 05:18:24 +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
0f09a92e75 Or rather, the opposite of it 2014-05-24 05:05:02 +12:00
libraryaddict
a4f9666cd0 Just use isOnline() 2014-05-24 05:04:12 +12:00
libraryaddict
81854db3d0 Exp packets shouldn't be in the velocity group 2014-05-24 05:02:17 +12:00
libraryaddict
999c80076d Tiny code cleanup 2014-05-24 05:01:51 +12:00
libraryaddict
bff21ab039 Allow sendData of multiple data 2014-05-23 16:51:00 +12:00
libraryaddict
9e4ad0ba8e Added tameable watcher 2014-05-23 16:40:22 +12:00
libraryaddict
f3a81a84a4 Don't bother checking if watcher is null. If they have a entity, they can't have a null watcher 2014-05-23 15:11:20 +12:00
libraryaddict
567a84b8dc Don't do checks if the player is self disguised. Perverts see everything anyways unless we want to show em something special 2014-05-23 15:07:20 +12:00
libraryaddict
1e12939d87 setMaxHealth now sends the packet as well 2014-05-23 15:06:52 +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
eb712a06b9 Clamp the slime size value, don't let them do negative sizes. 2014-05-23 11:31:36 +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
b44aba87d4 Give errors when they attempt to use misc disguise on living entities with commands 2014-05-23 08:22:07 +12:00
libraryaddict
72d07e7f62 Added a slew of options to disable packets for performance gains 2014-05-23 08:14:46 +12:00
libraryaddict
ecae8b3400 Do sub-sections when saving default config 2014-05-23 08:00:10 +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
0b5e20180d Fixed disguise entity command throwing errors. Cleaned up the messages moar 2014-05-14 10:54:44 +12:00
libraryaddict
3604c83797 Ensure they use the right disguise for the disguisetype 2014-05-14 10:43:13 +12:00
libraryaddict
8db338f533 Deprecate the replaceSounds and add new constructors for miscDisguise 2014-05-14 10:34:41 +12:00
libraryaddict
b7dfb2c66b Changed disguise entity command to do better messages 2014-05-13 22:32:15 +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
514ad74db3 Why bother pretending its not dirty 2014-05-09 16:31:05 +12:00
libraryaddict
578f2ce504 Add disguiseToPlayers player... to DisguiseAPI. I can't add List<> because of conflicts 2014-05-09 16:28:35 +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
299347d81c Change a message slightly from slap to right click 2014-05-05 21:34:19 +12:00
libraryaddict
c9b9710a78 Don't allow them to set the watcher willy nilly without verifiying it 2014-05-05 19:59:47 +12:00
libraryaddict
19f895667a Give the update messages without exceptions 2014-05-05 19:53:16 +12:00
libraryaddict
6c0a08e95c Typo count by prplz. Somehow doesn't seem to have anyone complaining about it.. 2014-05-02 18:22:09 +12:00
libraryaddict
ebefbfe2c7 Wolf is now tamed if you set the collar color 2014-05-02 16:08:27 +12:00
libraryaddict
080288d2bf Small change for internal debug 2014-04-26 15:42:35 +12:00
libraryaddict
5f69b11ab4 Add another check 2014-04-26 15:34:48 +12:00
libraryaddict
60326253a2 Change the disguiseNextEntity to return a int 2014-04-24 09:50:26 +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
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
libraryaddict
6dad2c03cf Clone the disguise else targeted disguise throws errors 2014-01-04 22:16:03 +13:00
libraryaddict
6764a984fb Return if the set entity is the same as the existing entity 2014-01-04 22:15:49 +13:00
libraryaddict
c7ae572c15 Add bounding box to cloned disguises 2014-01-04 22:15:18 +13:00
libraryaddict
400b73c232 Add arrow bot as a cancelled sound 2014-01-04 22:14:57 +13:00
libraryaddict
5938672ba3 Cancel the 'not sleeping' animation if he is disguised as sleeping 2014-01-03 07:59:56 +13:00
libraryaddict
d7a929021c Modify player sleeping height to a more realistic option 2014-01-03 07:58:05 +13:00
libraryaddict
ac1c8efe07 Opps. Missing change 2013-12-31 20:08:27 +13:00
libraryaddict
a7e7097666 Clean up. Fix code. Remove useless code. 2013-12-31 20:08:14 +13:00
libraryaddict
2b3657b7b4 ARE YOU HAPPYU NOW 2013-12-31 18:37:28 +13:00
libraryaddict
a16eb28708 Fixed it more for my true love. Why do I want to eat butter? 2013-12-31 18:33:42 +13:00
libraryaddict
e82cc37383 Another fix for Prince Yukon of the apple farm 2013-12-31 18:30:25 +13:00
libraryaddict
fe19fd440c Nasty hack for Mr apple to spew on 2013-12-31 18:10:29 +13:00
libraryaddict
62febe6d39 Let the entire bounding box for non-players be edited so sayth the lord 2013-12-29 20:36:30 +13:00
libraryaddict
631bc893f4 Magma cube no longer seems to need modified fall speed 2013-12-24 18:25:21 +13:00
libraryaddict
239737b083 Added setSleeping and isSleeping to player watcher 2013-12-24 18:20:50 +13:00
libraryaddict
25471787aa Update getPerverts to be in the DisguiseUtilities 2013-12-24 17:30:39 +13:00
libraryaddict
2f1127e126 Bad fix for slabs issue 2013-12-22 18:13:12 +13:00
libraryaddict
038b6478ea Prevent players from being kicked for attacking enderdragon 2013-12-22 17:55:34 +13:00
libraryaddict
a3ddce6c5f Think its fixed now 2013-12-22 17:35:57 +13:00
libraryaddict
0f280da385 Some working code for apple 2013-12-22 16:58:49 +13:00
libraryaddict
aa32f49bbe What working code I have. 2013-12-22 16:23:55 +13:00
libraryaddict
d00d10f3a8 Fix the bounding box problems. Now just block glitching and suffocation 2013-12-22 14:30:15 +13:00
libraryaddict
f6d0994079 Actually set the bounding box 2013-12-22 13:03:47 +13:00
libraryaddict
686b25d59b Add a way to get and set the bounding box of disguises 2013-12-22 12:36:06 +13:00
YukonAppleGeek
36f9f25116 Always remove disguise and update if necessary 2013-12-20 00:09:33 -06:00
libraryaddict
7bb0008b42 Minor textual fix 2013-12-17 22:23:57 +13:00
libraryaddict
f2daaeefcd Updated the error message so I can give even less support 2013-12-17 08:11:30 +13:00
libraryaddict
f4d0af190c Clean up some moar 2013-12-17 08:03:59 +13:00
libraryaddict
f7878f411d Cleanups here. Cleanups there. Cleanups everywhere. 2013-12-17 07:47:29 +13:00
libraryaddict
e221dc4757 Fixed ocelot settamed and setsitting not working. added issitting and istamed 2013-12-17 07:46:30 +13:00
libraryaddict
e4d71bb6a4 Check player is online as well. Fixes the errors 2013-12-17 00:11:13 +13:00
libraryaddict
3e4f581943 Possibly fix the entity animations from playing over and over in self disguises 2013-12-15 02:46:08 +13:00
libraryaddict
b026f30087 Add sounds for self disguises player to not be cancelled. 2013-12-15 02:33:11 +13:00
libraryaddict
d4461f7ade Add the ability to negate options instead of giving options 2013-12-14 17:01:25 +13:00
libraryaddict
319c987f94 Added 2 config options to show names above disguised players head 2013-12-09 04:44:02 +13:00
libraryaddict
8dd604153e Deprecated isFused and setFused as they are the same as isIgnited and setIgnited 2013-12-08 17:34:30 +13:00
libraryaddict
585f8ad116 Add compatibility for older versions of MC for sounds 2013-12-08 15:36:11 +13:00
libraryaddict
a178fbace7 Fix 1.7 self disguises sounds not playing properly 2013-12-08 15:32:57 +13:00
libraryaddict
95e28757b7 Fixed the version checking being wrong. 2013-12-08 10:49:41 +13:00
libraryaddict
cdc02b4090 Cleaned up code. Fixed error for sounds handling 2013-12-08 07:51:37 +13:00
libraryaddict
90e3960923 Clean up the code 2013-12-08 03:33:56 +13:00
libraryaddict
a8b5c44a72 Convert all the packet ids to use the new packettype 2013-12-08 03:30:30 +13:00
libraryaddict
af51c6def0 Fix error 2013-12-06 20:19:08 +13:00
libraryaddict
b29e8e6115 Read desc
Added method to reflection manager to check if after 1.7
Fixed error with packet use entity
Fixed error with walk sounds
2013-12-06 20:13:45 +13:00
libraryaddict
3541e82c48 Minor code cleanup 2013-12-06 05:01:08 +13:00
libraryaddict
a759cfaa59 Changed getHeldItem and setHeldItem in enderman and flagwatcher to setItemInHand 2013-12-05 21:27:46 +13:00
libraryaddict
40694c5030 Added setBaby and isBaby to zombiewatcher. Deprecated setadult for ageable and zombie watcher 2013-12-05 21:21:27 +13:00
libraryaddict
bd83ff0c80 Fix bug. And it only removes the disguises targeted towards certain players. 2013-12-05 21:06:52 +13:00
libraryaddict
6e5241aec3 Add new config option to remove unseen disguises for targeted disguises. 2013-12-05 21:05:58 +13:00
libraryaddict
d415f6340e Start the road to a 1.7 update 2013-12-05 20:38:41 +13:00
libraryaddict
3299d97495 Cleaned up getEntitySize() minorly. 2013-12-05 20:15:58 +13:00
libraryaddict
c6ff4dafe7 Add more commenting, add addEntityAnimations to flagwatcher clone 2013-12-04 07:44:33 +13:00
libraryaddict
063b916c25 Rename stuff. Remove debug output. 2013-12-04 07:38:10 +13:00
libraryaddict
6420a989a9 May as well make firework be refreshed to try combat mojangs brilliant lag idea 2013-12-03 03:00:44 +13:00
libraryaddict
82e86f6669 Fix some errors 2013-12-02 23:31:43 +13:00
libraryaddict
55427dc1fe Make private method public. Remove the error being thrown for temperary player 2013-12-02 23:21:10 +13:00
libraryaddict
9fd631d397 Remove debug 2013-12-02 18:43:41 +13:00
libraryaddict
4f1613dca1 Cleanups. Fix ups. Renames. 2013-12-02 05:10:38 +13:00
libraryaddict
efa75e677f More stuff. Self disguises no work :( 2013-12-02 04:37:07 +13:00
libraryaddict
4dc6853945 Clean up code. Add in code. Forgot what I did. 2013-12-02 03:31:54 +13:00
libraryaddict
a969811c64 More stuff including a small amount of cleanup 2013-12-02 02:36:42 +13:00
libraryaddict
25a6e713af Don't bother checking if the entity is disguised before cancelling packet as it should be cancelled anyways 2013-12-02 01:36:55 +13:00
libraryaddict
4aa148d1eb Update other code to reflect this 2013-12-02 01:35:43 +13:00
libraryaddict
58485e9b1c Make canSee do stuff 2013-12-02 01:35:20 +13:00
libraryaddict
7505b0aca8 Make getPerverts return only the people who can see the disguise 2013-12-02 01:34:27 +13:00
libraryaddict
d8548400a6 Start of a targetted disguise 2013-12-02 01:32:38 +13:00
libraryaddict
d1f1610d41 Add ignited for creeper, seems to be the only change. Idk what this does exactly for a disguise yet 2013-12-01 21:55:56 +13:00
libraryaddict
857669fa86 Fixed armor helmet not appearing if you have no helmet and are holding a item 2013-11-30 23:09:29 +13:00
libraryaddict
c63a08eca4 Finally isolated the packet for 'Send armor flying everywhere' 2013-11-30 22:22:33 +13:00
libraryaddict
7d7020275e Sort the methods 2013-11-27 16:55:03 +13:00
libraryaddict
d9febc03d5 Readd ITEM_FRAME as a disguise. But not one that works. 2013-11-27 16:54:38 +13:00
libraryaddict
473769eb26 Read desc
Added method getBukkitEntity to reflectionmanager
Added a way for itemframe values to exist.
2013-11-27 16:38:51 +13:00
libraryaddict
ca913347ce Changed DisguiseType value fetching to EntityType as Itemframe isn't supported. 2013-11-27 16:26:31 +13:00
libraryaddict
be3712ccd0 Fixed array size exception with armor slot 2013-11-27 11:40:38 +13:00
libraryaddict
782e5925b1 Removed item frame disguise as it cannot move and is effectively useless 2013-11-25 16:52:09 +13:00
libraryaddict
4c52a26b46 Released 7.7.4 2013-11-25 16:31:11 +13:00
libraryaddict
881d76eafa Code cleanup, fixed primed tnt disappearing 2013-11-25 16:26:24 +13:00
libraryaddict
6d1e9a7655 Change entity in disguise to getEntity() 2013-11-25 15:52:08 +13:00
libraryaddict
dfb11dceda Fixed self disguises, wonder if I introduced new bug. 2013-11-25 15:45:37 +13:00
libraryaddict
f9eedb7528 Code clean up 2013-11-25 15:45:23 +13:00
libraryaddict
0e0418b7be Added new config option AddEntityAnimations 2013-11-24 10:05:08 +13:00
libraryaddict
4e72ad359c Don't let the disguisers use deprecated methods 2013-11-24 09:16:04 +13:00
libraryaddict
698881f348 Sorted the order the disguisehelp displays 2013-11-24 09:10:28 +13:00
libraryaddict
97452d516d Renamed types, fixed error where you couldn't set the type of disguised. 2013-11-24 09:08:37 +13:00
libraryaddict
bb15a52022 Moved the createDisguise in miscDisguise up to get rid of a error 2013-11-24 09:01:32 +13:00
libraryaddict
a97f9b22af Changed the painting to art else it conflicts with disguisetype in disguisehelp 2013-11-24 08:59:20 +13:00
libraryaddict
f2755fcb8b Do the changes for the base disguise command 2013-11-24 08:53:25 +13:00
libraryaddict
e48c8db360 Add painting to disguise help 2013-11-24 08:53:08 +13:00
libraryaddict
979ff545a5 Deprecated the setId() of the watchers. Not going to remove them. But still shouldn't be used. 2013-11-24 08:48:39 +13:00
libraryaddict
3ab4706af3 Fixed spelling in GhastWatcher 2013-11-24 08:45:32 +13:00
libraryaddict
42cac092f6 Modify the painting spawn packet to match the changes 2013-11-24 08:43:36 +13:00
libraryaddict
bfd2b1b329 Add compatibility to misc disguise 2013-11-24 08:43:16 +13:00
libraryaddict
4d42dca712 Sort them 2013-11-24 08:42:12 +13:00
libraryaddict
fddbabf931 Add compatibility to flagwatcher for the new watchers 2013-11-24 08:27:01 +13:00
libraryaddict
a19b3a7833 Add falling block watcher 2013-11-24 08:26:46 +13:00
libraryaddict
15eab31347 Add painting watcher 2013-11-24 08:26:40 +13:00
libraryaddict
8679ddf4b6 Add splash potion watcher 2013-11-24 08:26:33 +13:00
libraryaddict
6dfeb5f10a Minor code cleanup 2013-11-24 07:29:13 +13:00
libraryaddict
d6fba4c402 Send teleport packet for all misc disguises (why not) and do the pitch for the disguise minecarts (facing direction) 2013-11-24 06:59:56 +13:00
libraryaddict
15a8974d1e Added undisguise message for undisguiseentity 2013-11-24 06:43:52 +13:00
libraryaddict
951d60f0aa Prevent minecarts disguised as minecarts from getting a Y height modifier 2013-11-24 06:38:46 +13:00
libraryaddict
1fc72e10cc Fixed a array size exception 2013-11-24 06:31:41 +13:00
libraryaddict
94a7237803 Read desc
Fixed disguises facing direction not updating automatically to the
correct direction.
Its not 100% perfect, but the alternative is to delay the packet another
tick which is not realistic as people could change disguises in that
time.
2013-11-23 15:53:17 +13:00
libraryaddict
2f85d35df1 Fixed the wrong constructor when a self disguise is removed 2013-11-23 15:50:10 +13:00
libraryaddict
26770e5b7a Send a entity teleport packet for falling block to prevent it glitching into the ground 2013-11-23 15:25:25 +13:00
libraryaddict
447f267811 Stop trying to send a self disguise if the player isn't valid. 2013-11-23 15:21:30 +13:00
libraryaddict
17c2d95e1d Fixed falling block disguise not working 2013-11-23 13:10:38 +13:00
libraryaddict
3fd4ddf964 Deprecated setRiding and isRiding as they are no longer in the game 2013-11-23 09:39:36 +13:00
libraryaddict
73e4c3a7c6 Renamed another method to be deprecated. Sorted them. 2013-11-23 09:19:30 +13:00
libraryaddict
0a98e90afc Read desc
Renamed the package utils to utilities
Moved Values and DisguiseSounds into it.
Renamed Values to DisguiseValues
Renamed another method in DisguiseValues
2013-11-23 09:10:20 +13:00
libraryaddict
a502792df2 Read desc
Moved more methods into DisguiseUtilities
Renamed things to look better
2013-11-23 09:04:31 +13:00
libraryaddict
93ef0a26d4 Read desc
Removed a few classes to a new package
Renamed methods and deprecated them as retarded names.
Fixed DisguiseAPI instance opening new calls and just moved that into a
new class
2013-11-23 08:52:15 +13:00
libraryaddict
81933b90bd Fixed a weird system where I use strings for getting the watcher class 2013-11-23 08:22:06 +13:00
libraryaddict
6b225f18c3 Change the casting checking to look better 2013-11-23 05:02:53 +13:00
libraryaddict
201a4a21a0 Fixed casting problems 2013-11-23 04:39:42 +13:00
libraryaddict
ce76bb47c5 Fixed a error which happened rarely 2013-11-23 04:39:35 +13:00
libraryaddict
b93f5d3ea4 Change disguisehelp to use reflection for watcher values and a new EnumHelp thingy 2013-11-23 04:21:03 +13:00
libraryaddict
e41b80ebc0 Fix disguises still being visible as usable. And classes existing when they don't. 2013-11-23 04:20:36 +13:00
libraryaddict
86d728f90d Fix the errors due to health being changed to a float 2013-11-23 04:20:03 +13:00
libraryaddict
49b81b0deb Don't print exception because sometimes the class doesn't exist. 2013-11-23 04:01:54 +13:00
libraryaddict
441d69fd62 Change to throwable as exception doesn't catch it 2013-11-23 04:01:32 +13:00
libraryaddict
13fbc4bbb6 Fix incorrect horse sounds to use mob.horse instead of just horse 2013-11-23 03:19:00 +13:00
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 22f2ae593b.
2013-11-18 16:07:33 +13:00
Andrew
c1a878a7d9 Revert "Update for 1.7 spigot hack"
This reverts commit 962bbece37.
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 30754429a9.
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 e809196bfc.
2013-10-04 21:21:26 +13:00
Andrew
782f4b9bc0 Revert "Revert "Test Commit""
This reverts commit fed5641931.
2013-10-04 21:21:24 +13:00
Andrew
a5a7f5ab5f Revert "3rd test"
This reverts commit 7b8a7c8011.
2013-10-04 21:21:22 +13:00
Andrew
bfed741262 Revert "4th test"
This reverts commit cf590e07ff.
2013-10-04 21:21:19 +13:00
Andrew
fc3614ce80 Revert "GAH. FIX YOURSLF"
This reverts commit 61a3242390.
2013-10-04 21:21:16 +13:00
Andrew
28be265b9d Revert "Fixed? Fixed."
This reverts commit cbf729325f.
2013-10-04 21:21:13 +13:00
Andrew
c6d1d6520c Revert "Another damn"
This reverts commit 7cc872f467.
2013-10-04 21:21:11 +13:00
Andrew
4fb1f6d452 Revert "Fix to stupid git/windows"
This reverts commit b0a2b92606.
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 d230962e19.
2013-10-04 12:52:56 +13:00
Andrew
e809196bfc Revert "Another test commit."
This reverts commit 19605701fe.
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
Andrew
5c29463b6d Disguises should no longer crash the eye of the beholder when the creeper slips into bed 2013-09-29 11:15:12 +13:00
Andrew
0dbd43eed0 Released 7.6.3 2013-09-26 03:03:29 +12:00
Andrew
80fa5fe7f6 Renamed the packages to follow naming conventions 2013-09-26 02:49:24 +12:00
Andrew
fb4ad42cfe Fixed mob disguise adult code 2013-09-22 19:33:23 +12:00
Andrew
f4a88a6ee7 Fixed error.. 2013-09-20 22:15:39 +12:00
Andrew
c6936d064c Fixed player doing no death sound? Updated strings to official sounds. 2013-09-20 16:06:02 +12:00
Andrew
c16c62bff8 Update to 1.6.4 2013-09-20 15:59:28 +12:00
Andrew
5215025ffa added * perms for disguise commands 2013-09-19 08:19:39 +12:00
Andrew
a49f4d41ec Check for update every 6 hours 2013-09-18 09:38:36 +12:00
Andrew
30c6266749 Fixed being unable to set the disguise as a baby 2013-09-18 09:30:58 +12:00
Andrew
5fe3f03622 Don't send the packets if you are not the correct disguise!! 2013-09-06 17:41:17 +12:00
Andrew
2df5aee8fe Check if the entity exists before attempting to get the entity when sending item packet 2013-09-06 17:39:27 +12:00
Andrew
75ea90d27c Fix up typo? 2013-08-21 00:17:56 +12:00
Andrew
9b4e9b4b62 Let exp orbs be a little bit nicer 2013-08-20 05:45:25 +12:00
Andrew
505f996b46 Read desc
Now send a look packet for Wither skull to prevent it looking up.
Send the velocity packets if this criteria is meet (Send when on ground)
2013-08-20 05:02:55 +12:00
Andrew
1b93903bbd Modify the Y value of spawns. Let things spawn more logically. Read desc
Bat now spawns at your head.
Entitys which are otherwise unseeable or would 'break' now spawn higher
to prevent this
2013-08-20 05:01:30 +12:00
Andrew
83750309c7 WitherSkull's can turn blue. Who knew? 2013-08-20 04:58:45 +12:00
Andrew
8ebd632363 Setting viewSelfDisguise on the disguise now updates it 2013-08-15 08:57:30 +12:00
Andrew
f152c677c6 Fix the disguises only refreshing theirselves 2013-08-13 22:05:13 +12:00
Andrew
2b2f5d4aed Rename discard() to removeDisguise(). Make the disguise reusable 2013-08-13 21:57:21 +12:00
Andrew
448c227303 Read desc
Added discard() to disguise
Renamed methods and added comments to make it easier to understand
Moved old calls to use the discard() instead
2013-08-13 21:44:54 +12:00
Andrew
76a0949c30 Rename internal methods 2013-08-13 20:29:25 +12:00
Andrew
01597b4f5d Read desc
Moved packet listeners to PacketsManager
Fixed a bug with FlagWatcher setting values it shouldn't
Cleaned up api calls
Cleaned up code
Added commenting
2013-08-13 15:19:50 +12:00
Andrew
1e8206baa5 Let them get the event. But just don't let cancel do anything 2013-08-12 07:25:48 +12:00
Andrew
ec96bdd962 Read desc
Disguises can now have velocity sent toggled indivially
Disguises can also have self view toggled
Disguises can also have self hearing toggled.
Changed when the undisguise event is fired so its only fired when you
can cancel it
Disguises now undisguise only when the entity is no longer valid - Its
not in the world
Fixed small bugs
2013-08-12 07:24:52 +12:00
Andrew
41d5b60ffe Changed events to have a better naming system. 2013-08-12 06:32:51 +12:00
Andrew
18d97c0077 Remove public watcher constructor and construct it internally 2013-08-11 09:12:01 +12:00
Andrew
0ae9a0a77a The disguiser is a pervert sometimes too ;D Let him see some action 2013-08-09 23:16:23 +12:00
Andrew
6b58c8ef5f Added getProfessionId() and setProfessionId(int id) 2013-08-09 09:15:28 +12:00
Andrew
66be1f8fa9 Sort by name 2013-08-09 09:14:44 +12:00
Andrew
e80523c59f Fixed error 2013-08-09 05:56:13 +12:00
Andrew
ea5547a6c6 Add a sanity check 2013-08-07 22:51:55 +12:00
Andrew
1d5bcebce9 Add method to disguise next entity. Use entity ID's not entitys. 2013-08-07 22:51:42 +12:00
Andrew
7d5b72b9c5 Add another check for sending data 2013-08-07 22:51:14 +12:00
Andrew
fc9337504c Make dem entity constructors Deprecated cos they look ugly 2013-08-07 22:50:52 +12:00
Andrew
d74fed7e39 Fix bad stance, you can now disguise based on a entitytype 2013-08-07 22:50:27 +12:00
Andrew
cd11dc3572 Don't throw a error if tracker not found. Just run again later 2013-08-06 00:22:04 +12:00
Andrew
9f7b3620ca Add missing break, remove boolean and just continue 2013-08-06 00:21:47 +12:00
Andrew
e19af33a47 Fixed a missing break in a switch statement 2013-08-06 00:08:53 +12:00
Andrew
15b4d2cbfb Why give a error when protocollib not found. It will never be thrown. 2013-08-06 00:04:43 +12:00
Andrew
e3c83482d8 Configuration should now update. Doesn't keep comments -.- 2013-08-06 00:04:01 +12:00
Andrew
fd3903f311 Fixed mentioned bug 2013-08-05 17:31:05 +12:00
Andrew
333cbded13 Disguises should now appear at the right location for entity sizes. But sometimes it disappears 2013-08-05 17:26:56 +12:00
Andrew
c2fdb3c201 Removed sanity checks and idiot checks 2013-08-01 21:19:50 +12:00
Andrew
60246748a2 Can now add items to disguises. 2013-08-01 20:29:04 +12:00
Andrew
5375edc14c Added disguise constructors using entitytype 2013-08-01 19:57:14 +12:00
Andrew
0981a0a88a Player is no longer invisible to himself when undisguising 2013-08-01 19:56:27 +12:00
Andrew
47d84ed794 Removed RedisguisedEvent 2013-07-31 19:39:16 +12:00
Andrew
f15966a0f2 More config options. Added hearing yourself disguised option 2013-07-31 17:46:24 +12:00
Andrew
fa9a350106 Read desc
Now throws a error when disguising when the player logs in right away -
Informational
Packet 44 is now using the ProtocolLib accepted id.
2013-07-31 17:12:39 +12:00
Andrew
f3f451a9c6 Fix crashes 2013-07-30 15:31:07 +12:00
Andrew
6af89013c5 Read desc
Lots of code cleaned up
Added viewing yourself as a disguise - It can be laggy..
2013-07-30 12:44:00 +12:00
Andrew
cf5ec6d722 Fixed up the yaw some moar 2013-07-29 15:25:36 +12:00
Andrew
95256f8d6f Stop with the checks for yaw. Useless. 2013-07-29 15:04:19 +12:00
Andrew
af51d15d59 Make flagwatcher constructor public 2013-07-29 15:03:49 +12:00
Andrew
b3f2fcaed2 Read desc
Cleaned up the main packet listener.
Fixed a problem with facing direction. Stupid me only accounted for
living entitys. Forgot this problem extended to disguised non-living
Added some commenting
2013-07-29 14:56:47 +12:00
Andrew
957cf83e67 Cleaned up minor stuff 2013-07-29 14:53:32 +12:00
Andrew
9284990ae1 FlagWatcher no longer wants a JavaPlugin to be constructed 2013-07-29 11:21:42 +12:00
Andrew
57ebeacdd6 Read desc
Moved packet constructing out of Disguise class.
Fixed datawatcher error.
Fixed datawatcher screwup where I was setting the wrong values
2013-07-29 11:21:25 +12:00
Andrew
53b5be001d Sort by name 2013-07-29 11:19:59 +12:00
Andrew
293b4f7de1 Fix bug and change Values to use switch statement 2013-07-28 12:05:47 +12:00
Andrew
b80eecfc63 Fixed typo 2013-07-28 11:55:59 +12:00
Andrew
2b0df513e1 Clean it up some more 2013-07-28 11:20:13 +12:00
Andrew
15c2ee6305 Move calls elsewhere and rename some methods and remove old code. 2013-07-28 11:01:09 +12:00
Andrew
e659875347 Allow devs to change the sounds of disguises 2013-07-28 11:00:43 +12:00
Andrew
cd44c50f2e Fetch the watcher that it will use. And stop using empty watchers 2013-07-28 11:00:29 +12:00
Andrew
593f3f492b Store the type of watcher this disguise will use 2013-07-28 10:59:49 +12:00
Andrew
e755ed24db Let developers construct the watcher themselves 2013-07-28 10:58:21 +12:00
Andrew
4c81ea1b95 Added new constructor for mob disguise 2013-07-24 15:57:16 +12:00
Andrew
384a20ab6e Fixed a error when custom name longer then 64, fixed derp with a method return 2013-07-24 15:57:05 +12:00
Andrew
1e511bede0 Added ability to check kind of Disguise 2013-07-24 15:56:41 +12:00
Andrew
b809790ea3 Add events 2013-07-24 12:16:54 +12:00
Andrew
a0892c56c1 Clean up code 2013-07-24 12:16:47 +12:00