crwdns140939:0crwdne140939:0
Warning
crwdns140941:0crwdne140941:0
crwdns140943:0:javadoc:crwdnd140943:0:javadoc:crwdnd140943:0:doc:crwdne140943:0
Note
crwdns140945:0:javadoc:crwdne140945:0
crwdns140957:0crwdne140957:0
crwdns140959:0crwdne140959:0
crwdns140961:0crwdne140961:0
boolean shouldEnable = rootNode.getNode("modules", "blockCheats", "enabled").getBoolean();
crwdns140963:0:javadoc:crwdnd140963:0:javadoc:crwdnd140963:0:javadoc:crwdne140963:0
crwdns140965:0:javadoc:crwdnd140965:0:javadoc:crwdne140965:0
crwdns140967:0crwdne140967:0
rootNode.getNode("modules", "blockCheats", "enabled").setValue(false);
Warning
crwdns140969:0crwdne140969:0
crwdns140971:0crwdne140971:0
crwdns140973:0:javadoc:crwdnd140973:0:javadoc:crwdne140973:0
crwdns140975:0:javadoc:crwdnd140975:0:javadoc:crwdnd140975:0:javadoc:crwdne140975:0
import java.util.UUID;
UUID mayor = rootNode.getNode("towns", "aFLARDia", "mayor").getValue(TypeToken.of(UUID.class));
crwdns140977:0:javadoc:crwdne140977:0
crwdns140979:0:javadoc:crwdne140979:0
rootNode.getNode("towns","aFLARDia", "mayor").setValue(TypeToken.of(UUID.class), newUuid);
Note
crwdns140981:0crwdne140981:0
crwdns140983:0:javadoc:crwdnd140983:0:javadoc:crwdne140983:0
See also
crwdns140985:0crwdne140985:0
Tip
crwdns140987:0:javadoc:crwdnd140987:0{class}crwdne140987:0
crwdns140989:0:doc:crwdne140989:0
crwdns140991:0crwdne140991:0
crwdns140993:0crwdne140993:0
crwdns140995:0crwdne140995:0
boolean shouldEnable = rootNode.getNode("modules", "blockCheats", "enabled").getBoolean();
crwdns140997:0crwdne140997:0
boolean shouldEnable = rootNode.getNode("modules", "blockCheats", "enabled").getBoolean(true);
crwdns140999:0crwdne140999:0
String greeting = rootNode.getNode("messages", "greeting")
.getString("FLARD be with you good man!");
UUID mayor = rootNode.getNode("towns", "aFLARDia", "mayor")
.getValue(TypeTokens.UUID_TOKEN, somePlayer.getUniqueId());
crwdns141001:0:javadoc:crwdne141001:0
crwdns141003:0crwdne141003:0