Commit Graph

1382 Commits

Author SHA1 Message Date
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
e5ed366a33 Send 300 air not 0 2019-07-25 15:39:36 +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
7fbae2b342 Change getCustomDisguise in DisguiseAPI to getRawCustomDisguise, add getCustomDisguise to DisguiseAPI which returns Disguise 2019-05-18 18:07:54 +12:00
libraryaddict
2ff7b7ab3f Revert custom disguise api for MM compatibility 2019-05-16 18:07:53 +12:00
Mark Vainomaa
ee17925c53 Deprecate method with magic value parameter 2019-05-09 03:08:06 +03:00
Mark Vainomaa
55ec5056e8 Fix Enderman's get/setItemInMainHand calls
They were using old pre-1.13 methods which were causing issues with
getting correct block data to show up. As of 1.13, Material enum has all
the block types and constructing WrappedBlockData via Material is the
only correct way of doing this.
2019-05-09 03:05:15 +03:00
libraryaddict
72e2fb34c4 Fixes #356 2019-05-03 15:54:10 +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
8fbac2ba6f Merge branch 'master' of github.com:libraryaddict/LibsDisguises 2019-04-15 17:44:36 +12:00
libraryaddict
4ed1732dee SerializerChatComponent now registered to WrappedChatComponent, not FlagWatcher 2019-04-15 17:44:23 +12:00
libraryaddict
f43a1fa82d
Updated bounding boxes description 2019-04-06 08:43:51 +13: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
87cb76f288 Correct minor typo in error message 2019-03-12 18:29:39 +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
94f8371772 Cleaned up command code 2019-03-05 17:47:00 +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
08dfbe3282 Don't compare distances on teleport for different worlds 2019-02-04 17:20:03 +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
294c944b12 Don't tab-complete hidden players, fixes #339 2019-02-03 13:45:42 +13:00
libraryaddict
3edd1248ef Cleaned up scoreboard team color/prefix/suffix code and correctly ordered the layout 2019-01-29 23:19:13 +13:00
libraryaddict
ddaac88f39 Fixed typo in config loading for ExplictDisguises 2019-01-27 17:18:00 +13:00
libraryaddict
2e969b90bf Fixed #335 2019-01-25 17:14:40 +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
f883e96028 Modify bounding box on larger player movements as the scheduler isn't very accurate 2019-01-12 17:07:54 +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
40ef2159c8 A bit distracted! Fix an if check 2018-12-16 18:43:23 +13:00
libraryaddict
9edf69af54 Metrics should display non-spigot builds with build number 2018-12-16 18:35:10 +13:00
libraryaddict
8a24f8568f Release 9.7.1, make plugin free 2018-12-16 17:21:18 +13:00
libraryaddict
b81f99aa0f Fix typo for numbered/custom build numbers display 2018-12-16 17:19:59 +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
add91b6705 Release 9.7.0 2018-12-13 19:50:31 +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
0393613a67 Correct typo 2018-12-13 11:20:28 +13:00
libraryaddict
41848d61ec Set variable after cloning packet, fixes #318 2018-11-25 18:11:14 +13:00
libraryaddict
754538a490 Add metrics for config option 'Disable commands' 2018-11-23 13:29:19 +13:00
libraryaddict
4f06b1833f Resend self disguises if player teleports further than 64 blocks 2018-11-23 13:29:02 +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
62f74b3112 Correct small typo in config 2018-11-15 12:15:23 +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
d1c1182b02 Fix typos in config 2018-10-24 11:09:45 +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
libraryaddict
cc9dfe6bab Updated to 1.13.1 and other changes
Updated error/debug output
Changed quote splitter to use regex
Updated default values for metadata to better replicate a normal entity
Fixed typo, removed unused calls
Fixed arrows gaining particles
TippedArrows will now show a random color instead of aqua
AreaEffectCloud will now show a random color
AreaEffectCloud's color methods now uses color not int
Added org.bukkit.Color to the disguise parameters available as RGB or name
Added new method ParticlesColor to LivingWatcher
Fixed LivingWatcher's potion effect particles
2018-08-29 13:05:29 +12:00
libraryaddict
2b94217aae Read description
Renamed config option 'SeeFriendlyInvisibles' to more accurate 'DisableFriendlyInvisibles'
Added config option 'WarnConflict' in 'Scoreboard'
Improved config loading to always save default config, moved config loading calls into DisguiseConfig
Improved scoreboard handling to properly unregister scoreboard teams on disable, and player quit instead of relying on a scheduler.
Removed redundant casts and imports, switched to lamba in a few calls
Removed DisguiseUtilities.getPlugin() and replaced with LibsDisguises.getInstance()
Now monitoring Self Disguises teams and if config option is enabled, displaying a warning in console about a possible scoreboard conflict
2018-08-24 10:01:01 +12:00
libraryaddict
55d61653e9 Fix Phantom disguise inverted pitch 2018-08-23 17:10:16 +12:00
libraryaddict
ca8c5aeb86 Disable the plugin instead of just returning, add a missing Logger 2018-08-14 17:20:48 +12:00
libraryaddict
f3d8a18e11 Use the provided Logger instead of System.out and System.err, inform the user how many disguises failed to load. Inform the user how many settings are missing from their config 2018-08-14 12:42:35 +12:00
libraryaddict
53b0491f57 Add a warning for non 1.13 users 2018-08-12 15:35:06 +12:00
libraryaddict
39bbeec442 Add new disguises, update metadata, change how sounds are stored and work, update item parsing message, added Pattern and DyeColor to parsables 2018-08-06 21:48:19 +12:00
libraryaddict
f43ccb67d2 Convert ChatComponent to its nms value 2018-08-06 02:22:36 +12:00
libraryaddict
cbe1a09ded Support ChatComponent 2018-08-06 01:18:01 +12:00
libraryaddict
49d716f285 Update plugin to 1.13, bump maven version, bump java version to 1.8 2018-08-05 20:34:02 +12:00
libraryaddict
992385c2d9 Fix all items being enchanted 2018-07-23 18:46:14 +12:00
libraryaddict
b69ca946a7 Add ability to make item disguises glow #291 2018-07-20 23:43:26 +12:00
libraryaddict
cccf0c0003 Merge branch 'master' of github.com:libraryaddict/LibsDisguises 2018-07-17 08:45:26 +12:00
libraryaddict
89c479879e Add a larger range to the disguises in use graph 2018-07-17 08:45:15 +12:00
TheIntelloBoX
4af99d55b2
Update LibsMsg.java 2018-07-11 20:36:58 +02:00
libraryaddict
4aa724fd6f Improve translations, fix a problem with the files 2018-07-12 06:05:36 +12:00
libraryaddict
9d505d0e30 Merge branch 'master' of github.com:libraryaddict/LibsDisguises 2018-05-18 15:27:34 +12:00
libraryaddict
d83cb14606 Add new options to disable collisions and see friendly invisibles for scoreboards in config, fixed a minor bug where create scoreboard would override settings 2018-05-18 15:27:05 +12:00
libraryaddict
6328cd85c4
Added note to LibsPremium check 2018-04-23 21:02:20 +12:00
libraryaddict
1c60606131 Add Eular Angles for armorstands 2018-03-18 08:40:44 +13:00
libraryaddict
f4bc01f916 Fix dying while disguised creating problems 2018-02-16 15:00:34 +13:00
libraryaddict
ebb1fa3c35 Add logging to translations to tell you how many were loaded 2018-02-16 10:58:58 +13:00
libraryaddict
0adc7ecd3a Added some logging to the LibsPremium stuff 2018-02-16 10:51:15 +13:00
libraryaddict
a6bb739e62 Fixed tablist not being sent properly on undisguise 2018-02-15 22:15:56 +13:00
libraryaddict
0d7370cc81 Fix offline players not having their disguises removed 2018-02-15 22:11:18 +13:00
libraryaddict
88bc7f5784 Improve tablist handling 2018-02-14 20:15:56 +13:00
libraryaddict
e6c904be6a Fix the sound pitches being completely wrong 2018-02-14 19:14:49 +13:00
libraryaddict
206207a374 Improved self disguises toggling to allow commandline to override player preferences, still ignores the commandline users if its a custom or right click disguise. 2018-02-14 18:49:10 +13:00
libraryaddict
758f24108b Fixed update checking using http instead of https 2018-02-13 19:15:47 +13:00
libraryaddict
819487743c Updated Lib's Premium to remove one import and close the UrlClassLoader 2018-02-04 01:18:11 +13:00
libraryaddict
8d389c2a29 Fixes issue #276 2018-01-27 16:45:42 +13:00
libraryaddict
8d0aa545c1 Is issue #268 happy with this? Fixes falling blocks velocities. Maybe. 2018-01-11 01:36:22 +13:00
libraryaddict
d971ad5380 Try another fix for tablist 2018-01-09 18:13:03 +13:00
libraryaddict
68a4f125e9 Change getDisplayName() to getPlayerListName() 2018-01-03 15:32:29 +13:00
libraryaddict
5b86025fa0 Fix villager professions once and for all 2017-12-24 09:26:44 +13:00
libraryaddict
3f27bcf999 Add VillagerProfession and ZombieProfession because Villager.Profession is pure stupid 2017-12-23 10:37:56 +13:00
libraryaddict
ed52576277 Fix zombie villager watcher 2017-12-14 01:53:48 +13:00
libraryaddict
cc06600a0b Use Join(string, " ") instead of Join(string) 2017-12-11 20:43:25 +13:00
libraryaddict
c901fcba58 Small fix 2017-12-10 11:45:22 +13:00
libraryaddict
99ffcf6d1d Use custom string splitter 2017-12-10 11:43:47 +13:00
libraryaddict
51b4d806ae Add the modify disguises quotes, and translate colorcodes 2017-12-09 08:58:48 +13:00
libraryaddict
94fa3f0a1d Allow disguises to use quoted strings to allow spaces in strings 2017-12-09 08:55:11 +13:00
libraryaddict
971c091962 Fix missing method, use an automatically generated entityid instead of -10 2017-12-06 08:08:24 +13:00
libraryaddict
7e18b96186 Fix Bukkit's mistake with villager professions 2017-12-04 02:24:19 +13:00
libraryaddict
bdad4c3f1d Changed Disguise/Undisguise player to support UUID's as well, including UUID's of non-players. Changed LibsMsg to reflect this 2017-10-07 15:12:55 +13:00
libraryaddict
f444bc7b0b Increase version check incase of bigger versions in the future 2017-08-10 07:16:10 +12:00
libraryaddict
6d27f17399 Revert disguise entity id change 2017-08-10 07:12:30 +12:00
libraryaddict
cf0f16a175 Fixed trying to cast command to player 2017-08-07 04:06:40 +12:00
libraryaddict
b3deaa9b70 Limit arrows sticking to 127 2017-08-06 12:35:51 +12:00
libraryaddict
d5913354e4 Use scoreboard for display names 2017-08-06 12:23:47 +12:00