- Joined
- Apr 9, 2015
- Messages
- 1,797
- Reaction score
- 863
- First Language
- German
- Primarily Uses
Description
Allows to store notetags in text files and reference them from database objects and events.
Author
Iavra
Parameters
@param File Path
@desc Path of the file to load. Multiple files can be specified when separated by commas. Default: data/notes.json
@default data/notes.json
@param Notetag
@desc Tag used to load metdata from files. Default: textnote
@default textnote
How to Use
Note: This plugin has to be placed below everything else that deals with DataManager.extractMetadata().
Create one or more files and store their locations inside the "File Path" parameter, separated by comma. The files are formatted like this:
{
"key1" : "some notes",
"key2" : "some more notes",
"key3" : [
"notes with",
"linebreaks"
]
}
JSON itself doesn't allow real linebreaks inside Strings, but you can use an array, instead, which will automatically be converted to a single String with linebreaks.
Inside your database objects and events, you can reference these entries like this:
<textnote key1>
If "textnote" is already in use by another plugin or you want to use a different notetag, you can change it with the "Notetag" plugin parameter".
Terms of Use
Free to use for both commercial and non-commercial games. Please give credit.
Download
http://pastebin.com/e465Ucdf
Notes
The plugin originated from this request: http://forums.rpgmakerweb.com/index.php?/topic/49035-load-notesnotetags-from-text-files/
Allows to store notetags in text files and reference them from database objects and events.
Author
Iavra
Parameters
@param File Path
@desc Path of the file to load. Multiple files can be specified when separated by commas. Default: data/notes.json
@default data/notes.json
@param Notetag
@desc Tag used to load metdata from files. Default: textnote
@default textnote
How to Use
Note: This plugin has to be placed below everything else that deals with DataManager.extractMetadata().
Create one or more files and store their locations inside the "File Path" parameter, separated by comma. The files are formatted like this:
{
"key1" : "some notes",
"key2" : "some more notes",
"key3" : [
"notes with",
"linebreaks"
]
}
JSON itself doesn't allow real linebreaks inside Strings, but you can use an array, instead, which will automatically be converted to a single String with linebreaks.
Inside your database objects and events, you can reference these entries like this:
<textnote key1>
If "textnote" is already in use by another plugin or you want to use a different notetag, you can change it with the "Notetag" plugin parameter".
Terms of Use
Free to use for both commercial and non-commercial games. Please give credit.
Download
http://pastebin.com/e465Ucdf
Notes
The plugin originated from this request: http://forums.rpgmakerweb.com/index.php?/topic/49035-load-notesnotetags-from-text-files/
Last edited by a moderator:
