setting targetFile default value to "markers.json" only #3


  • New
  • Enhancment
Open
  • _ForgeUser7920624 created this issue Apr 8, 2013

    Hi,

    When some user messes around with his plugin directory by FTP or with the playermarkers folder, the config file is reset with unwanted content and settings.

    -----
    updateInterval: 5000
    targetFile: /path/to/overviewermap/markers.json
    saveOfflinePlayers: true
    offlineFile: locations.bin
    -----

    >12:39:31 [SEVERE] Unable to write to /path/to/overviewermap/markers.json: /path/to/overviewermap/markers.json (No such file or directory)
    >12:39:36 [SEVERE] Unable to write to /path/to/overviewermap/markers.json: /path/to/overviewermap/markers.json (No such file or directory)
    >12:39:41 [SEVERE] Unable to write to /path/to/overviewermap/markers.json: /path/to/overviewermap/markers.json (No such file or directory)
    >12:39:46 [SEVERE] Unable to write to /path/to/overviewermap/markers.json: /path/to/overviewermap/markers.json (No such file or directory)

    Would you mind possibly setting the default file to this:

    -----
    updateInterval: 5000
    targetFile: markers.json
    saveOfflinePlayers: false
    offlineFile: locations.bin
    Mapping:
    -----

    Since a web server is usually hosted elsewhere with different user rights, a symbolic link is usually the best choice.

    So simply having a file named markers.json inside the server directory would be recommended.

    Just some random thought of quick improvement if you still work on this plugin.

    Thanks for reading! :)

    VeryGames | Mole

  • _ForgeUser7920624 added the tags New Enhancment Apr 8, 2013

To post a comment, please login or register a new account.