Starting Scripting

Various development-related discussions
Post Reply
User avatar
NikocadoSlot
Noob
Posts: 1
Joined: Thu Apr 27, 2023 9:26 pm
Been thanked: 1 time

Starting Scripting

Post by NikocadoSlot »

Hi everyone, I'm playing on the singleplayer windows edition of the game and I would like to start making scripts (simple things like fishing or woodcutting) but have no idea where to start. Please point me to appropriate resources and general directions as to what I should do. Thank you!
User avatar
between3and20
Froob
Posts: 71
Joined: Sun Oct 09, 2022 8:11 pm
Location: Kadath
Has thanked: 32 times
Been thanked: 14 times

Re: Starting Scripting

Post by between3and20 »

In jail XD

open your singleplayer folder and navigate through these folders and find file: default.conf, open it with a text file editor, then find line:
Image
change false to true, and save, after you launch the game, use the in-game command ::scripts, you will see a interface with list of commands that represent the various scripts inserted into, you will be able to run them. if it wouldn't start then you should back to the default.conf and find the iwantcheat option, change from false to true and save.

Ave
User avatar
ryannathans
Staff
Posts: 487
Joined: Thu Aug 11, 2022 12:25 am
Location: ɐᴉlɐɹʇsn∀
Has thanked: 37 times
Been thanked: 94 times

Re: Starting Scripting

Post by ryannathans »

Once you have explored these scripts, to make your own you'll need to clone the server repo and have a play with the code
Post Reply