-No more circular dependency
-Clean up imports. Oops.
-Refactor Parties to use UUIDs instead of player names
-Make server/plugin only instance-level
-Allow other players in Placeholders
-Fixes for ranged getPlayer methods and UUIDs
-Added new placeholders, see list below
Global placeholders:
%sapiparty_max_size%
%sapiparty_invite_timeout%
%sapiparty_exp_share_radius%
%sapiparty_exp_member_modifier%
%sapiparty_exp_level_modifier%
%sapiparty_item_share_radius%
Placeholders for players in a Party:
%sapiparty_leader_name%
%sapiparty_leader_uuid%
%sapiparty_size%
%sapiparty_name_<pos>%
%sapiparty_uuid_<pos>%
where <pos> is the index of the player in a party, starting at 1.
Allow other players in Placeholders
'Default' and 'Player' placeholders can now have a "_<player_name>" or "_<player_uuid>" attached at the end, to parse the data for the corresponding player.
Also supports brackers ({}) for nested placeholders.
After mana and health for teammates can be obtained from ProSkillAPI's placeholders, for example:
%sapi_default_currentmana_{sapiparty_uuid_<pos>}%
A list of available ProSkillAPI's placeholders can be found
here. You just have to add the _{sapiparty_uuid_<pos>} at the end.