Blockland Forums > Help
Variable saving and loading
jes00:
Is there any way to save variables and load them even if the server restarts?
Orthone:
Yes.. There are events to save and load variables.. You can have a spawn room where variables are loaded, and have a loop that saves the players variables. Or just have a Save and Load brick.
jes00:
--- Quote from: Orthone on August 06, 2011, 01:14:03 AM ---Yes.. There are events to save and load variables.. You can have a spawn room where variables are loaded, and have a loop that saves the players variables. Or just have a Save and Load brick.
--- End quote ---
Yes, but when I restart the server it won't load the variables.
jes00:
Bump.
otto-san:
--- Quote from: jes00 on August 06, 2011, 07:39:21 AM ---Yes, but when I restart the server it won't load the variables.
--- End quote ---
that's because it doesn't load them automatically.
if you read his entire post,
--- Quote from: Orthone on August 06, 2011, 01:14:03 AM ---You can have a spawn room where variables are loaded, and have a loop that saves the players variables. Or just have a Save and Load brick.
--- End quote ---