Skip to content
Persistent Storage

Quick rating

Community listing page, reviews may not be monitored by the author.

Persistent Storage

By SygikalOwner

No reviews yet

Store variables between worlds

Mod Loaders
Minecraft

About

Description

Extremely simple mod allowing the storage of variables between worlds. Currently only client side, but could support server in the future.


Adding Data:

  • PersistentStorage.put(String key, Object value)
  • PersistentStorage.putTag(String tag)

Accessing Data:

  • PersistentStorage.get(String key) (Returns JSONElement)
  • PersistentStorage.getTag(String tag) (Returns true if tag has been set)
  • PersistentStorage.getBoolean(String key) (Returns true if the specified key