Commit Graph
100 Commits
Author SHA1 Message Date
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
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
libraryaddict ce725368f0 Merge pull request #35 from riking/plugin-yml
Add tab-completion permissions to commands
2014-06-15 13:36:45 +12:00
libraryaddict fd8fa08c6e Merge pull request #34 from riking/patch-1
Restore single-star from 55f2eb6dca
2014-06-15 13:35:00 +12:00
libraryaddict 57be672b1b Merge pull request #33 from riking/style
Style fixes
2014-06-15 13:34:21 +12:00
libraryaddict 4c14e6b72a Make it red.. Ladies love red 2014-06-14 21:16:11 +12:00
libraryaddict 8014b7a9c0 Add information for disabling the attributes 2014-06-14 21:16:02 +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
libraryaddict d23e518c1b Instead of using Object's for gameprofiles. Use WrappedGameProfile 2014-06-05 08:40:15 +12:00
libraryaddict 5ff1370ea0 Update protocollib to 3.4.0-snapshot 2014-06-05 08:39:55 +12: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
libraryaddict 11e36a3974 Merge pull request #29 from riking/refactoring
Fix the build
2014-06-04 13:48:10 +12:00
libraryaddict cbbf5c8f2e Merge pull request #28 from riking/refactoring
Fix IntelliJ warnings
2014-06-04 13:43:06 +12: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
libraryaddict 406627e404 Merge pull request #27 from riking/refactoring
Refactor out initConfig method
2014-06-04 12:44:07 +12:00
libraryaddict ac54e9b73c Released 8.2.5 2014-06-02 23:40:12 +12: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 b12e4b1da9 Revert "Released 8.2.5"
This reverts commit 46f534921e.
2014-06-02 23:35:39 +12:00
libraryaddict 46f534921e Released 8.2.5 2014-06-02 23:30:28 +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 8a9c2fa225 Released 8.2.4 2014-05-31 05:35:09 +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 3a32a91233 Released 8.2.3 2014-05-28 12:17:18 +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