In Control!

In Control!

76M Downloads

Cant add two modids

Ultraraptor4 opened this issue ยท 7 comments

commented

using this config script in spawn.json
[
{
"result": "deny",
"mod": "graveyard",
"dimension": "minecraft:overworld"
},
{
"result": "deny",
"mod": "iceandfire",
"dimension": "minecraft:overworld"
}
]

and it doesnt work. when i use one mod id it works, but not both, have i typed it wrong?

commented

What do you mean by 'doesn't work'? There are so many ways something can fail. Also what version?

commented

mod mods continue to show when i type /incontrol list
on 1.20.1
individually they work, but when i attempt to combine them is where it fails

commented

Try adding "when": "onjoin" to both rules
Also individual or together doesn't make a difference

commented

both: [
{
"result": "deny",
"mod": "iceandfire",
"dimension": "minecraft:overworld"
},
{
"result": "deny",
"mod": "graveyard",
"dimension": "minecraft:overworld"
}
]

single:
[
{
"result": "deny",
"mod": "iceandfire",
"dimension": "minecraft:overworld"
}
]

commented

Did you try my suggestion?

commented

[
{
"result": "deny",
"mod": "iceandfire",
"when": "onjoin",
"dimension": "minecraft:overworld"
},
{
"result": "deny",
"mod": "graveyard",
"when": "onjoin",
"dimension": "minecraft:overworld"
}
]

like this?

commented

thank you, it worked!