Commit Graph

1551 Commits

Author SHA1 Message Date
libraryaddict
ef10444c58
Fix isSneaking bugged in 1.12 and 1.13 2020-03-28 19:34:19 +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
4e3f86acd0
Add more warnings for async custom disguises 2020-03-25 16:39:00 +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
d0bb5021bf
Empty names will now hide the name on PlayerDisguise 2020-03-25 15:53:08 +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
3231b31282
VerboseConfig defaults to true if not set 2020-03-22 19:46:04 +13:00
libraryaddict
7cedac0980
Deprecate setWatcher on Disguise because no one uses it properly 2020-03-22 19:20:48 +13:00
libraryaddict
f5090cc288
Don't refresh disguise if they can't show a name anyways 2020-03-22 19:20:24 +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
b152a59df7
Add more aliases for self disguise toggle 2020-03-18 11:57:38 +13:00
libraryaddict
3816806de7
Use different constructor for velocity packets 2020-03-13 13:00:55 +13:00
libraryaddict
1a12a80a32
Remove disguises from tab complete and prevent all usage by changing required permission in config, closes #432 2020-03-12 15:22:55 +13:00
libraryaddict
07ed5908b9
Snapshot version 2020-03-09 09:24:48 +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
bee383dd3b
Fix a typo in tropical fish for bodycolor 2020-03-05 11:17:57 +13:00
libraryaddict
fe88691c5f
Use tropical watcher methods, not variant 2020-03-05 11:10:17 +13:00
libraryaddict
8d7706b9e0
Add libsdisguises.noactionbar 2020-03-03 11:08:34 +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
1cb9c0ee4a
Replace invalid materials for 1.12 default custom disguise libraryaddict 2020-02-21 15:42:18 +13:00
libraryaddict
1d6e1c57b7
Reverse a boolean check 2020-02-21 14:45:11 +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
90ed56bcec
Remove classyloader from Lib's Disguises 2020-02-20 18:16:28 +13:00
libraryaddict
396b924571
Add better asm support and lower the jar size 2020-02-20 18:13:43 +13:00
libraryaddict
487ec6095d
Init ld 2020-02-20 12:47:23 +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
fc78734fd5
Add tameable options to older ocelot disguise 2020-02-14 19:58:20 +13:00
libraryaddict
e541da2a6d
Don't make backwards compatibility prem-only 2020-02-14 19:57:52 +13:00
libraryaddict
4e235a265c
Merge branch 'master' of github.com:libraryaddict/LibsDisguises
# Conflicts:
#	src/main/java/me/libraryaddict/disguise/disguisetypes/AnimalColor.java
2020-02-14 10:09:15 +13:00
libraryaddict
a581decbe0
Add 1.12 support 2020-02-14 10:06:49 +13:00
SoSeDiK
79f1f1ad73
Fixed a small typo
Sorry, Catcus! Cactus time.
2020-02-13 11:38:22 +02: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
7661635eb9
/libsdisguises shouldn't be hidden, added aliases ld and libsdisg 2020-02-05 14:45:51 +13:00
libraryaddict
852d8c9f2b
Set custom name dynamically on start 2020-02-05 14:29:04 +13:00
libraryaddict
01fa2ff843
Set initial value to 0 to immediate change 2020-02-05 14:27:51 +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
dd3017b0f9
Check if at least one of the people fighting is human 2020-02-04 16:10:08 +13:00
libraryaddict
7f2de5194f
Action bar every 15 ticks, only if current disguise is main disguise 2020-02-04 16:07:47 +13:00
libraryaddict
4af9da10c5
Fix retaliation combat and make the message nicer to see 2020-02-04 16:06:34 +13:00
libraryaddict
e2f80811ff
Correct plugin.yml perms 2020-02-04 16:05:00 +13:00
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