Commit Graph

1967 Commits

Author SHA1 Message Date
libraryaddict
4ef142b098 Use getRawValue() instead of getValue(), fixes #520 2020-11-02 04:05:36 +13:00
libraryaddict
a9bec1ef93 Fix assumed player self disguise when doing exp orb, fixes #519 2020-10-29 01:49:05 +13:00
libraryaddict
f7c2d18937 Dunno why this is a problem to begin with 2020-10-25 10:45:22 +13:00
libraryaddict
972633876e Fix logs for 1.12 2020-10-21 11:34:03 +13:00
libraryaddict
ac35cb64b6 Add ocelot type enum 2020-10-21 11:33:18 +13:00
libraryaddict
c0ff4960aa Don't ignore deprecated methods if they used to be valid 2020-10-21 11:14:34 +13:00
libraryaddict
331133f1a1 Add missing ravager/pillar sounds 2020-10-19 04:42:16 +13:00
libraryaddict
a39ca29aef Dont delay a teleportion 2020-10-16 19:34:37 +13:00
libraryaddict
c7d54fa701 Hopefully fix an invisibility issue 2020-10-16 19:22:51 +13:00
libraryaddict
a20d0fbaed Quick fix 2020-10-13 20:19:11 +13:00
libraryaddict
d1181ed58f A small check 2020-10-13 20:09:31 +13:00
libraryaddict
107021a572 Minor change 2020-10-10 07:36:09 +13:00
libraryaddict
76f3383c16 Update multiline names 2020-10-10 07:34:19 +13:00
libraryaddict
0213f7f034 Don't always update custom names 2020-10-10 07:30:34 +13:00
libraryaddict
7f50acf061 Remove newlines from custom disguise saving 2020-10-10 07:08:37 +13:00
libraryaddict
5f2fb5fc54 Fix a check not done for setEnraged 2020-10-09 11:56:00 +13:00
libraryaddict
687f47e22e Messy fix for setEnraged, fixes #506 2020-10-09 11:00:49 +13:00
libraryaddict
6505d7530f Add y modifier to disguises 2020-10-09 10:55:38 +13:00
libraryaddict
1795e03e31 Add ability to customize name above head 2020-10-09 10:18:52 +13:00
libraryaddict
1ed3a149ea Fix serializing of more complex items such as player heads, don't include setArmor in disguise string but instead rely on sethelmet etc 2020-10-09 10:09:37 +13:00
libraryaddict
be34a2c84a Better Array handling 2020-10-09 06:45:49 +13:00
libraryaddict
dff3e23821 Fixed falling block grid lock, improved player disguises skins a ton 2020-10-07 08:21:21 +13:00
libraryaddict
bea34b18c2 Update onfigs 2020-10-03 15:37:06 +13:00
libraryaddict
e731323110 Delay teleport by another tick, lower distance 2020-10-02 07:42:35 +13:00
libraryaddict
3d0c209cf7 Try handle player skins better 2020-10-02 07:15:32 +13:00
libraryaddict
67a873b37f Delay packs 2020-10-01 10:37:54 +13:00
libraryaddict
166658b99b Push player skin fix may need good testing 2020-10-01 09:47:42 +13:00
libraryaddict
02171b60b6 More 2020-09-30 06:28:46 +13:00
libraryaddict
96f53a1270 Clarify multiname in config 2020-09-30 06:28:00 +13:00
libraryaddict
d063da9951
Update DisguiseUtilities.java 2020-09-26 20:52:39 +12:00
libraryaddict
a92c8fb55e Add ability for player disguises to copy existing players display name 2020-09-26 12:00:44 +12:00
libraryaddict
0a3bda1a8e Help fix error 2020-09-26 02:20:28 +12:00
libraryaddict
6d559b1887 Fix paper & bounding boxes hating each other 2020-09-19 09:01:28 +12:00
libraryaddict
ae34cb33b6 Fix multinames getting out of sync 2020-09-19 08:07:12 +12:00
libraryaddict
a66b41e4f5 Always update if you can 2020-09-19 07:24:12 +12:00
libraryaddict
ac574bc51c Fix multi-names breaking on freebies 2020-09-19 07:09:03 +12:00
libraryaddict
ac2d3d8325 Add /ld logs, fix horse disguise riding not moving 2020-09-19 06:08:20 +12:00
libraryaddict
0cd7806d21 Fix Disguise.clone() not cloning expires 2020-09-16 06:56:08 +12:00
libraryaddict
e67115106d Fix riding a player when disguised being weird 2020-09-15 22:13:21 +12:00
libraryaddict
b9490e8344 Potentially fix setExpires 2020-09-15 22:01:48 +12:00
libraryaddict
d73d3f006b Opps 2020-09-15 21:59:17 +12:00
libraryaddict
6de077882c Add null check, always try process packets after 30 seconds 2020-09-15 21:58:33 +12:00
libraryaddict
ebb6d2030d Try new method to handle skins 2020-09-15 21:54:29 +12:00
libraryaddict
c295011015 Don't set default locale, instead use Locale.ENGLISH where possible 2020-09-14 15:01:05 +12:00
libraryaddict
4ff00ee828 Add alias for /grabskin & clarify /ld scoreboard debug 2020-09-14 14:42:51 +12:00
libraryaddict
c1a8001b54 Add setPitchLock and setYawLock on FlagWatcher, closes #507 2020-09-10 15:19:42 +12:00
libraryaddict
45d42b1c6b Fix 1.12 falling block 2020-09-10 11:55:56 +12:00
libraryaddict
3a5f8545dc Fixed volatile isn't transient 2020-09-04 12:49:06 +12:00
libraryaddict
090ce6e8c5 Fix LibsDisguises 2020-09-04 11:11:17 +12:00
libraryaddict
33e803134b Add setGlowColor to FlagWatcher, doesn't support non-player-disguises yet. 2020-09-04 07:58:09 +12:00
libraryaddict
865326eda7 Fix Y issue in falling block disguise grid lock 2020-09-03 16:11:02 +12:00
libraryaddict
b769569d5a Set min radius of area cloud to 0.1 2020-08-31 16:00:47 +12:00
libraryaddict
6e4ceb37a9 Fix error for self disguises refreshing or something 2020-08-31 10:02:50 +12:00
libraryaddict
4f0be27f0a Try avoid issues with preferences.json 2020-08-29 08:35:19 +12:00
libraryaddict
5f09d6d910 Organize imports 2020-08-28 06:15:56 +12:00
libraryaddict
33b7a5e8c8 Ignore static bounding fields 2020-08-28 04:57:03 +12:00
libraryaddict
86a757626b Fix falling block disguise 2020-08-27 15:57:11 +12:00
libraryaddict
6b24bfa858 Fix Piglin 2020-08-27 10:59:55 +12:00
libraryaddict
a0b5b065f0 Fix a typo in %leggings%, fixes #505 2020-08-26 06:48:57 +12:00
libraryaddict
031666546c Fix block/item readable names not having spaces 2020-08-23 20:11:59 +12:00
libraryaddict
4d0fe01bb7 Fix a bug 2020-08-23 13:34:43 +12:00
libraryaddict
c9a3c125a5 Make MultiNames a premium feature 2020-08-23 13:32:54 +12:00
libraryaddict
3591c3bcf8 Don't register team listener if using armorstands 2020-08-23 13:28:35 +12:00
libraryaddict
e22ba6565f Fix builds 2020-08-18 20:41:59 +12:00
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
144f762a0a
Update disguises.yml 2020-08-11 09:03:11 +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
ca3b348136 Add more aliases for disguise commands modify 2020-08-06 20:50:08 +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
6e456e4702 Change default from 2 ticks to 3 for tab expiry 2020-07-05 06:52:13 +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
ece93e7145
Add spacing for another config entry 2020-06-02 17:30:42 +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
libraryaddict
9d417e3485
Add empty space to make a config option more obvious 2020-05-30 14:28:52 +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
e59e89ad52
Update description of sounds.yml 2020-05-24 13:42:03 +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