Bulk editing in data fileSolved

hi, i've a question. so the CustomVendingSetup data file only show if i edit a vending machine and save it. is there any faster way to make the data file appear without edit and save one by one?
i'm using ATM system and trying to change every Scrap to Dollars.

thank you.

Not currently.

most text editors (notepad, wordpad, notepad++) have find and replace. open the json file in the data folder, search 'Scrap' replace with 'Dollars' - and 'replace all'

firingLaserz

most text editors (notepad, wordpad, notepad++) have find and replace. open the json file in the data folder, search 'Scrap' replace with 'Dollars' - and 'replace all'

The issue is that the plugin does not populate the data file with every vending machine automayically. Worst case, the OP could go to each vending machine, click edit -> save, then once done, find and replace all in the data file.

It's been suggested before that the plugin be more aggressive in controlling vending machines, but I haven't prioritized it because it doesn't save server owners that much time in the long run, and I would have to think through the experience properly so it doesn't create additional problems.

Yup okay. Thank you guys for the respons. Currently I'm using sublime text to get it done. Edit > save and import the data to sublime text and edit the scrap. i just wondering if there's an easy way.

so if i create a new server and copy paste the data file, will it work? 

azAPjne7P7fJuYX.jpg awankp

so if i create a new server and copy paste the data file, will it work? 

Yes. The customizations are saved using the name of the monument plus the relative position of the vending machine within that monument. This allows the data file to work on all maps and servers basically. Exception is if Facepunch moves the vending machines around within the monument in a future update, or if you are using a custom map and didn't place the monument markers at a consistent position and rotation.

ok, thank you whitethunder for your respons 😀

Locked automatically