Ask a simple question, get a simple answer

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here

nvrsbr

New Member
Jul 29, 2019
150
0
0
FTB MONSTER

Anyone good with MineTweaker Scripts ?
I want to change thr recipe for the Guardian Stone from Geostrata to
Glass Block,RedStone,Glass Block
RedStone,GlowStone,Redstone
Glass Block,RedStone,Glass Block

I tried adding my own script but the server does not seem to load it.
I am sure I was putting it in the correct spot (in the minetweaker folder that is in the config folder)
My server does not have a savegame folder so do I need to create one ?
Taken from the Minetweaker site ---> execute the scripts from the server's savegame minetweaker directory
So does that mean I need a savegame folder with a minetweaker folder inside it ?
Also do I need to add my script name to the main.cfg?

This is what I have for the script I just put together.
recipes.remove(<729>);
recipes.addShaped(<729>, [[<20>,<331>,<20>],[<331>,<348>,<331>],[<20>,<331>,<20>]]);


Reika said it was fine to do so in 1.6 Geostrata
 
Last edited:
  • Like
Reactions: pc_assassin

nvrsbr

New Member
Jul 29, 2019
150
0
0
Yes you need a save game(world).

Still dont get this ?

Whats the exact directory structure I need?

Because the Minetweaker site says "Server-side, in a folder called "minetweaker" in the savegame directory"
 
Last edited:

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
This is a recipe from Jaded's Blood (MC 1.6.4) for turning dirt into diamonds:

{
"output": {
"id": 264,
"meta": 0,
"count": 1
},

"input": {
"id": 3,
"meta": 0,
"count": 1
},

"altarTier": 1,
"bloodRequirement": 100,
"consumptionRate": 1,
"drainRate": 1,
"canBeFilled": false
}

To use this same recipe in 1.7 would it be?
{
"output": {
"id": minecraft:diamond,
"meta": 0,
"count": 1
},

"input": {
"id": minecraft:dirt,
"meta": 0,
"count": 1
},

"altarTier": 1,
"bloodRequirement": 100,
"consumptionRate": 1,
"drainRate": 1,
"canBeFilled": false
}



...and if I wanted to use, let's say, a "thing" from the mod "dohickey" would I put:
"id": dohickey:thing,
?
 

nvrsbr

New Member
Jul 29, 2019
150
0
0
Yes. Doesn't make a whole lot of sense, but that's how it works.
Source: I've used it.

Ok so I just put my (hopefully correct) script in that folder and exucute "/mt reload"
Does anyhting else need to go in that folder? Like the other configs from the config/minetweaker folder?
 

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
I would assume this is for 1.6.4?
And can I just ask what all the items are?


OR! Do what I do:
in the minecraft folder (so where the sub folders config, mods, bin, etc. are) create a new folder called "scripts".
In scripts create a text file.
Open text file put what you posted there (recipe removal, and addition)
then save the text file as <name>.zs

(I have a fair few recipes in one script, called script, and advanced recipes (stuff using NBT data, furnace recipes, etc) in another script file)
 

nvrsbr

New Member
Jul 29, 2019
150
0
0
I would assume this is for 1.6.4?
And can I just ask what all the items are?


OR! Do what I do:
in the minecraft folder (so where the sub folders config, mods, bin, etc. are) create a new folder called "scripts".
In scripts create a text file.
Open text file put what you posted there (recipe removal, and addition)
then save the text file as <name>.zs

(I have a fair few recipes in one script, called script, and advanced recipes (stuff using NBT data, furnace recipes, etc) in another script file)
This needs to be server side.
 

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
No. If it's serverside it still works :p
No cfg files. This way is so much easier.
You do as I said, but just do it in the server's main directory. And when you do /minetweaker reload, everyone should see the new recipes (they may need to relog)
 

nvrsbr

New Member
Jul 29, 2019
150
0
0
No. If it's serverside it still works :p
No cfg files. This way is so much easier.
You do as I said, but just do it in the server's main directory. And when you do /minetweaker reload, everyone should see the new recipes (they may need to relog)

I tried it and it didnt work
 

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
Really? Do all the players on the server have minetweaker installed?
Could you also post a pic of how your folders are laid out?
And have you tried just having the scripts folder, and not the minetweaker folder in the config file?
AND have you tried do /minetweaker reload in both the chat (as in you typing it) and in the console?
 

nvrsbr

New Member
Jul 29, 2019
150
0
0
Really? Do all the players on the server have minetweaker installed?
Could you also post a pic of how your folders are laid out?
And have you tried just having the scripts folder, and not the minetweaker folder in the config file?
AND have you tried do /minetweaker reload in both the chat (as in you typing it) and in the console?

Yes players have minetweaker installed
Folder lay out - - >> http://s12.postimg.org/ajndzvnsd/Temp.jpg
Yes I tried runing /mt reload in both the console and the in game chat

Any thoughts

Its the Guardian Stone from Geostrata that I am trying to change the recipe for btw.
 
Last edited: