Commit Graph

650 Commits

Author SHA1 Message Date
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
libraryaddict
52eec84d23
Add upside down for all disguises, add rainbow wool for sheep 2020-05-12 13:36:39 +12:00
libraryaddict
a018973eeb
Deny setCustomNameVisible if overriden custom names 2020-05-11 17:58:32 +12:00
libraryaddict
7a4cb6b7f0
Fix dynamic name path 2020-05-11 15:23:47 +12:00
libraryaddict
f6eb0f14b7
Update dynamic name for non-player disguises 2020-05-11 15:22:02 +12:00
libraryaddict
0fe54d6683
Add color to debug msg, fix updater not allowing force check 2020-05-11 15:06:18 +12:00
libraryaddict
be1bebe8d5
Add more debug info to /ld debug 2020-05-11 15:00:08 +12:00
libraryaddict
9a40df5bd8
Handle armorstands interaction for commands 2020-05-11 14:53:58 +12:00
libraryaddict
111acda388
Don't allow setting if upside down 2020-05-11 04:48:38 +12:00
libraryaddict
e64a439fb4
Friendly warning that craftbukkit is messed up 2020-05-11 03:49:19 +12:00
libraryaddict
61128dd372
Rename tall disguises config option to reset it, was bugged and no one liked default option 2020-05-11 03:48:34 +12:00
libraryaddict
684e57827c
If using multi-name, split the string and use the first line as the skin 2020-05-10 20:17:46 +12:00
libraryaddict
a0398c4d02
Move where armor destroy packet is sent 2020-05-10 20:01:30 +12:00
libraryaddict
e8c7a48c47
Added setUpsideDown to PlayerWatcher 2020-05-10 16:38:36 +12:00
libraryaddict
71dbaeebf5
Added setUpsideDown to PlayerDisguise 2020-05-10 16:35:29 +12:00
libraryaddict
66a66b3638
Disguise config now informs if it doesn't/does need update 2020-05-10 16:34:53 +12:00
libraryaddict
e6b7651571
Armorstand names now adapt to basic entity sizes, and player sneaking. Doesn't handle poses. 2020-05-09 21:57:07 +12:00
libraryaddict
93eef36c58
Add chest to forbidden block disguises 2020-05-09 21:55:45 +12:00
libraryaddict
7efb85db7c
Fix setCustomName 2020-05-08 17:26:07 +12:00
libraryaddict
62b4408e21
Don't @RandomDefaultValue custom name 2020-05-08 16:51:20 +12:00
libraryaddict
2adca62a83
Fixed custom name still being set despite being overridden 2020-05-08 16:35:25 +12:00
libraryaddict
a963e86323
Fix custom names 2020-05-08 13:25:54 +12:00
libraryaddict
2de723af8a
Add the workings of custom names for all, I should make it check permissions... 2020-05-08 03:20:58 +12:00
libraryaddict
944dd7243b
Fix reverse not reversed 2020-05-08 03:00:43 +12:00
libraryaddict
f40492b2e7
@eutherin#5367 fixed name ordering 2020-05-08 02:34:43 +12:00
libraryaddict
d1c0e9eff8
Handle when a string has an actual newline in it 2020-05-07 22:38:10 +12:00
libraryaddict
801c3c7239
Fix build 2020-05-07 22:36:40 +12:00
libraryaddict
5febe8f66e
Fixed packets being cloned and sent multiple times for armorstands 2020-05-07 22:35:31 +12:00
libraryaddict
c6233f5066
Use extended not extended_teams 2020-05-07 22:05:34 +12:00
libraryaddict
fa778e2709
Increment and get entity id, not the reverse 2020-05-07 22:05:03 +12:00
libraryaddict
154ec5c08d
Forgot to commit this listener 2020-05-07 21:30:32 +12:00
libraryaddict
888bbd9521
Add new armorstand option for player disguise names, clean up config cos of the player name options
Added ability to set multiple names on a player disguise, also normal mob but that is untested and has no command accessibility
Permission to do this is libsdisguises.multiname
Renamed "Now disguised as a %s" to "Now disguised as %s" for messages
2020-05-07 21:27:07 +12:00
libraryaddict
6170d8e77f
Fixed an error with null item 2020-05-06 13:07:11 +12:00
libraryaddict
04271be455
Cancel velocities on squid disguises 2020-05-04 18:25:09 +12:00
libraryaddict
4014aab004
Snapshot build 2020-05-02 21:05:39 +12:00
libraryaddict
82d574e251
Cleanup imports 2020-05-02 02:09:24 +12:00
libraryaddict
669dbbeb78
Fix FileUtils being referenced when it's not compatible with 1.12 and other alternatives exist 2020-05-02 02:08:43 +12:00
libraryaddict
301617c0f3
Mark in log where its being downloaded to 2020-05-01 19:09:37 +12:00
libraryaddict
d1319f800c
Rename tall disguises thingy so its not so horrible to find, also have it turned off if they specifically turn self disguises on 2020-05-01 14:56:46 +12:00
libraryaddict
824edfe698
Handle some types of disguises better for head rotations and other disguises 2020-05-01 14:49:22 +12:00
libraryaddict
54f2896255
Update jenkins to handle invalid builds better 2020-05-01 14:48:23 +12:00
libraryaddict
584a7a6e7e
Config now auto-updates by default, fixed modded entities trying to re-register each reload 2020-04-28 11:44:54 +12:00
libraryaddict
759444090b
Fixed paper breaking in one of their latest updates 2020-04-28 00:59:49 +12:00
libraryaddict
183ac73579
Remove commands and hopefully permissions from registered information if not used, mainly applies to api version and disabled commands. 2020-04-28 00:09:05 +12:00
libraryaddict
1abf447790
Add more info and a better regex matching for jenkins releases 2020-04-27 18:48:06 +12:00
libraryaddict
af492c2e3b
Add new config option to auto-hide tall disguises, also as a disguise option 2020-04-27 17:31:00 +12:00
libraryaddict
1d7fd61556
Set no gravity to stop appearing in disguise parser 2020-04-27 17:17:48 +12:00
libraryaddict
5b5cdd0395
Improve update system and info 2020-04-27 17:03:11 +12:00
libraryaddict
7090ea51cc
Finish update system 2020-04-27 16:56:48 +12:00
libraryaddict
b247a49a23
Better handling for updates checking, can now autoupdate on dev and release builds 2020-04-27 05:09:13 +12:00
libraryaddict
41dffe1b46
Fix chatcolor check at wrong position for names 2020-04-26 04:42:45 +12:00
libraryaddict
9350f798eb
Return string not boolean 2020-04-24 19:36:17 +12:00
libraryaddict
740fac23ba
Call setName() instead of setting name directly 2020-04-24 19:34:37 +12:00
libraryaddict
a63e617b0a
Add /ld debug - To help debug with scoreboard issues on a player 2020-04-24 18:09:15 +12:00
libraryaddict
ab1a7bffe4
Fix chat colors being sent raw in debug 2020-04-24 17:43:25 +12:00
libraryaddict
535946d95d
Fixes error and more info for auto update 2020-04-24 17:08:40 +12:00
libraryaddict
e7b2fa374b
Don't use caches 2020-04-24 17:06:17 +12:00
libraryaddict
88c9546a88
Give update info on command update 2020-04-24 17:04:55 +12:00
libraryaddict
714c37d1c3
Added getUniqueTeam(prefix) to DisguiseUtilities for other plugins 2020-04-24 16:28:31 +12:00
libraryaddict
5fe25f90a0
Fix clone() not cloning dynamicname 2020-04-24 16:19:24 +12:00
libraryaddict
7658d31ee5
More info for /libsdisguises scoreboard 2020-04-24 15:59:59 +12:00