|
|
@ -34,14 +34,14 @@ public final class VaultChat extends VaultDeprecatedChat |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String getPlayerPrefix(String world, OfflinePlayer player) |
|
|
|
public String getPlayerPrefix(String world, OfflinePlayer player) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
final ResolutionResult result = rscp.permissionManager.getResult(player); |
|
|
|
final ResolutionResult result = rscp.permissionManager.getResult(player); |
|
|
|
return result.getPrefix(); |
|
|
|
return result.getPrefix(); |
|
|
|
} |
|
|
|
} |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String getPlayerPrefix(Player player) |
|
|
|
public String getPlayerPrefix(Player player) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
final ResolutionResult result = rscp.permissionManager.getResult(player); |
|
|
|
final ResolutionResult result = rscp.permissionManager.getResult(player); |
|
|
|
return result.getPrefix(); |
|
|
|
return result.getPrefix(); |
|
|
|
} |
|
|
|
} |
|
|
@ -49,7 +49,7 @@ public final class VaultChat extends VaultDeprecatedChat |
|
|
|
@Deprecated |
|
|
|
@Deprecated |
|
|
|
public String getPlayerPrefix(String world, String player) |
|
|
|
public String getPlayerPrefix(String world, String player) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
final ResolutionResult result = rscp.permissionManager.getResult(player); |
|
|
|
final ResolutionResult result = rscp.permissionManager.getResult(player); |
|
|
|
return result.getPrefix(); |
|
|
|
return result.getPrefix(); |
|
|
|
} |
|
|
|
} |
|
|
@ -57,14 +57,14 @@ public final class VaultChat extends VaultDeprecatedChat |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String getPlayerSuffix(String world, OfflinePlayer player) |
|
|
|
public String getPlayerSuffix(String world, OfflinePlayer player) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
final ResolutionResult result = rscp.permissionManager.getResult(player); |
|
|
|
final ResolutionResult result = rscp.permissionManager.getResult(player); |
|
|
|
return result.getSuffix(); |
|
|
|
return result.getSuffix(); |
|
|
|
} |
|
|
|
} |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String getPlayerSuffix(Player player) |
|
|
|
public String getPlayerSuffix(Player player) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
final ResolutionResult result = rscp.permissionManager.getResult(player); |
|
|
|
final ResolutionResult result = rscp.permissionManager.getResult(player); |
|
|
|
return result.getSuffix(); |
|
|
|
return result.getSuffix(); |
|
|
|
} |
|
|
|
} |
|
|
@ -72,7 +72,7 @@ public final class VaultChat extends VaultDeprecatedChat |
|
|
|
@Deprecated |
|
|
|
@Deprecated |
|
|
|
public String getPlayerSuffix(String world, String player) |
|
|
|
public String getPlayerSuffix(String world, String player) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
final ResolutionResult result = rscp.permissionManager.getResult(player); |
|
|
|
final ResolutionResult result = rscp.permissionManager.getResult(player); |
|
|
|
return result.getSuffix(); |
|
|
|
return result.getSuffix(); |
|
|
|
} |
|
|
|
} |
|
|
@ -80,54 +80,54 @@ public final class VaultChat extends VaultDeprecatedChat |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setPlayerPrefix(String world, OfflinePlayer player, String prefix) |
|
|
|
public void setPlayerPrefix(String world, OfflinePlayer player, String prefix) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
throw new UnsupportedOperationException("This method is unsupported by rscPermissions."); |
|
|
|
throw new UnsupportedOperationException("This method is unsupported by rscPermissions."); |
|
|
|
} |
|
|
|
} |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setPlayerPrefix(Player player, String prefix) |
|
|
|
public void setPlayerPrefix(Player player, String prefix) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
throw new UnsupportedOperationException("This method is unsupported by rscPermissions."); |
|
|
|
throw new UnsupportedOperationException("This method is unsupported by rscPermissions."); |
|
|
|
} |
|
|
|
} |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Deprecated |
|
|
|
@Deprecated |
|
|
|
public void setPlayerPrefix(String world, String player, String prefix) |
|
|
|
public void setPlayerPrefix(String world, String player, String prefix) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
throw new UnsupportedOperationException("This method is unsupported by rscPermissions."); |
|
|
|
throw new UnsupportedOperationException("This method is unsupported by rscPermissions."); |
|
|
|
} |
|
|
|
} |
|
|
|
// ***** SET PLAYER SUFFIX *****
|
|
|
|
// ***** SET PLAYER SUFFIX *****
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setPlayerSuffix(String world, OfflinePlayer player, String suffix) |
|
|
|
public void setPlayerSuffix(String world, OfflinePlayer player, String suffix) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
throw new UnsupportedOperationException("This method is unsupported by rscPermissions."); |
|
|
|
throw new UnsupportedOperationException("This method is unsupported by rscPermissions."); |
|
|
|
} |
|
|
|
} |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setPlayerSuffix(Player player, String suffix) |
|
|
|
public void setPlayerSuffix(Player player, String suffix) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
throw new UnsupportedOperationException("This method is unsupported by rscPermissions."); |
|
|
|
throw new UnsupportedOperationException("This method is unsupported by rscPermissions."); |
|
|
|
} |
|
|
|
} |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Deprecated |
|
|
|
@Deprecated |
|
|
|
public void setPlayerSuffix(String world, String player, String suffix) |
|
|
|
public void setPlayerSuffix(String world, String player, String suffix) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
throw new UnsupportedOperationException("This method is unsupported by rscPermissions."); |
|
|
|
throw new UnsupportedOperationException("This method is unsupported by rscPermissions."); |
|
|
|
} |
|
|
|
} |
|
|
|
// ***** GET GROUP PREFIX *****
|
|
|
|
// ***** GET GROUP PREFIX *****
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String getGroupPrefix(String world, String group) |
|
|
|
public String getGroupPrefix(String world, String group) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
final RowEntity entity = rscp.internalCache.findGroupEntity(group); |
|
|
|
final RowEntity entity = rscp.internalCache.findGroupEntity(group); |
|
|
|
return entity != null ? entity.prefix : null; |
|
|
|
return entity != null ? entity.prefix : null; |
|
|
|
} |
|
|
|
} |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String getGroupPrefix(World world, String group) |
|
|
|
public String getGroupPrefix(World world, String group) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
final RowEntity entity = rscp.internalCache.findGroupEntity(group); |
|
|
|
final RowEntity entity = rscp.internalCache.findGroupEntity(group); |
|
|
|
return entity != null ? entity.prefix : null; |
|
|
|
return entity != null ? entity.prefix : null; |
|
|
|
} |
|
|
|
} |
|
|
@ -135,14 +135,14 @@ public final class VaultChat extends VaultDeprecatedChat |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String getGroupSuffix(String world, String group) |
|
|
|
public String getGroupSuffix(String world, String group) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
final RowEntity entity = rscp.internalCache.findGroupEntity(group); |
|
|
|
final RowEntity entity = rscp.internalCache.findGroupEntity(group); |
|
|
|
return entity != null ? entity.suffix : null; |
|
|
|
return entity != null ? entity.suffix : null; |
|
|
|
} |
|
|
|
} |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String getGroupSuffix(World world, String group) |
|
|
|
public String getGroupSuffix(World world, String group) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
final RowEntity entity = rscp.internalCache.findGroupEntity(group); |
|
|
|
final RowEntity entity = rscp.internalCache.findGroupEntity(group); |
|
|
|
return entity != null ? entity.suffix : null; |
|
|
|
return entity != null ? entity.suffix : null; |
|
|
|
} |
|
|
|
} |
|
|
@ -150,26 +150,26 @@ public final class VaultChat extends VaultDeprecatedChat |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setGroupPrefix(World world, String group, String prefix) |
|
|
|
public void setGroupPrefix(World world, String group, String prefix) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
throw new UnsupportedOperationException("This method is still unsupported by rscPermissions."); |
|
|
|
throw new UnsupportedOperationException("This method is still unsupported by rscPermissions."); |
|
|
|
} |
|
|
|
} |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setGroupPrefix(String world, String group, String prefix) |
|
|
|
public void setGroupPrefix(String world, String group, String prefix) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
throw new UnsupportedOperationException("This method is still unsupported by rscPermissions."); |
|
|
|
throw new UnsupportedOperationException("This method is still unsupported by rscPermissions."); |
|
|
|
} |
|
|
|
} |
|
|
|
// ***** SET GROUP SUFFIX *****
|
|
|
|
// ***** SET GROUP SUFFIX *****
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setGroupSuffix(String world, String group, String suffix) |
|
|
|
public void setGroupSuffix(String world, String group, String suffix) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
throw new UnsupportedOperationException("This method is still unsupported by rscPermissions."); |
|
|
|
throw new UnsupportedOperationException("This method is still unsupported by rscPermissions."); |
|
|
|
} |
|
|
|
} |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setGroupSuffix(World world, String group, String suffix) |
|
|
|
public void setGroupSuffix(World world, String group, String suffix) |
|
|
|
{ |
|
|
|
{ |
|
|
|
rscp.bridgeForBukkit.printDebugStackTrace(); |
|
|
|
rscp.rscpAPIs.printDebugStackTrace(); |
|
|
|
throw new UnsupportedOperationException("This method is still unsupported by rscPermissions."); |
|
|
|
throw new UnsupportedOperationException("This method is still unsupported by rscPermissions."); |
|
|
|
} |
|
|
|
} |
|
|
|
// ***** DELEGATED TO PERMISSION *****
|
|
|
|
// ***** DELEGATED TO PERMISSION *****
|
|
|
|