Mineuniverse
Plugins

ObjectSaver

PLUGIN
ObjectSaver
by _ForgeUser12679417
Download Claim this project
Add a badge to your pageLink to ObjectSaver from a README, website or forum post.
Preview: Badge

Badges update automatically and link to the plugin page on MineUniverse.

1,132 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
Developer Tools
Advertisement Remove ads with Premium →

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

Advertisement Remove ads with Premium →

You Might Also Like