Пример #1
0
  public Config(final fr.ribesg.bukkit.nworld.NWorld instance) {
    super(instance);
    log = instance.getLogger();
    permissionShortcuts = new HashMap<>();
    worlds = plugin.getWorlds();
    warps = plugin.getWarps();

    // Set default values for first use
    spawnCommandBehaviour = 1;
    defaultRequiredPermission = "nworld.admin";
    defaultHidden = true;
    broadcastOnWorldCreate = 0;
    broadcastOnWorldLoad = 0;
    broadcastOnWorldUnload = 0;
  }