# Microsoft Account Saving Extension

**URL:** <https://forum.makecode.com/t/microsoft-account-saving-extension/16695>\
**Category:** Help\
**Tags:** game, extension\
**Created:** [December 1, 2022, 8:06pm UTC](https://forum.makecode.com/t/microsoft-account-saving-extension/16695 "2022-12-01T20:06:07Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![CreeperCoder](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CreeperCoder](https://forum.makecode.com/u/CreeperCoder)\
**Post date:** [December 1, 2022, 8:06pm UTC](https://forum.makecode.com/t/microsoft-account-saving-extension/16695/1 "2022-12-01T20:06:07Z")

</div>

This Would Really Help Me With My Game!

---

<div class="post-metadata">

**Author:** ![isoffline](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/isoffline/32/8791_2.png) [@isoffline](https://forum.makecode.com/u/isoffline)\
**Post date:** [December 1, 2022, 8:09pm UTC](https://forum.makecode.com/t/microsoft-account-saving-extension/16695/2 "2022-12-01T20:09:42Z")

</div>

There is already an extension its called the settings extension

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [December 1, 2022, 8:10pm UTC](https://forum.makecode.com/t/microsoft-account-saving-extension/16695/3 "2022-12-01T20:10:27Z")

</div>

@CreeperCoder could you describe what the extension would do? maybe what blocks you would want it to have?

---

<div class="post-metadata">

**Author:** ![CreeperCoder](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CreeperCoder](https://forum.makecode.com/u/CreeperCoder)\
**Post date:** [December 1, 2022, 9:05pm UTC](https://forum.makecode.com/t/microsoft-account-saving-extension/16695/4 "2022-12-01T21:05:00Z")

</div>

It Would Have Like Two Blocks The 1st Block Would Say: Sign In To Save and the 2nd block: would say: Sign In To Load

---

<div class="post-metadata">

**Author:** ![CreeperCoder](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CreeperCoder](https://forum.makecode.com/u/CreeperCoder)\
**Post date:** [December 1, 2022, 9:05pm UTC](https://forum.makecode.com/t/microsoft-account-saving-extension/16695/5 "2022-12-01T21:05:01Z")

</div>

I can’t figure out how to use that extension

---

<div class="post-metadata">

**Author:** ![isoffline](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/isoffline/32/8791_2.png) [@isoffline](https://forum.makecode.com/u/isoffline)\
**Post date:** [December 1, 2022, 9:05pm UTC](https://forum.makecode.com/t/microsoft-account-saving-extension/16695/6 "2022-12-01T21:05:08Z")

</div>

can i say something for the Setting’s extension if so can we have a block that said if  
cs = custom block  
if (CS tile is hit change point to 1)

---

<div class="post-metadata">

**Author:** ![isoffline](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/isoffline/32/8791_2.png) [@isoffline](https://forum.makecode.com/u/isoffline)\
**Post date:** [December 1, 2022, 9:12pm UTC](https://forum.makecode.com/t/microsoft-account-saving-extension/16695/7 "2022-12-01T21:12:45Z")

</div>

Have you looked at the live stream? to know how to use it

---

<div class="post-metadata">

**Author:** ![Salex](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/salex/32/15835_2.png) [@Salex](https://forum.makecode.com/u/Salex)\
**Post date:** [December 2, 2022, 10:14pm UTC](https://forum.makecode.com/t/microsoft-account-saving-extension/16695/8 "2022-12-02T22:14:04Z")

</div>

Ill give a basic rundown on how it works.

A setting is stored with a name and a value. This value, at the time of writing, is restricted to integer, string or integer list. The blocks are typically formatted as “set setting (name) as integer (value)” with name being the settings key and value… Well, the value. If you set a setting as “name” and the value as “Jim” then you’ll need the block that will look like “set setting “name” as string “Jim””. If you want to read the settings then you’ll need the block that says “read setting (name) as string” with string being replaced with whatever you saved it as. It will have rounded edges and therefore only fit where string/integer would be. I can’t really explain things that well, so sorry if you don’t understand. There are other blocks like checking if a setting exists or resetting all saved settings, but I hope this helped?

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [December 8, 2022, 10:25pm UTC](https://forum.makecode.com/t/microsoft-account-saving-extension/16695/9 "2022-12-08T22:25:23Z")

</div>

Not possible due to MakeCode limitations. There is no direct link between the simulator and Microsoft accounts. The best case scenario is following the answers above for local saving, but online cloud saves (likewise to Scratch) aren’t possible.

---

<div class="post-metadata">

**Author:** ![NobodyNomad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nobodynomad/32/10821_2.png) [@NobodyNomad](https://forum.makecode.com/u/NobodyNomad)\
**Post date:** [December 9, 2022, 5:26pm UTC](https://forum.makecode.com/t/microsoft-account-saving-extension/16695/10 "2022-12-09T17:26:37Z")

</div>

i have a problem with a sandbox game where players edit tilemap with like 8 different types of tiles and i would like to figure out how to save it if anyone has any ideas, this seems somewhat similar.

---

<div class="post-metadata">

**Author:** ![CreeperCoder](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CreeperCoder](https://forum.makecode.com/u/CreeperCoder)\
**Post date:** [December 12, 2022, 5:42pm UTC](https://forum.makecode.com/t/microsoft-account-saving-extension/16695/11 "2022-12-12T17:42:50Z")

</div>

ya kinda like that!
