Elementium Sign in

Save a value if empty

Save a value only when nothing is saved under that key yet, so a starting value never overwrites real progress.

Try it on your server

A Minecraft element (a step) in Saved data. Needs the Basic plan or higher to go live; building and testing are free.

Example

When a player joins → Save a value if empty: player, coins, 100.

Also called

default value, set if missing, first time, starting value, init, only if empty

Works as a data pack?

No. This one needs the Elementium plugin on a Paper server.

What you give it

What it gives back

Related

All Minecraft elements