Commit Graph

710 Commits

Author SHA1 Message Date
libraryaddict
249304cced Fix brute not getting the right metadata 2020-08-18 20:28:41 +12:00
libraryaddict
0624538774 Update to 1.16.2 2020-08-18 18:03:22 +12:00
libraryaddict
c8e08e91ff Don't load preferences if corrupted 2020-08-18 10:07:46 +12:00
libraryaddict
bb009be826 Start spamming players and logs for old ProtocolLib 2020-08-17 18:14:10 +12:00
libraryaddict
cb5aec155a Minor code cleanup 2020-08-15 06:26:00 +12:00
libraryaddict
11f0546fbe <@473314146453291009> sucks & cleans imports 2020-08-13 12:18:22 +12:00
libraryaddict
9b7b232fbe Thank you Eutherin for the reminder to break async! 2020-08-13 12:14:00 +12:00
libraryaddict
93936c3628 Cleanup more reflection 2020-08-13 12:10:48 +12:00
libraryaddict
15b4a6e935 Clean a fair bit of reflection calls, still some left over.. Performance boost. Also fixed /disguise not spacing the disguises you can use 2020-08-13 11:51:32 +12:00
libraryaddict
7a3f764581 Fix a performance issue, fixes #503 2020-08-12 19:28:41 +12:00
libraryaddict
f67500b7be Fix another typo 2020-08-12 18:04:21 +12:00
libraryaddict
d751a15c6a Fix bad reflection 2020-08-12 17:01:39 +12:00
libraryaddict
325e73d059 Add BlockData to FALLING_BLOCK command constructing 2020-08-12 16:04:09 +12:00
libraryaddict
f530af0ae8 Small code cleanup 2020-08-12 15:55:25 +12:00
libraryaddict
deb3fd243b Expand further on BlockData 2020-08-12 15:49:03 +12:00
libraryaddict
4f0290218b Add blockdata as a valid falling block thing, requires setblockdata 2020-08-12 09:36:13 +12:00
libraryaddict
f322a80b69 Only modify entity metadata if they are currently self disguised 2020-08-12 08:06:31 +12:00
libraryaddict
8144f16182 Fix null 2020-08-11 12:21:09 +12:00
libraryaddict
50022ee13a Give getDisguise a perf boost 2020-08-11 11:03:12 +12:00
libraryaddict
2efda17935 Fix console being cast to player 2020-08-11 09:04:43 +12:00
libraryaddict
baed87bc78 Fix empty names leaving old names behind 2020-08-11 09:00:35 +12:00
libraryaddict
9166120071 Don't ignore config view self disguise option, fixes #502 2020-08-11 08:56:40 +12:00
libraryaddict
695633e876 Fix update again and fix bug in placeholders 2020-08-11 08:45:14 +12:00
libraryaddict
8b4a7a59c0 Add placeholder for all players online 2020-08-11 08:39:11 +12:00
libraryaddict
e5304f19e2 Add better updating, add %user-displayname% and target 2020-08-11 08:28:43 +12:00
libraryaddict
9ffbd9e272 Add better /ld uploadlogs info, name placeholder now does displayname too 2020-08-11 08:08:55 +12:00
libraryaddict
6dd16a545e Add permission "themselves" for setName to refer to player command user 2020-08-09 04:13:13 +12:00
libraryaddict
5397210b56 Update LD premium message 2020-08-07 17:47:17 +12:00
libraryaddict
788bc7bc3b Set default locale to English because of dumb bugs 2020-08-06 00:43:21 +12:00
libraryaddict
4b49b147e3 Allow /undisguiseradius to work for command blocks 2020-07-31 16:29:55 +12:00
libraryaddict
2ad5d0ff4d Forgot why I disabled fancy chat for 1.12 2020-07-30 00:47:22 +12:00
libraryaddict
bd214728cd Allow unignition of creeper disguise 2020-07-24 23:54:47 +12:00
libraryaddict
4b40a67b00 Move skins saver for players joining to a schedule 2020-07-23 19:36:17 +12:00
libraryaddict
8cfa9e3daa Give 1.12 a grace period for ProtocolLib, require 4.4.0 2020-07-23 17:56:54 +12:00
libraryaddict
440a5e99fa Describe permtest better 2020-07-23 17:53:17 +12:00
libraryaddict
e73992b8ed Fix a check 2020-07-21 09:51:47 +12:00
libraryaddict
ea50632925 Clean imports 2020-07-20 13:56:18 +12:00
libraryaddict
036f298003 Smarter falling block snapping to grid, allow 0.5 Y and snap to block above if Y above 0.85 2020-07-20 13:56:12 +12:00
libraryaddict
e1f9183a37 Add hasPermission for ProtocolLib update demands 2020-07-19 17:29:08 +12:00
libraryaddict
d82f8ac046 Add warning for /ld scoreboard on tab user detected 2020-07-18 21:29:35 +12:00
libraryaddict
862d186f36 Eh, may as well 2020-07-17 17:54:05 +12:00
libraryaddict
35c1882164 Log file name on startup 2020-07-17 13:42:50 +12:00
libraryaddict
976357aa28 Faster timer for checking updates after restart 2020-07-13 20:23:52 +12:00
libraryaddict
4887491f10 Add more information to /ld scoreboard 2020-07-11 20:15:05 +12:00
libraryaddict
39489d0080 Check for null on disguise team name 2020-07-10 08:09:15 +12:00
libraryaddict
525e47d24e Fix player disguises names 2020-07-08 12:14:23 +12:00
libraryaddict
45331de38c Hopefully delay update checks on constant restarts to still be 6 hours 2020-07-07 12:03:46 +12:00
libraryaddict
3d4329942c Allow defaults in sound groups, allow multiple sounds in the same group 2020-07-05 17:02:25 +12:00
libraryaddict
5a05dffdce Have jenkins update wait for queued builds, unable to catch pending though. 2020-07-05 13:19:43 +12:00
libraryaddict
48b15499df Fix disguise notify bar not being copied in clone 2020-07-05 10:52:45 +12:00
libraryaddict
ce884cc8ac Made super ugly change to how prefix/suffix works by not splitting them at all because MC doesn't look to care about char limits 2020-07-05 10:38:44 +12:00
libraryaddict
1ce0a9a612 Add support for colored hex player names, still has an issue with longer names and splitting not respecting the hex 2020-07-04 20:48:26 +12:00
libraryaddict
ca520c819e Increase scoreboard team limit from 16 to 64 for 1.13+ 2020-07-04 20:33:22 +12:00
libraryaddict
6565fc5f4f Fix invalid calls to 1.12 methods 2020-07-04 18:01:30 +12:00
libraryaddict
1a256855e2 Fix boss bar not being removed 2020-07-04 14:32:49 +12:00
libraryaddict
54efb582b1 Fix preferences file saving 2020-07-04 14:29:04 +12:00
libraryaddict
dd05e3e411 Fix bar disguise toggle 2020-07-04 00:59:33 +12:00
libraryaddict
8a59d64702 Clean up send message again to use LibsMsg.send 2020-07-04 00:44:22 +12:00
libraryaddict
b5b9b432f7 Fix up notify bar 2020-07-03 23:45:48 +12:00
libraryaddict
e74df537bb Improve message sending 2020-07-03 17:36:29 +12:00
libraryaddict
3ced8ae9e4 Added savePreferences and config option for it, added command to view notify bar, cleaned up code, action bar and custom names now support hex colors, uses a better hex color system conversion 2020-07-03 17:08:58 +12:00
libraryaddict
13fedc4437 Add more defaults to plugin.yml 2020-07-02 08:46:23 +12:00
libraryaddict
7ef248c054 Fix equipment packet 2020-07-02 08:25:07 +12:00
libraryaddict
9cde4702f6 Fix /ld uploadlogs 2020-07-02 08:24:55 +12:00
libraryaddict
88b7851df8 Transfer repo ownership to Josh 2020-07-01 17:45:15 +12:00
libraryaddict
30cc40a6a3 Fix isRightClicking() and add isSpinning() 2020-07-01 17:44:29 +12:00
libraryaddict
8e2645501b Fix ProtocolLib version check 2020-07-01 12:29:49 +12:00
libraryaddict
bf12201452 Fix /ld update forcing 2020-06-30 17:03:12 +12:00
libraryaddict
78b19d5596 Remove itemstack placeholders from paraminfoblock 2020-06-30 17:02:59 +12:00
libraryaddict
e3300e7ef9 Reenable attribute packets, fix modded entities 2020-06-30 16:18:03 +12:00
libraryaddict
f3d5f7efc3 Add /ld updateprotocollib, improve version checking for nms 2020-06-30 16:06:27 +12:00
libraryaddict
31672fce7b Start whining about ProtocolLib 2020-06-27 21:20:03 +12:00
libraryaddict
ffd6536565 Add hex color support to translations 2020-06-27 21:01:58 +12:00
libraryaddict
5f2ac293bf Fixes #488 equip packet 2020-06-26 19:00:42 +12:00
libraryaddict
6fbdcc9855 Fix index error 2020-06-26 16:03:50 +12:00
libraryaddict
472649cad7 Hopefully fixes #487 2020-06-26 14:24:48 +12:00
libraryaddict
c5ee5f1fbd Clean imports 2020-06-25 15:34:32 +12:00
libraryaddict
1f847e5ad6 Update to 1.16 2020-06-25 15:33:28 +12:00
libraryaddict
cd64d17a01
Different check for spigot compatibility 2020-06-24 17:33:43 +12:00
libraryaddict
0777947173
Fix #482, unable to disguise as variants with no item equiv 2020-06-24 17:20:18 +12:00
Connor 'Birb' McCormick
68d3ccc7f7
Read BEE_META in BeeWatcher 2020-06-23 21:35:20 +12:00
libraryaddict
407975f41f
Actually fix multi names 2020-06-22 19:39:02 +12:00
libraryaddict
3ebf9cce65
Fix error for multiname length, don't refuse old bossbars 2020-06-22 19:32:41 +12:00
libraryaddict
e317f676b3
Make setSkin smarter about gameprofiles, but not really. Allows new PlayerDisguise(profileString) 2020-06-22 09:26:29 +12:00
libraryaddict
9cf9c85fed
Add setDisguiseName 2020-06-21 20:19:01 +12:00
libraryaddict
c3fc37182e
Fix players being sent they are allowed disguises when they're not 2020-06-21 20:18:48 +12:00
libraryaddict
b501147b63
Hopefully fixes malon's issue 2020-06-21 19:40:38 +12:00
libraryaddict
c01213da99
More helpful info for config upload 2020-06-21 19:25:13 +12:00
libraryaddict
1277a82dd4
Fix enderman item holding not being sent 2020-06-21 00:46:41 +12:00
libraryaddict
ea3380754b
Start monitoring who removes the default disguise 2020-06-20 22:39:22 +12:00
libraryaddict
4fa20a0367
Add /grabhead and use local skins if possible with skinapi 2020-06-20 09:26:48 +12:00
libraryaddict
53051668af
Cancel itself not object 2020-06-20 07:59:16 +12:00
libraryaddict
a81b3b1d5f
Add /ld uploadlogs 2020-06-18 15:48:59 +12:00
libraryaddict
6f3d4d8300
Add command access checking for permtest 2020-06-18 13:44:37 +12:00
libraryaddict
1a659f8b09
Fix null disguises error 2020-06-16 11:17:18 +12:00
libraryaddict
3a85aa29a0
Revert a reverted revert 2020-06-16 02:32:06 +12:00
libraryaddict
cd4ecb2974
Handle client interact packets differently 2020-06-16 02:30:52 +12:00
libraryaddict
948e516505
Revert "Try handle client packets sync"
This reverts commit acf5696fa9.
2020-06-16 02:24:51 +12:00
libraryaddict
acf5696fa9
Try handle client packets sync 2020-06-15 07:38:47 +12:00
libraryaddict
f12c1192e1
Fix being unable to switch worlds while self disguised (paper?), fixes #476 2020-06-14 12:47:43 +12:00
libraryaddict
a19b9e4023
Some helpful comments for future modding 2020-06-13 22:39:11 +12:00
libraryaddict
aa913b48e6
Add config option for turning off login payloads 2020-06-13 22:34:13 +12:00
libraryaddict
32bab36731
Clean up the disguise runnable a bit for some more sanity, it's so ugly. 2020-06-13 21:52:52 +12:00
libraryaddict
e12222ca26
Change data load order to try fix parser doing wrong defaults 2020-06-13 18:28:30 +12:00
libraryaddict
473293463d
Not sure why I have a watcher null check, ALWAYS set the watcher. 2020-06-13 17:42:53 +12:00
libraryaddict
142f1c277e
Don't wrap disguises in synchronize set, fixes #478 2020-06-13 17:33:07 +12:00
libraryaddict
e696ee3f4f
Reverse order of disguise parsing methods 2020-06-13 17:27:39 +12:00
libraryaddict
929f705d0e
Tiny code cleanup 2020-06-13 17:24:46 +12:00
libraryaddict
c4717d7453
Fix modded entities 2020-06-11 17:12:55 +12:00
libraryaddict
8bb9051e59
Remove concurrenthashmap as its a relic of a failed async implemention and causes performance issues, fixes #478 2020-06-11 11:47:46 +12:00
libraryaddict
9eebcc7afd
Try provide github error details 2020-06-11 11:30:53 +12:00
libraryaddict
a9ce0b0ee7
Don't let clients know dolphins can secretly walk, fixes dolphins acting curious and glancing about as you walk 2020-06-08 18:06:50 +12:00
libraryaddict
2d53fdadd0
Delay head rotate packet for paper users to try avoid xray issue 2020-06-04 16:57:28 +12:00
libraryaddict
9094e66dfb
Merge branch 'master' of github.com:libraryaddict/LibsDisguises 2020-05-30 15:03:22 +12:00
libraryaddict
c865500e9f
Add ability to set player disguise shoulder parrots 2020-05-30 15:03:03 +12:00
apuly
f5ebc0b337
Fixed bug with setting villager level (possibly)
trying to set the level of a villager currently doesn't seem to work.
From a quick glance at the code, I think this might have been the cause
2020-05-26 22:30:42 +02:00
libraryaddict
3b34fdf28c
Add message to translations for better info on translating 2020-05-26 11:08:17 +12:00
libraryaddict
84f48b0346
Fix SoundGroup preventing the plugin from loading 2020-05-24 16:49:13 +12:00
libraryaddict
ca33fdb81a
If custom sound group not found, revert to default sound group 2020-05-24 13:38:29 +12:00
libraryaddict
e853d02c7e
Some more sounds functionality 2020-05-24 13:10:48 +12:00
libraryaddict
6de71e4fd3
Custom sounds pick random sound 2020-05-24 12:15:55 +12:00
libraryaddict
860a6e4a03
Add /dhelp disguisesound 2020-05-24 12:14:47 +12:00
libraryaddict
dcbcbc79f4
Add a quick null check 2020-05-24 01:45:13 +12:00
libraryaddict
567f278131
Fix sounds broken on non-1.15 versions 2020-05-24 01:44:19 +12:00
libraryaddict
37e7a0bac7
Add ability to change the sounds for a disguise to whatever you like 2020-05-23 22:48:50 +12:00
libraryaddict
e77a28c258
Rename packet listener for custom payload 2020-05-23 18:44:39 +12:00
libraryaddict
08bee8afd8
Better channel register packet 2020-05-23 18:43:51 +12:00
libraryaddict
cb433458f4
Do player null check for scheduler 2020-05-22 22:49:22 +12:00
libraryaddict
57a4507de9
Fix error on 1.12 2020-05-22 20:38:06 +12:00
libraryaddict
76484b18a7
Increase tab unload delay from 5 to 20 2020-05-22 19:16:41 +12:00
libraryaddict
3e96e765e9
Some stuff 2020-05-21 22:30:53 +12:00
libraryaddict
4eb367b61b
Delay tab removal to hopefully prevent skins not loading on login 2020-05-21 22:30:36 +12:00
libraryaddict
8d5efcbe56
Fix clone trying to access null watcher 2020-05-21 20:48:14 +12:00
libraryaddict
c387d7e66e
Set armorstand ids to int[] to fix gson setting it to null 2020-05-20 21:49:46 +12:00
libraryaddict
341ba27649
Forgot to add the getter 2020-05-20 12:45:17 +12:00
libraryaddict
26d46703b4
Have permtest message too 2020-05-20 12:45:02 +12:00
libraryaddict
9f95cc04d2
Have permtest notify user if plugin isn't prem 2020-05-20 12:44:44 +12:00
libraryaddict
fcd93ec704
Add paper specific listener for entity loading 2020-05-20 12:43:27 +12:00
libraryaddict
43015f192f
Send all armorstands on disguise removal 2020-05-18 16:11:40 +12:00
libraryaddict
6d4d12e0fa
Clean up method a little, don't output setNoGravity to parsed disguise 2020-05-17 22:19:50 +12:00
libraryaddict
6897e00c6f
Fix build failure, fix squids velocity 2020-05-17 18:25:05 +12:00
libraryaddict
adfd280cb7
Send armorstand destroy to all players regardless of tracker 2020-05-17 18:11:04 +12:00
libraryaddict
548627f2ee
Add 'custom' and 'vanilla' so you can exclude/include disguises by permission 2020-05-17 17:57:38 +12:00
libraryaddict
262e1c3b6d
Whoops, I already handle that 2020-05-17 09:24:18 +12:00
libraryaddict
9792b6ba0e
Don't send squid velocity 2020-05-17 09:19:26 +12:00
libraryaddict
f572792c5b
Added nmsaddedin to setEnraged 2020-05-17 09:13:09 +12:00
libraryaddict
54ea63a6c2
Fix insentient watcher not using proper values, and added 'setEnraged'. Not sure if its the proper name, seems to only affect zombie and vindicator from quick tests 2020-05-15 13:12:44 +12:00
libraryaddict
65ee3ed186
Add new config option to disable random values for disguises on creation 2020-05-15 10:45:49 +12:00
libraryaddict
acce02a1b7
Remove obsolete update calls 2020-05-14 09:04:48 +12:00
libraryaddict
f49895dff0
Fix multi name being set when armorstands are not in use #467 2020-05-13 08:06:01 +12:00