crwdns132007:0crwdne132007:0
crwdns132009:0:javadoc:crwdnd132009:0:javadoc:crwdne132009:0
Note
crwdns132011:0:javadoc:crwdne132011:0
crwdns132023:0crwdne132023:0
crwdns132025:0crwdne132025:0
crwdns132027:0crwdne132027:0
boolean shouldEnable = rootNode.getNode("modules", "blockCheats", "enabled").getBoolean();
crwdns132029:0:javadoc:crwdnd132029:0:javadoc:crwdnd132029:0:javadoc:crwdne132029:0
crwdns132031:0:javadoc:crwdne132031:0
crwdns132033:0crwdne132033:0
rootNode.getNode("modules", "blockCheats", "enabled").setValue(false);
Warning
crwdns132035:0crwdne132035:0
crwdns132037:0crwdne132037:0
crwdns132039:0:javadoc:crwdne132039:0
crwdns132041:0crwdne132041:0
import java.util.UUID;
UUID mayor = rootNode.getNode("towns", "aFLARDia", "mayor").get(TypeToken.of(UUID.class));
crwdns132043:0crwdne132043:0
crwdns132045:0crwdne132045:0
rootNode.getNode("towns","aFLARDia", "mayor").setValue(TypeToken.of(UUID.class), newUuid);
Note
crwdns132047:0crwdne132047:0
crwdns132049:0crwdne132049:0
See also
crwdns132051:0crwdne132051:0
crwdns132053:0crwdne132053:0
crwdns132055:0crwdne132055:0
crwdns132057:0crwdne132057:0
crwdns132059:0crwdne132059:0
crwdns132061:0:doc:crwdne132061:0
crwdns132063:0crwdne132063:0
crwdns132065:0crwdne132065:0
crwdns132067:0crwdne132067:0
boolean shouldEnable = rootNode.getNode("modules", "blockCheats", "enabled").getBoolean();
crwdns132069:0crwdne132069:0
boolean shouldEnable = rootNode.getNode("modules", "blockCheats", "enabled").getBoolean(true);
crwdns132071:0crwdne132071: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());
crwdns132073:0crwdne132073:0
crwdns132075:0crwdne132075:0