Project JSON modification and other modding — Topic

What grade do you teach?

This has to do with the JSON code that makes up the project file and can’t be modified natively from Hopscofch

4 Likes

They should both work now @tankt2016

4 Likes

I haven’t used rectangles since they broke my project 3 updates ago, but I think it was the newer type (152)?
I don’t know how to check it for sure though.

4 Likes

If you look at the JSON you’ll find an object which has name that is the same as your name of the object, just check the type there.

4 Likes

Thanks for sharing such valuable information with all of us as it is really helpful for many kind of users.

8 Likes

The remix bug - does anyone know what causes it and how it can be fixed? Is it JSON-related or a fix that needs to be done server-side?

2 Likes

I think it’s a request that is being sent from the app.

The JSON is fine when it is a draft but changes on publish, indicating the request sent is wrong.

2 Likes

It just isn’t telling the server that it’s a remix; that’s a second request it sends after publishing it.

5 Likes

So what would that stem from? I’ve seen projects that still do have remix signs. Maybe saving it as a draft removes the remix status?

3 Likes

I feel like it’s random.

4 Likes

I believe that if a good amount still indicate a remix, it may be account-based. But, it could just be a user on an older version of the app such as myself (since I can’t put up with the Editing Project and giant Create button UI).

4 Likes

They don’t have the new update.

7 Likes

How do I add rules to an object in the JSON?

2 Likes

Under the object, there is a trait called “rules” – just add the id of the rule to the list.

{
  "objectID": "object-id",
  "rules": [
    "rule-id",
    "rule-id",
    "rule-id",
    "rule-id",
    "rule-id",
    "add-id-here"
  ]
}
3 Likes

Wait I think I asked the wrong question. I was wondering because on your secret block reference Id things I thought I was supposed to copy it and paste it but whenever I did, it corrupted the project and made everything blank. I just wanna get the secret blocks for myself cuz I can’t use your shortcut (still oof about that cuz it’s cool and I want it) there’s no other way for me to download the shortcut is there?

3 Likes

Secret blocks are an ability in the project’s “abilities,” not a rule

1 Like

Ah that’s the word I was looking for. But yeah anyway I watched the video and I don’t think it helped me because I still can’t get your shortcut (unfortunately) i was told by some others that it’s because I don’t have an Apple ID or something? Cuz I’m on my school iPad. Idk

3 Likes

When you import it, there should be an import question that allows you to specify you don’t have an Apple ID.

Or I will get you the alternate version link which doesn’t use a Apple ID either

2 Likes

When I import it I never get any options, it starts loading or downloading then just stops :confused::face_with_monocle:

2 Likes

Oh that’s right.

Why don’t you just send a project request for secret blocks?

1 Like