crwdns151201:0crwdne151201:0
crwdns151203:0:javadoc:crwdnd151203:0:javadoc:crwdne151203:0
Note
crwdns151205:0:javadoc:crwdne151205:0
crwdns151217:0crwdne151217:0
crwdns151219:0crwdne151219:0
crwdns151221:0crwdne151221:0
boolean shouldEnable = rootNode.getNode("modules", "blockCheats", "enabled").getBoolean();
crwdns151223:0:javadoc:crwdnd151223:0:javadoc:crwdnd151223:0:javadoc:crwdne151223:0
crwdns151225:0:javadoc:crwdne151225:0
crwdns151227:0crwdne151227:0
rootNode.getNode("modules", "blockCheats", "enabled").setValue(false);
Warning
crwdns151229:0crwdne151229:0
crwdns151231:0crwdne151231:0
crwdns151233:0:javadoc:crwdne151233:0
crwdns151235:0crwdne151235:0
import java.util.UUID;
UUID mayor = rootNode.getNode("towns", "aFLARDia", "mayor").get(TypeToken.of(UUID.class));
crwdns151237:0crwdne151237:0
crwdns151239:0crwdne151239:0
rootNode.getNode("towns","aFLARDia", "mayor").setValue(TypeToken.of(UUID.class), newUuid);
Note
crwdns151241:0crwdne151241:0
crwdns151243:0crwdne151243:0
See also
crwdns151245:0crwdne151245:0
crwdns151247:0crwdne151247:0
crwdns151249:0crwdne151249:0
crwdns151251:0crwdne151251:0
crwdns151253:0crwdne151253:0
crwdns151255:0:doc:crwdne151255:0
crwdns151257:0crwdne151257:0
crwdns151259:0crwdne151259:0
crwdns151261:0crwdne151261:0
boolean shouldEnable = rootNode.getNode("modules", "blockCheats", "enabled").getBoolean();
crwdns151263:0crwdne151263:0
boolean shouldEnable = rootNode.getNode("modules", "blockCheats", "enabled").getBoolean(true);
crwdns151265:0crwdne151265:0
String greeting = rootNode.getNode("messages", "greeting").getString("FLARD be with you good man!");
UUID mayor = rootNode.getNode("towns", "aFLARDia", "mayor")
.getValue(TypeToken.of(UUID.class), somePlayer.getUniqueId());
crwdns151267:0crwdne151267:0
crwdns151269:0crwdne151269:0