CubBossa / PathFinder

A path finding tool for minecraft to make your maps discoverable and enable navigation
https://docs.leonardbausenwein.de/
MIT License
17 stars 4 forks source link

Dump files #53

Closed CubBossa closed 1 year ago

CubBossa commented 1 year ago

A way of creating a compact txt with all the required data to resolve and reproduce bugs. Should include

CubBossa commented 1 year ago

Actually preferably a json file to keep things structured

CubBossa commented 1 year ago

Exemplary dump file:

{
  "pathfinder-version": "4.1.0",
  "config": "# #\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\r\n# #                                                               #\r\n# #       _____      _   _     ______ _           _               #\r\n# #      |  __ \\    | | | |   |  ____(_)         | |              #\r\n# #      | |__) |_ _| |_| |__ | |__   _ _ __   __| | ___ _ __     #\r\n# #      |  ___/ _` | __| \u0027_ \\|  __| | | \u0027_ \\ / _` |/ _ \\ \u0027__|    #\r\n# #      | |  | (_| | |_| | | | |    | | | | | (_| |  __/ |       #\r\n# #      |_|   \\__,_|\\__|_| |_|_|    |_|_| |_|\\__,_|\\___|_|       #\r\n# #                        Configuration                          #\r\n# #                                                               #\r\n# #\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\u003d#\r\n\r\nlanguage:\r\n  # If client language is set to true plugin messages will appear in the according client\r\n  # language. You need to add according language files if you want to use this feature.\r\n\r\n  # See also: https://docs.leonardbausenwein.de/configuration/config.html#client-language\r\n  client-language: false\r\n  # The fallback language serves as default language for all users. If the client language\r\n  # setting is enabled but no file for a client language is present the fallback language\r\n  # will be used instead.\r\n\r\n  # The input value is a string that refers to the name of the language file in the\r\n  # /pathfinder/lang/ directory.\r\n\r\n  # Make sure to make locales either two letters (\u0027en\u0027, \u0027de\u0027, \u0027au\u0027), or a locale key pair (\u0027en-US\u0027, \u0027de-DE\u0027).\r\n  # See also: https://www.oracle.com/java/technologies/javase/jdk8-jre8-suported-locales.html\r\n  # See also: https://docs.leonardbausenwein.de/configuration/config.html#fallback-language\r\n  fallback-language: en\r\ndatabase:\r\n  # Choose a database type.\r\n  # Valid types: IN_MEMORY, YAML, SQLITE, REMOTE_SQL\r\n\r\n  # See also: https://docs.leonardbausenwein.de/configuration/config.html#type\r\n  type: SQLITE\r\n  # This should be true to immensely boost performance and can only be disabled for testing purposes.\r\n  caching: true\r\n  embedded-sql:\r\n    file: plugins\\PathFinder\\data\\database.db\r\n  remote-sql:\r\n    dialect: MySQL\r\n    jdbc-url: jdbc:mysql://localhost/\r\n    username: root\r\n    password: KeepItSecretKeepItSafe\r\nnavigation:\r\n  # Set this to true, if players have to discover nodegroups first to use the /find location\r\n  # \u003cfilter\u003e command. If set to false, one can always navigate to every group, even if it hasn\u0027t\r\n  # been discovered first.\r\n  require-discovery: false\r\n  find-location:\r\n    # The command /findlocation \u003clocation\u003e creates a virtual waypoint at the given location\r\n    # and connects it with the nearest waypoint around. The maximum distance can be set to\r\n    # not allow commands with locations far away from the actual roadmap. Default\u0027s set to 20.\r\n    # -1 can be set to disable a distance check.\r\n    max-distance: 200.0\r\n  # This setting decides whether a player has to have all permissions of all groups of a node\r\n  # or just one matching permission. True means all, so the permission query is linked by AND\r\n  # operator. False means OR, so the player has to match only one permission node.\r\n  require-all-group-permissions: true\r\n  # This setting decides whether all groups of a node have to be navigable to make it navigable\r\n  # or just one. True means that all groups have to be navigable.\r\n  require-all-groups-navigable: true\r\n  # This setting decides whether all groups of a node have to be discoverable to make it discoverable\r\n  # or just one. True means that all groups have to be discoverable.\r\n  require-all-groups-discoverable: true\r\n  # This settings decides, which node group find distance applies to the node.\r\n  # LARGEST: the group with largest find distance applies\r\n  # SMALLEST: the group with smallest find distance applies\r\n  # NATURAL: the first group applies. (later groups might be sortable with weights)\r\n  distance-policy: LARGEST\r\nmodule-config:\r\n  discovery-module: true\r\n  navigation-module: true\r\n# A set of commands for different game events. Use \u003cplayer\u003e for players name and use\r\n# /execute as \u003cplayer\u003e run say hi\r\n# to execute commands as player. Commands are executed from console, be careful with commands like\r\n# /op \u003cplayer\u003e\r\neffects:\r\n  on-path-start:\r\n  - tellraw ${player} ${translation.commands.find.success.gson}\r\n  on-path-target-reach:\r\n  - tellraw ${player} ${translation.general.target_reached.gson}\r\n  on-path-cancel:\r\n  - tellraw ${player} ${translation.commands.cancel_path.gson}\r\n  on-discover:\r\n  - title ${player} subtitle ${translation.discovery.discover.json}\r\n  - title ${player} title {\"text\":\"\"}\r\n  - playsound minecraft:entity.villager.work_cartographer neutral ${player} ${player.location}\r\n    1 1\r\n  on-forget:\r\n  - tellraw ${player} ${translation.discovery.forget.gson}\r\nedit-mode:\r\n  # If the edit mode should start with the edges tool set to directed edges or undirected edges.\r\n  # A directed edge only goes one way while undirected edges go in both directions.\r\n  directed-edges-by-default: false\r\n  # If the edit mode should start with the node tool set to chain mode. In chain mode, a new node\r\n  # will have a connection the the node that was created before. The new edge will be directed if\r\n  # the edge tool is set to directed edges.\r\n  node-chain-mode-by-default: false\r\n  # The spacing of the particles that are used to display edit mode edges. A spacing of 0.3 blocks is default.\r\n  # Increase this value if you are having client side performance issues while in edit mode.\r\n  edge-particle-spacing: 0.30000001192092896\r\n  # The delay in ticks to wait before showing an edge particle again.\r\n  # 1s \u003d 20t\r\n  edge-particle-tick-delay: 6\r\n  # The edge color that indicates an outgoing or undirected edge.\r\n  edge-particle-color-from: ff0000\r\n  # The edge color that indicates an incoming edge.\r\n  edge-particle-color-to: 88ff\r\n  # The distance up to which the player can see edit mode particles.\r\n  # You may want to decrease this value if you run into client side performance issues.\r\n  edge-particle-render-distance: 100.0\r\n  # The distance up to which the player can see node armorstands.\r\n  # You may want to decrease this value if you run into client side performance issues.\r\n  node-armor-stand-render-distance: 50.0\r\n  # The distance up to which the player can see edge armorstands.\r\n  # You may want to decrease this value if you run into client side performance issues.\r\n  edge-armor-stand-render-distance: 25.0\r\n# Don\u0027t change, specifies plugin version while generating config and helps to identify outdated files.\r\nversion: 4.0.0\r\n",
  "extensions": [
    "pathfinder:navigation",
    "pathfinder:group-editor",
    "pathfinder:scriptline-visualizers"
  ],
  "mc-version": "git-Paper-10 (MC: 1.20)",
  "bukkit-version": "1.20-R0.1-SNAPSHOT",
  "active-plugins": [
    "spark",
    "ProtocolLib",
    "PathFinder"
  ],
  "node-types": [
    "pathfinder:waypoint"
  ],
  "modifier-types": [
    "pathfinder:find-distance",
    "pathfinder:curve-length",
    "pathfinder:discoverable",
    "pathfinder:permission",
    "pathfinder:visualizer",
    "pathfinder:navigable"
  ],
  "visualizer-types": [
    "pathfinder:compass",
    "pathfinder:scriptline",
    "pathfinder:particle",
    "pathfinder:combined"
  ],
  "node-count": 4811,
  "group-count": 3,
  "visualizer-count": 3
}
CubBossa commented 1 year ago

Also included all worlds with their according UUID