crwdns121487:0crwdne121487:0
crwdns121489:0:javadoc:crwdnd121489:0:javadoc:crwdnd121489:0:doc:crwdne121489:0
Note
crwdns121491:0:javadoc:crwdne121491:0
crwdns121503:0crwdne121503:0
crwdns121505:0crwdne121505:0
crwdns121507:0crwdne121507:0
boolean shouldEnable = rootNode.getNode("modules", "blockCheats", "enabled").getBoolean();
crwdns121509:0:javadoc:crwdnd121509:0:javadoc:crwdnd121509:0:javadoc:crwdne121509:0
crwdns121511:0:javadoc:crwdnd121511:0:javadoc:crwdne121511:0
crwdns121513:0crwdne121513:0
rootNode.getNode("modules", "blockCheats", "enabled").setValue(false);
Warning
crwdns121515:0crwdne121515:0
crwdns121517:0crwdne121517:0
crwdns121519:0:javadoc:crwdnd121519:0:javadoc:crwdne121519:0
crwdns121521:0:javadoc:crwdnd121521:0:javadoc:crwdnd121521:0:javadoc:crwdne121521:0
import java.util.UUID;
UUID mayor = rootNode.getNode("towns", "aFLARDia", "mayor").getValue(TypeToken.of(UUID.class));
crwdns121523:0:javadoc:crwdne121523:0
crwdns121525:0:javadoc:crwdne121525:0
rootNode.getNode("towns","aFLARDia", "mayor").setValue(TypeToken.of(UUID.class), newUuid);
Note
crwdns121527:0crwdne121527:0
crwdns121529:0:javadoc:crwdnd121529:0:javadoc:crwdne121529:0
See also
crwdns121531:0crwdne121531:0
Tip
crwdns121533:0:javadoc:crwdnd121533:0{class}crwdne121533:0
crwdns121535:0:doc:crwdne121535:0
crwdns121537:0crwdne121537:0
crwdns121539:0crwdne121539:0
crwdns121541:0crwdne121541:0
boolean shouldEnable = rootNode.getNode("modules", "blockCheats", "enabled").getBoolean();
crwdns121543:0crwdne121543:0
boolean shouldEnable = rootNode.getNode("modules", "blockCheats", "enabled").getBoolean(true);
crwdns121545:0crwdne121545: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());
crwdns121547:0:javadoc:crwdne121547:0
crwdns121549:0crwdne121549:0