mirror of
https://github.com/WiIIiam278/Velocitab.git
synced 2025-11-18 07:14:23 +01:00
Added missing javadoc Bumped required papiproxybridge version
This commit is contained in:
parent
14c5346c78
commit
1133729575
@ -9,4 +9,4 @@ plugin_description=A beautiful and versatile TAB list plugin for Velocity proxie
|
||||
|
||||
velocity_api_version=3.4.0
|
||||
velocity_minimum_build=453
|
||||
papi_proxy_bridge_minimum_version=1.7
|
||||
papi_proxy_bridge_minimum_version=1.8
|
||||
@ -215,6 +215,13 @@ public class VelocitabAPI {
|
||||
return plugin.getTabGroupsManager().getGroup(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a group from the server.
|
||||
*
|
||||
* @param server The server to get the group from.
|
||||
* @return An optional Group object containing the group from the server, or an empty optional if no group exists with that name.
|
||||
* @since 1.6.6
|
||||
*/
|
||||
public Optional<Group> getGroupFromServer(@NotNull String server) {
|
||||
return plugin.getTabGroupsManager().getGroupFromServer(server, plugin);
|
||||
}
|
||||
|
||||
@ -555,9 +555,6 @@ public class PlayerTabList {
|
||||
|
||||
private void updateRelationalDisplayName(@NotNull TabPlayer tabPlayer, @NotNull List<TabPlayer> players) {
|
||||
final Group group = tabPlayer.getGroup();
|
||||
final String stripped = plugin.getPlaceholderManager().stripVelocitabRelPlaceholders(group.format());
|
||||
checkStrippedString(stripped, group);
|
||||
|
||||
final String formatPlaceholders = plugin.getPlaceholderManager().applyPlaceholders(tabPlayer, group.format());
|
||||
final String formatConditionalPlaceholders = plugin.getPlaceholderManager().formatVelocitabPlaceholders(formatPlaceholders, tabPlayer, null);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user