Commit Graph
100 Commits
Author SHA1 Message Date
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 6fb750ef56 Add note in config.yml regarding beds 2014-09-22 00:54:38 +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
libraryaddict 385db0dd55 Merge pull request #48 from Likaos/patch-1
Return if packet is already cancelled
2014-09-14 09:29:01 +12: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
libraryaddict 98208bc42e Merge pull request #43 from riking/cauldron-fix
Use contains instead of equals........
2014-07-24 08:01:43 +12: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 f7642f2883 Add more information to ModifyBoundingBox 2014-07-13 10:33:00 +12:00
libraryaddict 29bae6b67a Fix it casting to integer when its a byte 2014-07-13 07:27:14 +12:00
libraryaddict 75915b2f61 Merge pull request #41 from MeltedLux/patch-1
Damn spelling
2014-07-13 07:21:19 +12: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 ee589f443d Changed the RemoveArmor info in config for idiots 2014-07-08 04:41:28 +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
libraryaddict f25f6d3ee3 Merge pull request #40 from riking/master
Use correct link for ProtocolLib on Forge
2014-06-24 14:09:12 +12:00
libraryaddict fd02dbfb60 Released 8.2.6 2014-06-22 01:43:30 +12:00