Mineuniverse
Log in Register
Plugins

ObjectSaver

ObjectSaver
by _ForgeUser12679417
Download Claim this project
1,058 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Developer Tools

ObjectSaver

Made by Cammeritz.

What it does

ObjectSaver allows you to save every Object (e.g.: HashMaps; Lists; Mobs; Strings ...) into a .dat(a) file.

How to use it

1. Add the plugin ObjectSaver as external jar to your project.

2. Create a new ObjectSaver by using this code:

ObjectSaver saver = new ObjectSaver();

3. Now import the ObjectSaver from de.Cammeritz.ObjectSaver.ObjectSaver

4. Now you have some methods you can use.

getPluginFolderOf(String pluginname) - Will return the file/dir of the plugin. (Returns a file) e.g.: getPluginFolderOf(ObjectSaver) will return -> new File(/plugins/ObjectSaver).

dirExists(File file) - Will return a true if the file/dir exists and a false if not.(Returns a boolean).

createDir(File file) - Will create the dir. (Use this if dir.Exists returns false).

saveObject(Object object, File file) - Will save the Object into the a .dat file.

loadObject(File file) - Will read the Object from the .dat file. (Returns the saved Object).

deleteObject(File file) - Will delete the dir/file.

Source Code

Click here (http:dev.bukkit.org/bukkit-plugins/page/source-code)

Cheapest and Best Minecraft-Servers are NodeCraft-Servers :) NodeCraft

ObjectSaver v 1.1
MC CB 1.7.9-R0.1
Release 2014-06-07 Get
ObjectSaver v 1.2
MC CB 1.7.9-R0.1
Release 2014-06-07 Get
ObjectSaver v 1.0
MC 1.7.4
Release 2014-04-20 Get

More from _ForgeUser12679417

ColorChanger
3,386

You Might Also Like

WorldGuard Custom Flags
WorldGuard Custom Flags
97,851
HoloAPI
Advanced and powerful holographic displays
93,959
Minequery
Minequery
91,099
SQLibrary
SQLibrary aims to streamline driver wrappers in Java for every database engine
85,675
WolfyUtilities
Utils and APIs: Config, Language and Inventory API, Protection Utils: WorldGuard, LWC, PlotSquared
84,728
DisguiseTester
Experiment with disguises!
9,677