v2.1.0 : This update will more elegantly catch error's caused when the placeholder is misused or a general error occurs. It will elegantly return a "Error_Check_Console" string back from the parsed placeholder and dumb the error into console.
As title says:
- Updated to new PAPI API (retains backwards compatibility)
- Uses native Spigot 1.16
- Added new placeholders to detect entities in given areas
%otherplayer_<player>_itemininvhasname_<name/material-name>% - Returns PNF/true/false. Can be name assigned name of item or material name that matches exactly.
%otherplayer_<player>_itemininvhasname_<name/material-name>_amount_<amount>% - Returns PNF/true/false. If amount specified is less than 1, it will assume any amount.
%otherplayer_<player>_itemininvcontainsname_<string-to-match>% - Returns PNF/true/false. Returns first match that contains provided string. Eg. Can be used to check if player has "chestplate" of any sort.
%otherplayer_<player>_itemininvgetamount_<name/material-name>% - Returns 0 or greater. Will add up multiple stacks if they match the name provided.
Clip will be implementing API to use getName() method to identify expansions on ecloud and your installed directory. This is to support that future update.
yes you're entering the name already BUT you can enter a case-incensitive name and get returned the full propper name. Also a good way to check if player exists on your server at all as it'll return PNF if it doesnt.