Commit Graph

52 Commits

Author SHA1 Message Date
libraryaddict
031666546c Fix block/item readable names not having spaces 2020-08-23 20:11:59 +12:00
libraryaddict
9b7b232fbe Thank you Eutherin for the reminder to break async! 2020-08-13 12:14:00 +12:00
libraryaddict
325e73d059 Add BlockData to FALLING_BLOCK command constructing 2020-08-12 16:04:09 +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
6dd16a545e Add permission "themselves" for setName to refer to player command user 2020-08-09 04:13:13 +12:00
libraryaddict
30cc40a6a3 Fix isRightClicking() and add isSpinning() 2020-07-01 17:44:29 +12:00
libraryaddict
e696ee3f4f
Reverse order of disguise parsing methods 2020-06-13 17:27:39 +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
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
7efb85db7c
Fix setCustomName 2020-05-08 17:26:07 +12:00
libraryaddict
2adca62a83
Fixed custom name still being set despite being overridden 2020-05-08 16:35:25 +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
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
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
e50c9fc99f
Allow multiple options in disguise option perm 2020-04-18 01:07:48 +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
203f2adeb5
Warn about illegal async operations 2020-03-25 15:52:23 +13:00
libraryaddict
2a6928a498
Clean up code a bit 2020-03-09 09:00:58 +13:00
libraryaddict
0eaa6159c3
Handle option parsing better 2020-03-05 14:49:33 +13:00
libraryaddict
061161dad7
Add modifyDisguise to DisguiseParser for api usage, deprecate 'constructDisguise' 2020-02-25 15:20:44 +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
9656ed4249
Add backwards compatibility for 1.14 2020-02-06 12:15:20 +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
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
ce292302fe
Code cleanup 2020-01-19 15:48:26 +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
0ed798e8e7
Minor code cleanup, add item placeholders to disguises 2020-01-06 09:28:30 +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
9cc6889f7d Fixed disguise options not working 2019-11-09 11:07:54 +13:00
libraryaddict
a834190209 Update to 1.14.1, first dev build. Other changes included. 2019-05-18 18:54:51 +12:00
libraryaddict
2ff7b7ab3f Revert custom disguise api for MM compatibility 2019-05-16 18:07:53 +12:00
libraryaddict
3d4ee8a020 Add API methods to get a parsed custom disguise 2019-04-17 08:10:15 +12:00
libraryaddict
d164ea36dc Add setExpires to disguise, disguises expire after a scheduled amount of time 2019-03-06 15:16:14 +13:00
libraryaddict
a43f46628a Add placeholder support, explained in disguises.yml. fixes #296 2019-03-05 17:46:47 +13:00
libraryaddict
788d82a872 Add blacklist function to disguise options whitelist 2019-01-12 16:56:17 +13:00
libraryaddict
cada0f4f91 Move classes into packages, clean up packet handling into classes, yaw/pitch should be consistent 2019-01-03 15:13:03 +13:00
libraryaddict
40cc5a7a84 Remove obscure old code for disguise construction using commands for 1.13 2018-12-13 11:57:54 +13:00
libraryaddict
6525503f78 Move split(string) to DisguiseUtilities and add unit testing 2018-10-26 02:03:00 +13:00
libraryaddict
1c04576ae3 Changed permission system from maps/lists to object based supporting inheritance with unit testing. 2018-10-24 10:13:13 +13:00
libraryaddict
b42cf5cc43 Cleaned up disguise permissions parsing and allowed negating parameters through negated permissions instead of "-" parameters. #307 2018-10-05 12:04:30 +13:00
libraryaddict
14ca1b1e36 Disguise params extra information 2018-09-23 11:02:53 +12:00