Commit Graph

1464 Commits

Author SHA1 Message Date
libraryaddict
1874544721
Stuff 2020-02-03 20:32:21 +13:00
libraryaddict
5410e8dd04
Dont send action bar every tick 2020-02-03 18:37:32 +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
accbba2d32
Fix setName not working correctly in a few cases 2020-01-28 17:05:47 +13:00
libraryaddict
3a2e7602fb
Add <Inherit> for player disguises name to inherit custom names from entities 2020-01-28 15:13:59 +13:00
libraryaddict
7ee65d26b2
Allow disguise options on all parameters 2020-01-23 09:42:01 +13:00
libraryaddict
7109633a67
Fixes #424 error with grabskin no name provided 2020-01-22 20:49: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
b5c7bce609
Correct subpermissions of a few seecmd 2020-01-20 17:51:44 +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
2bc4209a6c
Catch reloads 2020-01-18 15:12:32 +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
54bd979506
Handle UUIDs for teams as well as names #418 2020-01-06 07:30:22 +13:00
libraryaddict
f8fe3116df
Modify default player tablist expire from 40 ticks to 60 ticks. 2020-01-05 09:58:43 +13:00
libraryaddict
64f9da47c9
Add new commands to metrics 2020-01-04 07:46:02 +13:00
libraryaddict
3536bf63c3 Change guide in disguises.yml to include new commands 2020-01-03 21:18:30 +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
4835b6de0b Remove outdated code/enum and add "setSleeping" and "setSwimming" while fixing "setSneaking" 2019-12-22 21:11:47 +13:00
libraryaddict
d657c5be5f Fixed pi rate error again.. 2019-12-22 18:15:55 +13:00
libraryaddict
1e313a5a57 Reverse pi check 2019-12-22 12:30:44 +13:00
libraryaddict
c83283f43e Add more info for setting up prem 2019-12-22 10:46:37 +13:00
libraryaddict
53768a29d3 Add pi rate checking for main plugin 2019-12-22 10:15:52 +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
381444d6e3 Release der snapshot build!1! 2019-12-15 12:22:55 +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
320b4e1cb7 Add new disguise option for mobs to ignore selective disguises. Not usable through commands due to potential for abuse by simplistic permissions. 2019-12-14 11:48:37 +13:00
libraryaddict
b777375493 Add simple material constructor to MiscDisguise for falling blocks and item disguises 2019-12-06 17:51:56 +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
57c2924930 Allow server ops to use commands 2019-11-23 14:38:21 +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
2c78c012c0 Players disguised will by default, have an empty custom name on disguise to conceal if they have a custom name on the player entity. 2019-09-05 18:58:48 +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
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