Skip to content

Commit

Permalink
Fix a few paths in PN documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
PseudoKnight committed Jan 3, 2025
1 parent cc37fca commit 5f41400
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/docs/Persistence_Network
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ There are several supported formats, and there is the potential to add more in t
In your configuration file, a connection can be aliased, to make re-specifying a connection
easier, but the actual connection specification is a URI that maps to a specific data source.
For instance, the default SQLite format is simply a pointer to a file:
%%PRE|sqlite:///home/data/persistence.db%%
%%PRE|sqlite://home/data/persistence.db%%

There are several different connection types supported, and each has a slightly different requirement:

Expand Down Expand Up @@ -44,7 +44,7 @@ applicable to all connection types.
Invalid modifiers will cause a warning to be raised during startup, but will otherwise be ignored.

A note on file based URIs: The file path is specified after two forward slashes, so an absolute
path on unix looks like this: yml:///path/to/file, and an absolute path on windows looks like
path on unix looks like this: yml://path/to/file, and an absolute path on windows looks like
this: yml://C:/path/to/file (alternatively yml://C:\path\to\file will also work). On all
platforms, a relative path would look like this: yml://path/to/file. Additionally, file based
connections are '''usually''' going to be much faster, but less reliable than SQL based
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/samp_persistence_network.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file sets up the Persistence Network.
# For more details, see the documentation at
# https://methodscript.com/docs/3.3.4/Persistence_Network.html
# https://methodscript.com/docs/3.3.5/Persistence_Network.html

**=sqlite://persistence.db

0 comments on commit 5f41400

Please sign in to comment.