ride for ops, 4chan, and more toggles

This commit is contained in:
Super_
2019-12-09 19:59:17 -05:00
parent 2c99a8e4f4
commit 5206ab5b27
7 changed files with 121 additions and 18 deletions

View File

@ -34,6 +34,9 @@ public class VPlayer implements ConfigLoadable, ConfigSavable, Validatable
@Getter
@Setter
private boolean clearChatOptOut = false;
@Getter
@Setter
private boolean rideToggle = true;
public VPlayer(String name)
{
@ -55,6 +58,7 @@ public class VPlayer implements ConfigLoadable, ConfigSavable, Validatable
enabled = cs.getBoolean("enabled", false);
tag = cs.getString("tag", null);
clearChatOptOut = cs.getBoolean("clearChatOptOut", false);
rideToggle = cs.getBoolean("rideToggle", true);
}
@Override
@ -67,6 +71,7 @@ public class VPlayer implements ConfigLoadable, ConfigSavable, Validatable
cs.set("tag", tag);
cs.set("ips", Lists.newArrayList(ips));
cs.set("clearChatOptOut", clearChatOptOut);
cs.set("rideToggle", rideToggle);
}
public List<String> getIps()