Commit Graph

500 Commits

Author SHA1 Message Date
libraryaddict
269a5c3aef
Fix item disguises trying to fly off, fixes #439 2020-04-04 14:58:37 +13:00
libraryaddict
44012ab58b
Change the way entity interaction works for commands to a cleaner method 2020-04-04 14:17:29 +13:00
libraryaddict
e55f88fc73
Extended names false by default, don't give json on /ld automatically 2020-04-01 21:39:25 +13:00
libraryaddict
901c6ef06f
Improve extended names, normal player disguises now use teams instead of actual player names to better support names changing at will
Added setName to PlayerDisguise disguise options in command
2020-03-30 20:22:33 +13:00
libraryaddict
c77c490324
Catch throwables not just normal exceptions 2020-03-30 09:11:26 +13:00
libraryaddict
82fb093528
Don't use isInvul to find the right sound 2020-03-29 18:12:53 +13:00
libraryaddict
912ca85aff
Rollback the packetlistener changes, its broke. I hate paper. 2020-03-25 23:08:03 +13:00
libraryaddict
356519be19
Do that fix for main packet listener too 2020-03-25 22:15:34 +13:00
libraryaddict
324c675055
I don't know why this would be null, but thats what the error says.. 2020-03-25 21:52:52 +13:00
libraryaddict
d2b078be85
Force packets to be handled sync 2020-03-25 16:37:18 +13:00
libraryaddict
e3d4659545
Fix string quoter not handling it properly 2020-03-25 15:53:49 +13:00
libraryaddict
f254a99d89
Warning message if they've translated stuff but didn't enable translations 2020-03-25 15:53:28 +13:00
libraryaddict
203f2adeb5
Warn about illegal async operations 2020-03-25 15:52:23 +13:00
libraryaddict
a598884def
Use PL's itemstack checker instead 2020-03-24 12:12:01 +13:00
libraryaddict
1d0a791011
CraftItemMirror -> CraftItemCopy 2020-03-24 12:04:03 +13:00
libraryaddict
7a0f107687
Fix ItemStack serializer being unable to serialize some items
Fix PlayerDisguise using code I forgot to use, instead of real code
2020-03-24 11:54:26 +13:00
libraryaddict
761c4b77cd
Add NotifyBar and allow changing between color and style, fixes #433 2020-03-23 12:52:35 +13:00
libraryaddict
eaf4e7eeef
Split itemstack[] by commas correctly, fixes #434 2020-03-23 12:09:30 +13:00
libraryaddict
3d38aad8d2
Parse itemstacks and itemstack[]s correctly 2020-03-22 19:58:29 +13:00
libraryaddict
45ecc68a2a
Save the IP checked against for bisect hosting 2020-03-19 16:05:47 +13:00
libraryaddict
0319f72633
Add handy way to tell you what config options you're missing, and check it through LD command 2020-03-18 16:56:49 +13:00
libraryaddict
3816806de7
Use different constructor for velocity packets 2020-03-13 13:00:55 +13:00
libraryaddict
2a6928a498
Clean up code a bit 2020-03-09 09:00:58 +13:00
libraryaddict
c31408f956
Correct a space in the name 2020-03-08 03:32:58 +13:00
libraryaddict
a74d4f453b
Add string to file 2020-03-08 03:21:16 +13:00
libraryaddict
a14c36e29a
Add bisect hosting - auto premium 2020-03-07 21:07:19 +13:00
libraryaddict
0eaa6159c3
Handle option parsing better 2020-03-05 14:49:33 +13:00
libraryaddict
ccd1d775fd
Add info about /savedisguise to disguises.yml 2020-03-02 22:42:33 +13:00
libraryaddict
7c89c9ca50
Send rel look for 1.15 head rotation packet 2020-03-02 12:54:05 +13:00
libraryaddict
f28e520b09
Handle head rotation in all versions, pretty sure it won't be pretty in 1.14 at least 2020-03-01 23:52:04 +13:00
libraryaddict
e276773bf3
Change how I compile methods in hopes of eliminating randomly wrong order 2020-02-26 00:22:25 +13:00
libraryaddict
c5322072ae
Don't do debug 2020-02-25 23:56:56 +13:00
libraryaddict
8506fc087a
Sort flagwatchers with a more reliable method 2020-02-25 23:56:34 +13:00
libraryaddict
3db1f06402
Don't grab sub-classes 2020-02-25 23:55:48 +13:00
libraryaddict
b8de529b25
Add debug info to fail load, use same defineMethod instance 2020-02-25 22:42:23 +13:00
libraryaddict
061161dad7
Add modifyDisguise to DisguiseParser for api usage, deprecate 'constructDisguise' 2020-02-25 15:20:44 +13:00
libraryaddict
897f0fc599
Add lengthy info for scoreboard pushing command 2020-02-23 18:59:59 +13:00
libraryaddict
00585c6c44
Add more information to scoreboard teams command 2020-02-23 18:04:58 +13:00
libraryaddict
3a77245353
Why are the entity classes null so much 2020-02-23 14:00:22 +13:00
libraryaddict
2185e3718a
More entitytype class 2020-02-23 13:34:33 +13:00
libraryaddict
231c35c6e3
Skip null EntityTypes 2020-02-23 11:58:58 +13:00
libraryaddict
f52d0fa17d
Use another method to get entity classes, due to inferior jar system someone is using 2020-02-23 11:30:56 +13:00
libraryaddict
7f3aa75c44
Don't fatal error if someone's using a dumb jar system 2020-02-23 10:54:09 +13:00
libraryaddict
287932d530
Fix wrong order loading 2020-02-21 14:24:07 +13:00
libraryaddict
fd7d808a41
IntelliJ really needs to stop importing weird classes 2020-02-21 13:55:21 +13:00
libraryaddict
cf55470fad
Try check for preloaded classes 2020-02-21 13:53:08 +13:00
libraryaddict
396b924571
Add better asm support and lower the jar size 2020-02-20 18:13:43 +13:00
libraryaddict
7fcd90a338
Move asm to onLoad just incase other plugins are weird loading 2020-02-20 12:11:22 +13:00
libraryaddict
51296f1cae
Shade asm into Lib's Disguises for now, need to fetch remotely and save for 1.12 2020-02-20 00:18:52 +13:00
libraryaddict
fd952fcf81
Fixed wrong asm import being used for 1.14+ 2020-02-19 17:30:21 +13:00
libraryaddict
5aea1c78a4
Handle head packets for older versions 2020-02-19 16:32:32 +13:00
libraryaddict
9ed5a41256
Fix entity deaths not displaying properly 2020-02-19 16:30:25 +13:00
libraryaddict
cff2dc6e4a
Include missing class & Release 9.9.4 2020-02-19 13:44:42 +13:00
libraryaddict
897a6629ae
Read for information...
Now using ASM manipulation to remove invalid methods on load
Fixed imports
Fixed Chat Components being used in 1.12
Fixed tab complete showing args for disguise options you can't use
Disguise option permissions now demand a parameter to be the method name
Falling block disguises are now only usable with blocks
LibsDisguises command now tab completes the new options
Libs Disguises command lets you create a vanilla compatible item string
If a vehicle is disguised as a vehicle, don't give no gravity
Fixed horse disguise using almost random values for its flagwatcher settings
Renamed horse disguise setMouthOpen to setEating
Slightly better string for premium info jar location
Skip attributes packets if using older ProtocolLib jar
Don't cancel entity death if entity is dead
Improved disguise permissions checking
Fixed time parameter not being attributed properly
2020-02-19 12:57:39 +13:00
libraryaddict
668eec641e
Clean up imports 2020-02-19 12:45:59 +13:00
libraryaddict
4105b953bf
Send remove player info even if disguise is removed 2020-02-15 20:55:29 +13:00
libraryaddict
10039f39c3
From ItemStack[] is [] not {} 2020-02-15 19:56:06 +13:00
libraryaddict
a581decbe0
Add 1.12 support 2020-02-14 10:06:49 +13:00
libraryaddict
1fcefbcdcc
Added 1.13.2 support, made backwards premium 2020-02-13 19:47:02 +13:00
libraryaddict
45996842d9
Fix equip packets, again 2020-02-07 16:30:52 +13:00
libraryaddict
a50ea45f5e
Fixed incorrect regex 2020-02-07 09:16:16 +13:00
libraryaddict
0a5752dd67
Released 9.9.2 and added scoreboard test command 2020-02-06 16:29:14 +13:00
libraryaddict
580ae37385
Don't show enum in log 2020-02-06 13:05:59 +13:00
libraryaddict
9656ed4249
Add backwards compatibility for 1.14 2020-02-06 12:15:20 +13:00
libraryaddict
fd2926241c
Add isDynamicName for player disguises with mobs custom names that change 2020-02-05 14:26:55 +13:00
libraryaddict
a92916f112
Add mission perms, add /libsdisguises json 2020-02-05 14:23:53 +13:00
libraryaddict
4af9da10c5
Fix retaliation combat and make the message nicer to see 2020-02-04 16:06:34 +13:00
libraryaddict
9bf3e81ded
Correct config value name for action bar, fix attributes error 2020-02-03 17:42:47 +13:00
libraryaddict
dc066a07dd
Fix getters not updated 2020-02-02 14:22:46 +13:00
libraryaddict
4092737259
Add getter for gson 2020-02-02 14:11:36 +13:00
libraryaddict
ed098752f6
Use lombok, add new config options for disabling pvp, pve, action bar when disguised, permission to hide name above head 2020-02-02 11:59:18 +13:00
libraryaddict
5f98e57316
Fixed movement speed not being set in attributes 2020-02-02 11:58:21 +13:00
libraryaddict
7ee65d26b2
Allow disguise options on all parameters 2020-01-23 09:42:01 +13:00
libraryaddict
f7f551caa8
Fixed disguise options code from not working for all disguises 2020-01-22 19:28:12 +13:00
libraryaddict
da20612ae9
Changed the way extended names work to fix a bug, fixes #423 2020-01-22 18:46:57 +13:00
libraryaddict
9a555dafb8
Added extended names + config option, fixed nms version incorrect reporting, small code cleanup, fixed player disguises with spaces not being quoted, fixed disguises saving as unknown charset format. Adds #422 2020-01-20 13:35:55 +13:00
libraryaddict
ef981b3787
Add permtest to /libsdisguises 2020-01-20 08:33:19 +13:00
libraryaddict
ead5a23d65
Add setNameVisible to player disguises 2020-01-19 15:48:52 +13:00
libraryaddict
ce292302fe
Code cleanup 2020-01-19 15:48:26 +13:00
libraryaddict
765b07a46a
Update checker now checks a new url, not sure why I thought https wouldn't be touched. 2020-01-18 14:52:53 +13:00
libraryaddict
caf5587ccb
Add meta index info to libsdisguises command 2020-01-17 16:55:05 +13:00
libraryaddict
e7dd114705
Correct attempting to use object not string for perm check 2020-01-14 19:41:40 +13:00
libraryaddict
e70c690751
Fixed disguise options permissions being bypassable in some instances, including capitalization 2020-01-12 17:26:44 +13:00
libraryaddict
db29352948
Fix some typos, don't use MineSkinAPI name 2020-01-11 13:37:45 +13:00
libraryaddict
7f725d26bd
Don't keep old velocity changes, prevent 2 velocities 2020-01-06 16:01:05 +13:00
libraryaddict
0ed798e8e7
Minor code cleanup, add item placeholders to disguises 2020-01-06 09:28:30 +13:00
libraryaddict
64f9da47c9
Add new commands to metrics 2020-01-04 07:46:02 +13:00
libraryaddict
c073af37e8 Read below for more info
Added /grabskin - Grabs a skin from file, url or existing player and saves as a new skin name
Added /copydisguise - Outputs the current disguise or a specific uuid/player disguise to a usable string
Added /savedisguise - Saves a disguise to custom disguises (disguises.yml) for future use, accepts skin files, urls and existing players
Using MineSkin.org API
Now generates Skins folder with info inside
Added addGameProfile, addCustomDisguise and parseToString to DisguiseAPI
Added different checks to gameprofiles
Added new messages for the new features
Fixed disguise parser to string handling quotes and skins wrong
Fixed disguise parser to string not replacing colors back to the &
Changed itemstack params to parse to a simpler item if possible
2020-01-02 17:10:36 +13:00
libraryaddict
7aa3a8a2ef Fixed typos, added DisguiseParser.parsetoString(Disguise) 2019-12-31 19:35:21 +13:00
libraryaddict
ce1472eaf7 Add addCustomDisguise to DisguiseConfig to easily register own custom disguises 2019-12-28 13:10:52 +13:00
libraryaddict
dad91c1075 Init reflection after version check 2019-12-24 17:40:56 +13:00
libraryaddict
c83283f43e Add more info for setting up prem 2019-12-22 10:46:37 +13:00
libraryaddict
3b3de8d0ee Catch CraftItemStack when de/serializing, fixes #414 2019-12-21 19:12:22 +13:00
libraryaddict
f130d55170 Correctly serialize and deserialize ItemMeta (Previously not working) #414 2019-12-21 14:45:10 +13:00
libraryaddict
b2193ad021 Remove meta after a set tick, not last packet 2019-12-21 12:02:30 +13:00
libraryaddict
3ee66d918c Unregister old packet handler for head movement 2019-12-21 10:24:11 +13:00
libraryaddict
3653149e5b Remove dumb version check 2019-12-19 20:54:38 +13:00
libraryaddict
7b70c9bb14 Update for 1.15 2019-12-14 13:10:11 +13:00
libraryaddict
da0e282258 Added test for releases 2019-12-14 11:49:01 +13:00
libraryaddict
c5cad96118 Ignore DisguiseType.UNKNOWN, handles #373 2019-12-06 11:37:33 +13:00
libraryaddict
9ecf1cc62c Add new config option PlayerHideArmor to fix MM stone items on spawn 2019-11-27 09:13:12 +13:00
libraryaddict
d77308dee0 Hello discord! 2019-11-26 01:57:36 +13:00
libraryaddict
0d5d133e42 Don't fatal error if the server owner wants to modify saved disguises files 2019-11-20 20:08:19 +13:00
libraryaddict
8c2a5eeb00 Clear old equip packet 2019-11-18 17:37:52 +13:00
libraryaddict
a09a86062f Resend self disguise armor, clean spawn armor, don't cancel armor but wipe it to air 2019-11-18 16:57:00 +13:00
libraryaddict
c787a1daae Remove stone being sent for self disguises, should be handled by spawn 2019-11-18 12:47:55 +13:00
libraryaddict
c636ca1c0e Correct an invalid llama == horse cast 2019-11-14 22:24:16 +13:00
libraryaddict
2b7c295d2c Add saddleable horses, carpetable llamas. 2019-11-14 15:25:26 +13:00
libraryaddict
8015db68f6 Client listener to sync again, run in scheduler. Add cat color config option 2019-11-14 14:42:32 +13:00
libraryaddict
fff4ca8590 Register interact packet sync from async 2019-11-14 11:53:47 +13:00
libraryaddict
418922606d Fix a date issue being reversed 2019-11-14 11:15:40 +13:00
libraryaddict
aad7001cbd Add small note to config yml & corrected a check 2019-11-14 00:38:58 +13:00
libraryaddict
92a85194fb Add missing Villager.Type parameter, rename methods to setBiome and deprecate old. 2019-11-13 11:07:53 +13:00
libraryaddict
0972e74d17 Reverse a boolean check 2019-11-10 23:08:55 +13:00
libraryaddict
5bb9eeac84 Change the method used to check for Paper 2019-11-10 22:54:32 +13:00
libraryaddict
b591bb96f0 Fix builds failing 2019-11-10 22:45:46 +13:00
libraryaddict
ec6512aa77 Paper experimental fix 2019-11-10 22:44:02 +13:00
libraryaddict
9cc6889f7d Fixed disguise options not working 2019-11-09 11:07:54 +13:00
libraryaddict
cc4156f914 Add setGridLocked to falling block disguise 2019-11-05 17:26:38 +13:00
libraryaddict
6c93866122 Don't allow non-disguise parameters 2019-11-05 17:26:18 +13:00
libraryaddict
9df128db6f Released 9.8.3, commands disabled for players on non-premium versions 2019-11-03 18:07:12 +13:00
libraryaddict
2f109de685 Parse materials to uppercase for ItemStacks 2019-11-03 17:51:20 +13:00
libraryaddict
d6b1b19c8e Raise ticks for player disguises to render properly 2019-11-03 17:50:19 +13:00
libraryaddict
928943eb0f Cast to a generic map not a specific implemention, fixes a specific server version 2019-11-02 13:20:49 +13:00
libraryaddict
9b8b57cf9f Switch the underlying HashMap<HashSet> for disguises to Concurrent Map and Synchronized Set, fixes thread safety. 2019-10-22 11:29:03 +13:00
libraryaddict
4137b47ba8 Delay armor packets for player disguises 2019-10-13 18:22:39 +13:00
libraryaddict
a0b47d3741 Fixed minecart command kicking players, fixes #395 2019-09-16 14:35:39 +12:00
libraryaddict
ceb10171c9 Fixes zombie villager disguise, fixed #391 2019-09-16 14:30:16 +12:00
libraryaddict
80b11bfc6a Default to empty if map is empty in serializer 2019-09-15 12:26:29 +12:00
libraryaddict
d849041604 Hopefully fixes #397 2019-09-15 11:04:28 +12:00
libraryaddict
0c4262a6ff Fixed switching to non-self disguise freezing players 2019-08-13 20:32:13 +12:00
libraryaddict
aec78e2321 Attempt to fix server crash 2019-07-30 13:11:45 +12:00
libraryaddict
eba4ba8326 Fixes #385 2019-07-26 13:28:28 +12:00
libraryaddict
18f1886e72
Fixes tab issue 2019-07-26 00:52:01 +12:00
libraryaddict
887181e6e9 Fixes hunger, sounds listener now sync again, fixed checks. Fixes #384 2019-07-25 15:06:01 +12:00
libraryaddict
658c3f0602 Fix invalid serializer for empty optionals, add serializer to MetaIndex and require for all datawatcher objects constructions 2019-07-09 20:52:00 +12:00
libraryaddict
be20613da6 Fix a metrics check referring to wrong instance 2019-07-08 17:45:05 +12:00
libraryaddict
fd2f7e4fbc Improve startup checks for invalid settings 2019-06-29 13:38:20 +12:00
libraryaddict
5e1ed00434 Register client interact async, use unsafe disguise from entity id for main listener 2019-06-24 17:20:56 +12:00
libraryaddict
a46178b04c Experimental build for client interaction/weapon damage - Needs testing and thread safety, pushed due to time constraints. #368 2019-06-22 22:06:59 +12:00
libraryaddict
7591e3537f #361 2019-06-15 13:07:29 +12:00
libraryaddict
e338a44ed5 Don't register client packets sync 2019-06-08 14:09:18 +12:00
libraryaddict
f4294c609b Correct typo 2019-06-08 01:19:52 +12:00
libraryaddict
de9088dee8 Register all packet listeners and handlers sync, #361 and possibly #363 2019-06-07 18:19:33 +12:00
libraryaddict
823bf4f7c8 Force sounds/entity effects to sync in an effort ot hopefully fix a rare crash #361 2019-06-03 21:24:50 +12:00
libraryaddict
c66e0a88e4 Don't use ProtocolLib's EntityModifier 2019-06-01 12:13:36 +12:00
libraryaddict
86d45754c3 Readded set/get horse armor. Added sanitizing of saved disguises loading + logging. 2019-05-24 19:20:55 +12:00
libraryaddict
a834190209 Update to 1.14.1, first dev build. Other changes included. 2019-05-18 18:54:51 +12:00
libraryaddict
2ff7b7ab3f Revert custom disguise api for MM compatibility 2019-05-16 18:07:53 +12:00
libraryaddict
a36d6a92d9 Fixed #353 2019-04-21 10:57:47 +12:00
libraryaddict
4df20dbd4c Fixed #354 2019-04-19 16:52:56 +12:00
libraryaddict
3d4ee8a020 Add API methods to get a parsed custom disguise 2019-04-17 08:10:15 +12:00
libraryaddict
d307264211 Fixed accidental line 2019-04-15 17:47:02 +12:00
libraryaddict
4ed1732dee SerializerChatComponent now registered to WrappedChatComponent, not FlagWatcher 2019-04-15 17:44:23 +12:00
libraryaddict
f42e9d7b72 Remove unused import 2019-03-21 09:46:37 +13:00
libraryaddict
b0435916f0 Don't attach build number to plugin version in metrics 2019-03-21 09:46:13 +13:00
libraryaddict
e8355f34ce Require premium versions to provide user ID 2019-03-07 14:49:37 +13:00
libraryaddict
6eb61b28f6 Compare numbers and fallback to string for updates 2019-03-07 14:48:53 +13:00
libraryaddict
989afe3d31 Compare numbers not strings 2019-03-07 14:39:10 +13:00
libraryaddict
d164ea36dc Add setExpires to disguise, disguises expire after a scheduled amount of time 2019-03-06 15:16:14 +13:00
libraryaddict
ec5bf18399 Fixed null error when using older premium jars 2019-03-06 02:32:30 +13:00
libraryaddict
3ae785fb35 Don't hide Elytra Wings in self disguises 2019-03-05 18:01:43 +13:00
libraryaddict
09d4a3b90f Identify registered user in startup log, similar or newer premium jars now required if using this method 2019-03-05 17:51:06 +13:00
libraryaddict
ae9419d234 Ignore "-SNAPSHOT" in snapshot build versions 2019-03-05 17:47:21 +13:00
libraryaddict
a43f46628a Add placeholder support, explained in disguises.yml. fixes #296 2019-03-05 17:46:47 +13:00
libraryaddict
2cf86b9cd8 Clean up tab completion code for repeated statements 2019-02-18 18:52:54 +13:00
libraryaddict
b813c5b899 Remove meta cancel only once and when it's the last delayed packet 2019-02-18 02:02:10 +13:00
libraryaddict
6d64f44b15 Add build date to startup info & plugin.yml, thankyou to paid users, more information to premium jar file check and expose more buyer information for the unseen future 2019-02-16 16:57:07 +13:00
libraryaddict
c0d36e033b Compare instances not .equals to determine if clone required 2019-02-04 17:14:31 +13:00
libraryaddict
10bb5511a6 Reverse check, fixes self disguises. 2019-02-04 17:14:04 +13:00
libraryaddict
0a2b41d99d Add config option to change player disguise tablist expiry time, fixes #326 2019-02-03 14:02:59 +13:00
libraryaddict
f4eed5481d Remove space from team name, fixes #337 2019-02-03 13:47:05 +13:00
libraryaddict
23e63a5a63 Minor code cleanup, cancel velocity packets the player shouldn't see. Fixes #331 2019-01-16 19:58:53 +13:00
libraryaddict
788d82a872 Add blacklist function to disguise options whitelist 2019-01-12 16:56:17 +13:00
libraryaddict
19f8b5b1e2 Don't forget to infect with metrics! 2019-01-03 16:27:54 +13:00
libraryaddict
cada0f4f91 Move classes into packages, clean up packet handling into classes, yaw/pitch should be consistent 2019-01-03 15:13:03 +13:00
libraryaddict
43701c1fe8 Add messages for errors in LibsPremium and when commands are disabled 2018-12-19 15:10:15 +13:00
libraryaddict
5a8d39a3a0 Ability to check jenkin builds, rewritten version checking, show build number, config option for update check type, show console update notifications, minor change in string for update check 2018-12-16 14:47:42 +13:00
libraryaddict
40cc5a7a84 Remove obscure old code for disguise construction using commands for 1.13 2018-12-13 11:57:54 +13:00
libraryaddict
9e7f332788 Added chat serializing which should clear a rare issue 2018-12-13 11:28:02 +13:00
libraryaddict
41848d61ec Set variable after cloning packet, fixes #318 2018-11-25 18:11:14 +13:00
libraryaddict
b00f85cfbb Small code cleanup 2018-11-23 13:27:12 +13:00
libraryaddict
dcff07e5bb Read entire file to string, check for null before returning. #315 2018-11-19 16:55:32 +13:00
libraryaddict
e6752903b4 Call event in scheduler as listener is async 2018-11-16 16:10:32 +13:00
libraryaddict
5e256c9f0e Add DisguiseInteractEvent which is fired on self-disguise interaction 2018-11-14 17:07:43 +13:00
libraryaddict
93e2cdb0a4 Fix permissions for explicit, add tests 2018-11-14 16:46:43 +13:00
libraryaddict
be153d8ac6 Add UUID version changing to support Chinese servers 2018-11-08 21:09:47 +13:00
libraryaddict
19d3053201 Add config options to disable commands, explicit permissions definitions 2018-11-08 21:04:18 +13:00
libraryaddict
6525503f78 Move split(string) to DisguiseUtilities and add unit testing 2018-10-26 02:03:00 +13:00
libraryaddict
f8172ed807 Disguise option parameter ItemStack[] cannot be a null parameter 2018-10-24 11:20:21 +13:00
libraryaddict
dda362f082 Fix bounding boxes 2018-10-24 11:09:16 +13:00
libraryaddict
1c04576ae3 Changed permission system from maps/lists to object based supporting inheritance with unit testing. 2018-10-24 10:13:13 +13:00
libraryaddict
68a53a8760 Add version logging for premium check 2018-10-24 10:11:37 +13:00
libraryaddict
815b6f4c2f If null is unexpected, throw error to more accurately inform player of malformed parameters 2018-10-24 10:10:35 +13:00
libraryaddict
4467075a35 Renamed Silver to Gray, fixed colors sometimes being inaccurate #310 2018-10-24 10:09:32 +13:00
libraryaddict
e4d66e36df Add isBeingReplaced() to UndisguiseEvent. Fixes #309 2018-10-14 11:26:17 +13:00
libraryaddict
b42cf5cc43 Cleaned up disguise permissions parsing and allowed negating parameters through negated permissions instead of "-" parameters. #307 2018-10-05 12:04:30 +13:00
libraryaddict
383c9ecaca Fixed falling block disguise, fixed velocity when flying 2018-09-23 11:07:54 +12:00
libraryaddict
14ca1b1e36 Disguise params extra information 2018-09-23 11:02:53 +12:00
libraryaddict
32626f9747 Fix enum values on disguise options 2018-09-19 12:26:48 +12:00
libraryaddict
cc067f5adb Rename fields, add comments, fix chunk biomes 2018-09-13 18:56:46 +12:00
libraryaddict
7fcb58936a Remove debug stacktrace 2018-09-07 14:36:57 +12:00
libraryaddict
03e50e9d07 Clean up code, change ParamInfos to display better information. DisguiseHelp is more readable. Parse disguises code is more readable 2018-09-07 14:35:38 +12:00
libraryaddict
0b21e88f0d Modify way nms Particle is fetched 2018-09-03 15:23:08 +12:00
libraryaddict
49c8f68911 Corrected maven structure 2018-09-01 13:10:38 +12:00
BuildTools
d390adde38 Convert back to maven 2016-05-10 03:28:38 +12: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
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
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
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
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
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
321ecdb3c2 Cleaned up code 2016-02-18 17:45:11 -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
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
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
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
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
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
573f4cdc88 - Changed entire project to gradle
- Updated for 1.8.3
- No more errors, woo
2015-03-09 20:28:41 -04:00