# Help getting a mod running

**URL:** https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374
**Category:** The Toolbox
**Created:** [January 2, 2020, 1:09pm UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374 "2020-01-02T13:09:03Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Jninja](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jninja/32/7800_2.png) [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)
#### Post date: [January 2, 2020, 1:09pm UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/1 "2020-01-02T13:09:03Z")

</div>

I have a mod that I wrote some code for and it’s just for one mob and I have read the guides but I’m still confused. Can someone explain how I do this, I think my problem is it’s not a json but then how do I get it running?

---

<div class="post-metadata">

### Author: ![snipercup](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/snipercup/32/6932_2.png) [@snipercup](https://discourse.cataclysmdda.org/u/snipercup)
#### Post date: [January 2, 2020, 1:35pm UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/2 "2020-01-02T13:35:12Z")

</div>

What makes you think it’s not running? It does not show up in-game? Are you getting an error message?

---

<div class="post-metadata">

### Author: ![Maddremor](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@Maddremor](https://discourse.cataclysmdda.org/u/Maddremor)
#### Post date: [January 2, 2020, 2:39pm UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/3 "2020-01-02T14:39:34Z")

</div>

Upload the JSON and someone might help?

---

<div class="post-metadata">

### Author: ![Jninja](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jninja/32/7800_2.png) [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)
#### Post date: [January 2, 2020, 5:59pm UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/4 "2020-01-02T17:59:29Z")

</div>

Well it is not running and I don’t see an option to spawn the monster in I’m not sure what’s wrong

---

<div class="post-metadata">

### Author: ![Jninja](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jninja/32/7800_2.png) [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)
#### Post date: [January 2, 2020, 6:00pm UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/5 "2020-01-02T18:00:11Z")

</div>

I’m not sure how to do that I’m new to this moddong terriory

---

<div class="post-metadata">

### Author: ![snipercup](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/snipercup/32/6932_2.png) [@snipercup](https://discourse.cataclysmdda.org/u/snipercup)
#### Post date: [January 2, 2020, 7:32pm UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/6 "2020-01-02T19:32:06Z")

</div>

Did you edit an existing mob or do you want to make a new mod with a new mob? What guides have you read so far?

---

<div class="post-metadata">

### Author: ![Jninja](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jninja/32/7800_2.png) [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)
#### Post date: [January 2, 2020, 9:00pm UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/7 "2020-01-02T21:00:59Z")

</div>

Ok I am making a new mob based off of the runner for the most part it stayed the same but i changed a couple values and the name and added a new flag. I have read the guide for first time modders but I don’t see a way to implent JUST a mod.

---

<div class="post-metadata">

### Author: ![snipercup](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/snipercup/32/6932_2.png) [@snipercup](https://discourse.cataclysmdda.org/u/snipercup)
#### Post date: [January 2, 2020, 9:22pm UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/8 "2020-01-02T21:22:38Z")

</div>

See the other mods in the /data/mods folder. For a mod you require a mod\_info file. There is a very old out of date article on the wiki, maybe it will help you: [http://cddawiki.chezzo.com/cdda\_wiki/index.php?title=Mod\_manager](http://cddawiki.chezzo.com/cdda_wiki/index.php?title=Mod_manager). Basically you can copy a mod\_info file into a new folder with the name of your mod and then add the mob json file with just your mob in it. then you have to activate your mod in-game using the world creation menu.

---

<div class="post-metadata">

### Author: ![Jninja](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jninja/32/7800_2.png) [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)
#### Post date: [January 3, 2020, 12:13am UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/9 "2020-01-03T00:13:30Z")

</div>

Oh ok thank you, that may be the problem

---

<div class="post-metadata">

### Author: ![Jninja](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jninja/32/7800_2.png) [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)
#### Post date: [January 3, 2020, 1:13am UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/10 "2020-01-03T01:13:56Z")

</div>

Well I still couldn’t get it to run, I have the folder under the mod’s name and the I have the file containing the code under a .json. So when I download the zip and put it into the mods file and go to update and check the launcher it’s not there and when I check the folder again it’s gone. So I’m not sure what I’m doing wrong.

---

<div class="post-metadata">

### Author: ![Jninja](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jninja/32/7800_2.png) [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)
#### Post date: [January 3, 2020, 1:16am UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/11 "2020-01-03T01:16:22Z")

</div>

Oh wait I don’t have a modinfo file

---

<div class="post-metadata">

### Author: ![Jninja](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jninja/32/7800_2.png) [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)
#### Post date: [January 3, 2020, 1:39am UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/12 "2020-01-03T01:39:40Z")

</div>

Ok I got the modinfo file in and now I can select the mod but it’s crashing (which is progress) it’s spitting out: DEBUG : Error: data/mods//parkour\_zombie-master/parkour.json: line 1:1: expected object or array

"  
^  
id": “mon\_Parkour\_zombie”,  
“type”: “MONSTER”,  
“name”: “Parkour Zombie”,  
FUNCTION : bool main\_menu::new\_character\_tab()  
FILE : src/main\_menu.cpp  
LINE : 773  
I can list the code if need be.

---

<div class="post-metadata">

### Author: ![Axema](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/axema/32/10822_2.png) [@Axema](https://discourse.cataclysmdda.org/u/Axema)
#### Post date: [January 3, 2020, 1:54am UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/13 "2020-01-03T01:54:30Z")

</div>

```
[ 
   {
            "id": "mon_test",
            "type": "MONSTER",
            "name": "test",
            "description": "Test.",
            "default_faction": "zombie",
            "species": ["ZOMBIE"],
            "volume": "30000 ml",
            "weight": 40750,
            "harvest": "zombie",
            "hp": 40,
            "speed": 60,
            "material": ["flesh"],
            "symbol": "Z",
            "color": "pink",
            "aggression": 50,
            "morale": 50,
            "melee_skill": 4,
            "melee_dice": 1,
            "melee_dice_sides": 4,
            "melee_cut": 2,
            "dodge": 1,
            "death_function": ["NORMAL"],
            "anger_triggers": ["HURT"],
            "flags": ["SEES"]
        }
]

```

Seen on the debug error, you need your `[]` and `{ }` to be correct (or insert them if you didn’t put any).  
`[]` and `{ }` are both important things in a json file.

---

<div class="post-metadata">

### Author: ![Jninja](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jninja/32/7800_2.png) [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)
#### Post date: [January 3, 2020, 2:19pm UTC](https://discourse.cataclysmdda.org/t/help-getting-a-mod-running/22374/14 "2020-01-03T14:19:22Z")

</div>

Yup that was the issue, thank you so much
