mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-25 20:15:52 +01:00
Updated Storage (markdown)
parent
face3f5dd8
commit
560329d761
@ -14,7 +14,7 @@ Storage locations are a way to separate your data in multiple categories. There
|
|||||||
```java
|
```java
|
||||||
StorageLocation storageLocation = storageManager.getLocation(YOUR_LOCATION_IDENTIFIER);
|
StorageLocation storageLocation = storageManager.getLocation(YOUR_LOCATION_IDENTIFIER);
|
||||||
```
|
```
|
||||||
Please note that the "location" is not related in any way to a folder or a file, it can be but this is dependent on the StorageSystem implementation you are using (the storage system "FileStorageSystem" that we took as an example above WILL use/create a folder with the exact same name as the location, but this will not always be the case)
|
Please note that the "location" is not related in any way to a folder or a file, it can be but this is dependent on the StorageSystem implementation you are using (the storage system "FileStorageSystem" that we took as an example above WILL use/create a folder with the exact same name as the location, but this will not always be the case for all)
|
||||||
|
|
||||||
You can then write/read anything from it as long as you know the key
|
You can then write/read anything from it as long as you know the key
|
||||||
```java
|
```java
|
||||||
|
Loading…
Reference in New Issue
Block a user