Page 1 of 1

What’s Josn?

Posted: 02 Oct 2018, 00:29
by Mr.spock
I was wondering how to make a plugin. Someone mentioned josn. Is it a coding language? How do you even get to the thing that allows you to create plugins? PLEASE HELP ME!

Re: What’s Josn?

Posted: 02 Oct 2018, 00:31
by Mr.spock
Could you possibly give me a step by step how to?

Re: What’s Josn?

Posted: 02 Oct 2018, 02:05
by CommanderABab

Re: What’s Josn?

Posted: 02 Oct 2018, 22:57
by Mr.spock
Is there an app for mobile devices? Or is it for PC?

Re: What’s Josn?

Posted: 02 Oct 2018, 23:00
by Mr.spock
I read bits and pieces of it but it doesn’t make sense at all to me :?

Re: What’s Josn?

Posted: 03 Oct 2018, 00:17
by Bearbear76
You can edit jdon using text editors that support json
for example "droidedit" (which I'm a pretty big fan of)
And json is like a set of codes that tell what to do
It's very simple trust me (except functions)
you just add lines which you think match the plugin you will make.
There are some compulsory lines you must add
Which are :

Code: Select all

[{
"id":"The ID of the building (name it what ever you want ",
"width":size of the building (add number)
"height":should be the same as the width (add number)
"frames":[{"bmp":"The name of the image for the plugin"}],
"type":"the type of the building (e.g. residential commercial industrial)
}]
I think that's it but I may be missing some
Also don't add a comma to the last line of your code
(spoiler alert you'll get an error!)

Re: What’s Josn?

Posted: 17 Oct 2018, 10:10
by Tina
Thanks for the clarification!