Commit Graph

59 Commits

Author SHA1 Message Date
libraryaddict
548627f2ee
Add 'custom' and 'vanilla' so you can exclude/include disguises by permission 2020-05-17 17:57:38 +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
0945fe866c
Add libsdisguises.command.valid.optionstoset 2020-04-20 22:34:03 +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
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
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
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
a50ea45f5e
Fixed incorrect regex 2020-02-07 09:16:16 +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
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
ce1472eaf7 Add addCustomDisguise to DisguiseConfig to easily register own custom disguises 2019-12-28 13:10:52 +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
9cc6889f7d Fixed disguise options not working 2019-11-09 11:07:54 +13:00
libraryaddict
6c93866122 Don't allow non-disguise parameters 2019-11-05 17:26:18 +13:00
libraryaddict
2f109de685 Parse materials to uppercase for ItemStacks 2019-11-03 17:51:20 +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
2cf86b9cd8 Clean up tab completion code for repeated statements 2019-02-18 18:52:54 +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
93e2cdb0a4 Fix permissions for explicit, add tests 2018-11-14 16:46:43 +13:00
libraryaddict
19d3053201 Add config options to disable commands, explicit permissions definitions 2018-11-08 21:04:18 +13:00