Plugins can be (or already are) used as databases?

Pine Towers

Knight Hospitaller
Veteran
Joined
Nov 11, 2015
Messages
467
Reaction score
226
First Language
Portuguese
Primarily Uses
RMMV
Hello guys!

Quick question here, from someone who have a desktop PC and a laptop, and works with MV in both.

Is there a way to quickly back-up (and apply) database modifications? I mean, most of the games made with MV doesn't use the default database and the makers modify it for its game.

Let's say I make a game named Dying & Dead (let's call it D&D for short) and after finishing it, tweaking every actor, class, item, weapon, armor, skill, I want to make a continuation for it (Alternatives to Dying & Dead - AD&D) with a whole new cast of actors and places and plot, but want to use the same database (of items, classes, skills, monsters, tilesets...). What is the best way to do it? Copy-paste the D&D folder, open the copy and modify it for AD&D? Is there a database.js that I could copy, instead of a whole new folder? Is it possible to create a plugin that modifies the database with user-defined content, so after creating a new game I only need to install the plugin and check it for classes, items and skills, instead of rewriting everything down on the editor?

Hope I was clear with the intent (make a ruleset plugin for use on multiple projects) and would love to hear your opinions on this!

Didn't put it on Learning Javascript or any other JS support forum because it isn't about making the plugin per se, but the possibility of such endeavor. Sorry if I misplaced the thread.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,604
Reaction score
1,959
First Language
English
Primarily Uses
RMMV
The data folder has a .json for each tab of the database which contains all of the data from it. Just copy and paste the ones you want to copy over into your new project.
 

Pine Towers

Knight Hospitaller
Veteran
Joined
Nov 11, 2015
Messages
467
Reaction score
226
First Language
Portuguese
Primarily Uses
RMMV
@Trihan , I knew there would be an easy way. Thank you for your quick answer.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
You can also make a copy of your project folder, then just delete all the stuff you don't need from your (now new) project. That's what I've done when I want to use the database in another project.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,854
Messages
1,016,998
Members
137,562
Latest member
tamedeathman
Top