private void setGroupInfoValue(String world, String group, String node, Object value) { if (world != null) { Writer.setWorldVar(group, InfoType.GROUP, world, node, value); } else { Writer.setInfoVar(group, InfoType.GROUP, node, value); } }
private void setPlayerInfoValue(String world, String player, String node, Object value) { if (world != null) { Writer.setWorldVar(player, InfoType.USER, world, node, value.toString()); } else { Writer.setInfoVar(player, InfoType.USER, node, value.toString()); } }
public void setInfoVar( String name, in.mDev.MiracleM4n.mChatSuite.types.InfoType type, String var, Object value) { com.miraclem4n.mchat.api.Writer.setInfoVar( name, com.miraclem4n.mchat.types.InfoType.fromName(type.getName()), var, value); }