Commit Graph

88 Commits

Author SHA1 Message Date
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
2adca62a83
Fixed custom name still being set despite being overridden 2020-05-08 16:35:25 +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
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
4014aab004
Snapshot build 2020-05-02 21:05:39 +12:00
libraryaddict
41dffe1b46
Fix chatcolor check at wrong position for names 2020-04-26 04:42:45 +12:00
libraryaddict
714c37d1c3
Added getUniqueTeam(prefix) to DisguiseUtilities for other plugins 2020-04-24 16:28:31 +12:00
libraryaddict
fa4c577f7e
More disguiseNextEntity fixing 2020-04-22 14:20:52 +12:00
libraryaddict
36a2bc37c1
Add insurance for when paper changes tracker field 2020-04-21 14:42:25 +12:00
libraryaddict
445d52e277
Minor cleanup of DisguiseUtilities.checkConflicts 2020-04-20 23:03:54 +12:00
libraryaddict
cf5a3953d9
Clean up file accesser 2020-04-17 14:14:49 +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
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
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
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
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
e3d4659545
Fix string quoter not handling it properly 2020-03-25 15:53: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
396b924571
Add better asm support and lower the jar size 2020-02-20 18:13:43 +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
1fcefbcdcc
Added 1.13.2 support, made backwards premium 2020-02-13 19:47:02 +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
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
ead5a23d65
Add setNameVisible to player disguises 2020-01-19 15:48:52 +13:00
libraryaddict
7f725d26bd
Don't keep old velocity changes, prevent 2 velocities 2020-01-06 16:01:05 +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
3b3de8d0ee Catch CraftItemStack when de/serializing, fixes #414 2019-12-21 19:12:22 +13:00
libraryaddict
7b70c9bb14 Update for 1.15 2019-12-14 13:10:11 +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
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
92a85194fb Add missing Villager.Type parameter, rename methods to setBiome and deprecate old. 2019-11-13 11:07:53 +13:00
libraryaddict
0972e74d17 Reverse a boolean check 2019-11-10 23:08:55 +13:00
libraryaddict
5bb9eeac84 Change the method used to check for Paper 2019-11-10 22:54:32 +13:00
libraryaddict
b591bb96f0 Fix builds failing 2019-11-10 22:45:46 +13:00
libraryaddict
ec6512aa77 Paper experimental fix 2019-11-10 22:44:02 +13:00
libraryaddict
9b8b57cf9f Switch the underlying HashMap<HashSet> for disguises to Concurrent Map and Synchronized Set, fixes thread safety. 2019-10-22 11:29:03 +13:00
libraryaddict
4137b47ba8 Delay armor packets for player disguises 2019-10-13 18:22:39 +13:00
libraryaddict
ceb10171c9 Fixes zombie villager disguise, fixed #391 2019-09-16 14:30:16 +12:00