JsonDBConfigLoader is a plugin for Unreal Engine that simplifies the management of database connection configurations. It allows developers to load, edit, and save .json files containing database connection details (e.g., username, password, hostname, port, etc.) into an Unreal Engine Data Table for runtime usage. The plugin also includes a user-friendly GUI for managing .json files and database configurations directly within the Unreal Editor.
-
Load JSON to Data Table
- Import
.jsonfiles containing database connection information into an Unreal Engine Data Table. - Streamlines runtime usage of database configurations without reading
.jsonfiles during gameplay.
- Import
-
Manage JSON Files via GUI
- View a list of
.jsonfiles and their contents within the plugin's GUI. - Add, remove, or edit
.jsonfiles directly from the interface.
- View a list of
-
Edit Database Configurations
- Modify database connection details in the GUI, including fields like
username,password,hostname, etc. - Save edited configurations directly into the Data Table or back into a
.jsonfile.
- Modify database connection details in the GUI, including fields like
-
Save Data to JSON
- Export database connection configurations from the GUI to
.jsonfiles for external usage or backup.
- Export database connection configurations from the GUI to
-
User-Friendly Interface
- A straightforward and responsive GUI designed for efficiency, making database configuration management easy.
-
Clone or Download the Repository
Clone the plugin repository into your Unreal Engine projectPlugins/folder:git clone https://github.com/Gongpai/UE_JsonDBConfigLoader_Unreal_Plugin.git
-
Enable the Plugin
- Open your Unreal Engine project.
- Navigate to
Edit > Plugins. - Search for "JsonDBConfigLoader" and enable it.
- Restart the editor if prompted.
-
Dependencies
Ensure your project has the Json Utilities module enabled for parsing.jsonfiles.
-
Access the Plugin's Tab
- Open the JsonDBConfigLoader tab from the
Window > JsonDBConfigLoadermenu.
- Open the JsonDBConfigLoader tab from the
-
Load a JSON File
- Click the Add button in the GUI to browse for a
.jsonfile. - The file will be added to the list and displayed in the GUI.
- Click the Add button in the GUI to browse for a
-
Edit JSON Data
- Select a file from the list.
- Modify the database connection details directly in the editable fields.
-
Save Changes
- Save changes to a Data Table by clicking the Save to Data Table button.
- Alternatively, save changes back to the
.jsonfile using the Save to File button.
-
Create New JSON
- Use the Create button to define a new database configuration.
- Add fields like
username,password, etc., and save it to a new.jsonfile.
Below is an example of a .json file that the plugin can handle:
{
"Hostname": "127.0.0.1",
"Username": "admin",
"Password": "password123",
"Port": 5432,
"DatabaseName": "GameDB"
}Contributions, issues, and feature requests are welcome! Feel free to open an issue or submit a pull request on GitHub.
For questions or support, please contact [kongphai_wutt@outlook.co.th] or open an issue on the GitHub repository.

