mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-20 16:07:36 +01:00
Update unsupported software reasons, fix spaces
This commit is contained in:
parent
0ba0736b68
commit
dccbefbea0
@ -202,8 +202,10 @@ public abstract class AbstractFabricPlatform implements ViaPlatform<UUID> {
|
||||
@Override
|
||||
public final Collection<UnsupportedSoftware> getUnsupportedSoftwareClasses() {
|
||||
List<UnsupportedSoftware> list = new ArrayList<>(ViaPlatform.super.getUnsupportedSoftwareClasses());
|
||||
list.add(new UnsupportedPlugin.Builder().name("software to mess with message signing").reason(UnsupportedSoftwareReasons.SECURE_CHAT_BYPASS_EXPLOITABLE)
|
||||
.addPlugin("guardian").addPlugin("gaslight").addPlugin("nochatreports").build());
|
||||
list.add(new UnsupportedPlugin.Builder().name("gaslight/guardian").reason(UnsupportedSoftwareReasons.SELF_INCRIMINATION)
|
||||
.addPlugin("guardian").addPlugin("gaslight").build());
|
||||
list.add(new UnsupportedPlugin.Builder().name("NoChatReports").reason(UnsupportedSoftwareReasons.NCR)
|
||||
.addPlugin("nochatreports").build());
|
||||
return Collections.unmodifiableList(list);
|
||||
}
|
||||
|
||||
@ -214,7 +216,9 @@ public abstract class AbstractFabricPlatform implements ViaPlatform<UUID> {
|
||||
|
||||
private static final class UnsupportedSoftwareReasons {
|
||||
|
||||
private static final String SECURE_CHAT_BYPASS_EXPLOITABLE = "By using these kind of mods, at best you mess up chat formatting, " +
|
||||
"at worst you open yourself up to be incriminated or end up incrimating yourself when writing messages or reporting another player.";
|
||||
private static final String SELF_INCRIMINATION = "By using these kind of mods, at best you create fishy context or silly reports, " +
|
||||
"at worst you end up incrimating yourself when writing messages or reporting another player.";
|
||||
private static final String NCR = "Due to a history of breaking message formatting and creating other issues related to chat handling " +
|
||||
"(some still present), we suggest you find alternatives to this mod.";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user