Commit Graph

400 Commits

Author SHA1 Message Date
libraryaddict
822ad1b7fd
EntityPose.CROUCHING -> EntityPose.SNEAKING, fixes error in 1.14 and maintainability 2020-04-21 20:31:52 +12:00
libraryaddict
3a2c121f0f
Let custom disguises retain their disguise name 2020-04-21 15:00:36 +12:00
libraryaddict
884f9471ca
Falling Block and Dropped Item now show their proper name for disguise name 2020-04-21 14:54:10 +12:00
libraryaddict
36a2bc37c1
Add insurance for when paper changes tracker field 2020-04-21 14:42:25 +12:00
libraryaddict
d005ab8da9
Move listener to another package 2020-04-21 00:52:58 +12:00
libraryaddict
445d52e277
Minor cleanup of DisguiseUtilities.checkConflicts 2020-04-20 23:03:54 +12:00
libraryaddict
0945fe866c
Add libsdisguises.command.valid.optionstoset 2020-04-20 22:34:03 +12:00
libraryaddict
22c258b4fc
Change metrics to use existing chart 2020-04-20 17:59:52 +12:00
libraryaddict
ee9240385e
Add '/libsdisguises count' 2020-04-20 17:58:05 +12:00
libraryaddict
dd7b0451a1
Merge branch 'master' of github.com:libraryaddict/LibsDisguises 2020-04-20 15:17:38 +12:00
libraryaddict
ad04185ff0
Fixed hardcoded chat colors for translations 2020-04-20 15:17:11 +12:00
libraryaddict
0df3e08a1d
Remove debug 2020-04-19 22:36:55 +12:00
libraryaddict
b527b3d166
Add untested update system, add delay config option for tablist 2020-04-19 14:55:39 +12:00
libraryaddict
843d955521
Fix # not being caught in build no 2020-04-19 08:55:54 +12:00
libraryaddict
e29ad3ffde
Rename more custom entity fields 2020-04-19 08:23:35 +12:00
libraryaddict
f10870b727
Rename from CustomDisguise to ModdedDisguise 2020-04-19 08:19:03 +12:00
libraryaddict
2ce9b38c74
Fix minor error 2020-04-19 07:20:03 +12:00
libraryaddict
001064adf0
Allow string entry to CustomDisguise 2020-04-19 07:17:58 +12:00
libraryaddict
e50c9fc99f
Allow multiple options in disguise option perm 2020-04-18 01:07:48 +12:00
libraryaddict
63e84973fe
Add setName and setNameVisible to PlayerWatcher 2020-04-17 23:11:11 +12:00
libraryaddict
2180eb935b
Fix sounds not working for entity damage, fixes #450 2020-04-17 20:34:55 +12:00
libraryaddict
5ac6731ec5
Add metrics for api version 2020-04-17 19:57:52 +12:00
libraryaddict
7e1eb29dd2
Updated messages and commands for api version 2020-04-17 14:30:29 +12:00
libraryaddict
cf5a3953d9
Clean up file accesser 2020-04-17 14:14:49 +12:00
libraryaddict
28a99d91ff
Change how I grab plugin.yml from jars to fix an error with weird classloading 2020-04-17 14:08:21 +12:00
libraryaddict
00507a1194
Use slightly different YAML loading, try fix an issue on a Chinese user's server 2020-04-17 04:41:42 +12:00
libraryaddict
a309b24004
Merge branch 'master' of github.com:libraryaddict/LibsDisguises 2020-04-16 18:35:17 +12:00
libraryaddict
caa0aa69d9
Add requirements for mods and see mods in use if so 2020-04-16 18:32:09 +12:00
libraryaddict
a3e159d162
Check if null before accessing observer 2020-04-16 03:38:01 +12:00
libraryaddict
e8ba0a2adc
Automagically copy and delete premium jars in the LibsDisguises folder 2020-04-16 01:09:20 +12:00
libraryaddict
8b39450490
Fixed bossbars disabling self, added support for modded custom entities, disguises now refer to themselves with the right disguise name when possible, cleaned up some code, fixed bossbar error when a server uses a bad bossbar name in their own system 2020-04-16 00:55:35 +12:00
libraryaddict
b31fc3a251
Self disguises shouldn't glow or have sprint particles 2020-04-15 23:25:48 +12:00
libraryaddict
6e112ea137
Allow plugin to be used as an API on free resource page 2020-04-14 02:27:34 +12:00
libraryaddict
810a8f8e00
Don't let certain types of blocks be used in falling block disguises in 1.12, fixes #446 2020-04-14 02:27:05 +12:00
libraryaddict
3c40a27c8f
Initial work for custom disguises 2020-04-13 21:14:04 +12:00
libraryaddict
80cf5cef27
Add information about :slim 2020-04-10 17:25:01 +12:00
libraryaddict
67b9d57ac2
Improved tab complete for placeholders and ItemStack[], fixed items unable to parse empty string 2020-04-10 17:19:43 +12:00
libraryaddict
64641c5390
Allow usage of :slim to get the slim version of a skin 2020-04-10 13:05:10 +12:00
libraryaddict
c2a4fa3e8c
Release 10.0.3 2020-04-08 19:45:34 +12:00
libraryaddict
1c0c5100c5
Fixed update checker again 2020-04-07 16:15:17 +12:00
libraryaddict
fb97dd4857
Player disguises no longer hang around in tab
Fix setSkin not working on active disguises
Fixed tab names not displaying
2020-04-07 16:14:17 +12:00
libraryaddict
8ff3c7c121
If server online less than 6 hours, ignore versions where the server is better than the site 2020-04-07 14:23:33 +12:00
libraryaddict
a2262860d5
BossBars are no longer supported in 1.12 due to api restrictions 2020-04-07 14:08:17 +12:00
libraryaddict
693c0b9d79
Lower severity of "failed to load X custom disguises" from error to warning 2020-04-07 02:23:55 +12:00
libraryaddict
6d1a68e2d7
Fix bossbars wanting to stick around 2020-04-06 13:21:16 +12:00
libraryaddict
6379ecaa8c
Fix painting error on spawn 2020-04-06 13:04:38 +12:00
libraryaddict
f3369def08
Users must download a new jar from spigotmc for 10.0.0 snapshots 2020-04-05 14:41:12 +12:00
libraryaddict
4a5b47d2e6
Change update checker to do a simpler check which allows more dramatic versions in the future. 2020-04-05 14:35:39 +12:00
libraryaddict
2495ea65c3
Fix Dinnerbone and Grumm being spun the wrong way around 2020-04-05 02:24:02 +13:00
libraryaddict
efbd6e29e3
Renamed messages from "option" to "method" to make things clearer
Added better support for tab completion and ignoring the first arg of falling blocks and item disguises, so /disguise fallingblock setburning - Is now possible
Fixed itemstack parsing returning illegal/unwanted air block
2020-04-04 19:58:21 +13:00
libraryaddict
269a5c3aef
Fix item disguises trying to fly off, fixes #439 2020-04-04 14:58:37 +13:00
libraryaddict
44012ab58b
Change the way entity interaction works for commands to a cleaner method 2020-04-04 14:17:29 +13:00
libraryaddict
e55f88fc73
Extended names false by default, don't give json on /ld automatically 2020-04-01 21:39:25 +13:00
libraryaddict
901c6ef06f
Improve extended names, normal player disguises now use teams instead of actual player names to better support names changing at will
Added setName to PlayerDisguise disguise options in command
2020-03-30 20:22:33 +13:00
libraryaddict
c77c490324
Catch throwables not just normal exceptions 2020-03-30 09:11:26 +13:00
libraryaddict
82fb093528
Don't use isInvul to find the right sound 2020-03-29 18:12:53 +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
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
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
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
3816806de7
Use different constructor for velocity packets 2020-03-13 13:00:55 +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
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
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
396b924571
Add better asm support and lower the jar size 2020-02-20 18:13:43 +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
a581decbe0
Add 1.12 support 2020-02-14 10:06:49 +13: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
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
4af9da10c5
Fix retaliation combat and make the message nicer to see 2020-02-04 16:06:34 +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
7ee65d26b2
Allow disguise options on all parameters 2020-01-23 09:42: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
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
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
64f9da47c9
Add new commands to metrics 2020-01-04 07:46:02 +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
c83283f43e Add more info for setting up prem 2019-12-22 10:46:37 +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
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
c5cad96118 Ignore DisguiseType.UNKNOWN, handles #373 2019-12-06 11:37:33 +13:00