perromercenary00 Posted January 21, 2016 Posted January 21, 2016 good days i wanna create some ramdom structures in mod houses most of then and a pair of dungeons, i wass alredy working ointhis long time ago but infortunally i lost the code, but that ode has some troubles regarding the extructure of the data of a json file soo this time i try to store the structure data as simple int[] in mi config file and its works, but then i could not use this file to manage mi mod options i was tinking how to solve this and come to this question ?? is posible to have multi config files per mod arranged in folders to keep it clean sometime like ~/.minecraft/config/modmercenario.cfg ~/.minecraft/config/mercenarymodExtructures/house00.cfg ~/.minecraft/config/mercenarymodExtructures/house01.cfg ~/.minecraft/config/mercenarymodExtructures/house02.cfg i think i see this before but not know hot to keep the reference to the file ~/.minecraft/config/mercenarymodExtructures/ no matther where this folders end in the player operativeSystem thanks for reading this is how mi config file looks whith the test extructure inside it works but # Configuration file extructura { I:casa00 < 3 3 -18 2 -508 3 3 -18 2 -507 3 3 -18 2 -506 3 3 -18 2 -505 3 3 -18 2 -504 3 3 -18 2 -503 3 3 -18 2 -502 3 3 -18 2 -501 3 3 -18 2 -500 3 3 -18 2 -499 3 3 -18 2 -498 3 3 -18 2 -497 3 3 -18 2 -496 3 3 -18 2 -495 3 3 -18 2 -494 3 3 -18 2 -493 3 3 -18 2 -492 3 3 -18 2 -491 3 3 -18 2 -490 3 3 -18 2 -489 2 2 -18 3 -508 2 2 -18 3 -507 2 2 -18 3 -506 2 2 -18 3 -505 2 2 -18 3 -504 2 2 -18 3 -503 2 2 -18 3 -502 2 2 -18 3 -501 2 2 -18 3 -500 2 2 -18 3 -499 2 2 -18 3 -498 2 2 -18 3 -497 2 2 -18 3 -496 2 2 -18 3 -495 2 2 -18 3 -494 2 2 -18 3 -493 2 2 -18 3 -492 2 2 -18 3 -491 2 2 -18 3 -490 2 2 -18 3 -489 2 2 -17 2 -508 3 3 -17 2 -507 3 3 -17 2 -506 3 3 -17 2 -505 3 3 -17 2 -504 3 3 -17 2 -503 3 3 -17 2 -502 3 3 -17 2 -501 3 3 -17 2 -500 3 3 -17 2 -499 3 3 -17 2 -498 3 3 -17 2 -497 3 3 -17 2 -496 3 3 -17 2 -495 3 3 -17 2 -494 3 3 -17 2 -493 3 3 -17 2 -492 3 3 -17 2 -491 3 3 -17 2 -490 2 2 -17 2 -489 2 2 -17 3 -507 2 2 -17 3 -506 2 2 -17 3 -505 2 2 -17 3 -504 2 2 -17 3 -503 2 2 -17 3 -502 2 2 -17 3 -501 2 2 -17 3 -500 2 2 -17 3 -499 2 2 -17 3 -498 2 2 -17 3 -497 2 2 -17 3 -496 2 2 -17 3 -495 2 2 -17 3 -494 2 2 -17 3 -493 2 2 -17 3 -492 2 2 -17 3 -491 2 2 -17 3 -490 3 3 -16 2 -508 3 3 -16 2 -507 3 3 -16 2 -506 3 3 -16 2 -505 3 3 -16 2 -504 3 3 -16 2 -503 3 3 -16 2 -502 3 3 -16 2 -501 3 3 -16 2 -500 3 3 -16 2 -499 3 3 -16 2 -498 3 3 -16 2 -497 3 3 -16 2 -496 3 3 -16 2 -495 3 3 -16 2 -494 3 3 -16 2 -493 3 3 -16 2 -492 3 3 -16 2 -491 3 3 -16 2 -490 3 3 -16 2 -489 2 2 -16 3 -508 2 2 -16 3 -507 2 2 -16 3 -506 2 2 -16 3 -505 2 2 -16 3 -504 2 2 -16 3 -503 2 2 -16 3 -502 2 2 -16 3 -501 2 2 -16 3 -500 2 2 -16 3 -499 2 2 -16 3 -498 2 2 -16 3 -497 2 2 -16 3 -496 2 2 -16 3 -495 2 2 -16 3 -494 2 2 -16 3 -493 2 2 -16 3 -492 2 2 -16 3 -491 2 2 -16 3 -490 2 2 -16 3 -489 3 3 -15 2 -508 3 3 -15 2 -507 3 3 -15 2 -506 3 3 -15 2 -505 3 3 -15 2 -504 3 3 -15 2 -503 3 3 -15 2 -502 3 3 -15 2 -501 3 3 -15 2 -500 3 3 -15 2 -499 3 3 -15 2 -498 3 3 -15 2 -497 3 3 -15 2 -496 3 3 -15 2 -495 3 3 -15 2 -494 3 3 -15 2 -493 3 3 -15 2 -492 3 3 -15 2 -491 3 3 -15 2 -490 3 3 -15 2 -489 2 2 -15 3 -508 2 2 -15 3 -507 2 2 -15 3 -506 2 2 -15 3 -505 2 2 -15 3 -504 2 2 -15 3 -503 2 2 -15 3 -502 2 2 -15 3 -501 2 2 -15 3 -500 2 2 -15 3 -499 2 2 -15 3 -498 2 2 -15 3 -497 2 2 -15 3 -496 2 2 -15 3 -495 2 2 -15 3 -494 2 2 -15 3 -493 2 2 -15 3 -492 2 2 -15 3 -491 2 2 -15 3 -490 2 2 -15 3 -489 3 3 -14 2 -508 3 3 -14 2 -507 3 3 -14 2 -506 3 3 -14 2 -505 3 3 -14 2 -504 3 3 -14 2 -503 3 3 -14 2 -502 3 3 -14 2 -501 3 3 -14 2 -500 3 3 -14 2 -499 3 3 -14 2 -498 3 3 -14 2 -497 3 3 -14 2 -496 3 3 -14 2 -495 3 3 -14 2 -494 3 3 -14 2 -493 3 3 -14 2 -492 3 3 -14 2 -491 3 3 -14 2 -490 3 3 -14 2 -489 2 2 -14 3 -508 2 2 -14 3 -507 2 2 -14 3 -506 2 2 -14 3 -505 2 2 -14 3 -504 2 2 -14 3 -503 2 2 -14 3 -502 2 2 -14 3 -501 2 2 -14 3 -500 2 2 -14 3 -499 2 2 -14 3 -498 2 2 -14 3 -497 2 2 -14 3 -496 2 2 -14 3 -495 2 2 -14 3 -494 2 2 -14 3 -493 2 2 -14 3 -492 2 2 -14 3 -491 2 2 -14 3 -490 2 2 -14 3 -489 3 3 -13 2 -508 3 3 -13 2 -507 3 3 -13 2 -506 3 3 -13 2 -505 3 3 -13 2 -504 3 3 -13 2 -503 3 3 -13 2 -502 3 3 -13 2 -501 3 3 -13 2 -500 3 3 -13 2 -499 3 3 -13 2 -498 3 3 -13 2 -497 3 3 -13 2 -496 3 3 -13 2 -495 3 3 -13 2 -494 3 3 -13 2 -493 3 3 -13 2 -492 3 3 -13 2 -491 3 3 -13 2 -490 3 3 -13 2 -489 2 2 -13 3 -508 2 2 -13 3 -507 2 2 -13 3 -506 2 2 -13 3 -505 2 2 -13 3 -504 2 2 -13 3 -503 2 2 -13 3 -502 2 2 -13 3 -501 2 2 -13 3 -500 2 2 -13 3 -499 2 2 -13 3 -498 2 2 -13 3 -497 2 2 -13 3 -496 2 2 -13 3 -495 2 2 -13 3 -494 2 2 -13 3 -493 2 2 -13 3 -492 2 2 -13 3 -491 2 2 -13 3 -490 2 2 -13 3 -489 3 3 -12 2 -508 3 3 -12 2 -507 3 3 -12 2 -506 3 3 -12 2 -505 3 3 -12 2 -504 3 3 -12 2 -503 3 3 -12 2 -502 3 3 -12 2 -501 3 3 -12 2 -500 3 3 -12 2 -499 3 3 -12 2 -498 3 3 -12 2 -497 3 3 -12 2 -496 3 3 -12 2 -495 3 3 -12 2 -494 3 3 -12 2 -493 3 3 -12 2 -492 3 3 -12 2 -491 3 3 -12 2 -490 3 3 -12 2 -489 2 2 -12 3 -508 2 2 -12 3 -507 2 2 -12 3 -506 2 2 -12 3 -505 2 2 -12 3 -504 2 2 -12 3 -503 2 2 -12 3 -502 2 2 -12 3 -501 2 2 -12 3 -500 2 2 -12 3 -499 2 2 -12 3 -498 2 2 -12 3 -497 2 2 -12 3 -496 2 2 -12 3 -495 2 2 -12 3 -494 2 2 -12 3 -493 2 2 -12 3 -492 3 3 -12 3 -491 2 2 -12 3 -490 2 2 -12 3 -489 215 215 -12 4 -491 3 3 -11 2 -508 3 3 -11 2 -507 3 3 -11 2 -506 3 3 -11 2 -505 3 3 -11 2 -504 2 2 -11 2 -503 3 3 -11 2 -502 2 2 -11 2 -501 2 2 -11 2 -500 3 3 -11 2 -499 3 3 -11 2 -498 2 2 -11 2 -497 3 3 -11 2 -496 2 2 -11 2 -495 2 2 -11 2 -494 2 2 -11 2 -493 3 3 -11 2 -492 3 3 -11 2 -491 3 3 -11 2 -490 3 3 -11 2 -489 2 2 -11 3 -508 2 2 -11 3 -507 2 2 -11 3 -506 2 2 -11 3 -505 2 2 -11 3 -504 3 3 -11 3 -492 2 2 -11 3 -491 2 2 -11 3 -490 2 2 -11 3 -489 2 2 -11 4 -492 3 3 -10 2 -508 3 3 -10 2 -507 3 3 -10 2 -506 3 3 -10 2 -505 3 3 -10 2 -504 2 2 -10 2 -503 3 3 -10 2 -502 3 3 -10 2 -501 3 3 -10 2 -500 3 3 -10 2 -499 3 3 -10 2 -498 3 3 -10 2 -497 3 3 -10 2 -496 3 3 -10 2 -495 3 3 -10 2 -494 4 4 -10 2 -493 4 4 -10 2 -492 4 4 -10 2 -491 4 4 -10 2 -490 4 4 -10 2 -489 2 2 -10 3 -508 2 2 -10 3 -507 2 2 -10 3 -506 2 2 -10 3 -505 2 2 -10 3 -504 2 2 -10 3 -502 3 3 -10 3 -501 3 3 -10 3 -500 3 3 -10 3 -499 3 3 -10 3 -498 2 2 -10 3 -497 2 2 -10 3 -496 2 2 -10 3 -495 2 2 -10 3 -494 13 13 -10 3 -493 13 13 -10 3 -491 13 13 -10 3 -490 13 13 -10 3 -489 4 4 -10 4 -501 4 4 -10 4 -500 4 4 -10 4 -499 4 4 -10 4 -498 4 4 -10 5 -501 4 4 -10 5 -500 4 4 -10 5 -499 4 4 -10 5 -498 4 4 -10 5 -497 4 4 -10 5 -496 4 4 -10 5 -495 4 4 -10 6 -501 4 4 -10 6 -500 4 4 -10 6 -499 4 4 -10 6 -498 4 4 -10 6 -497 102 102 -10 6 -496 4 4 -10 6 -495 4 4 -10 7 -501 102 102 -10 7 -500 4 4 -10 7 -499 4 4 -10 7 -498 4 4 -10 7 -497 102 102 -10 7 -496 4 4 -10 7 -495 4 4 -10 8 -501 4 4 -10 8 -500 4 4 -10 8 -499 4 4 -10 8 -498 4 4 -10 8 -497 4 4 -10 8 -496 4 4 -10 8 -495 4 4 -10 8 -494 4 4 -10 9 -497 4 4 -10 9 -496 4 4 -10 9 -495 4 4 -10 10 -497 102 102 -10 10 -496 4 4 -10 10 -495 4 4 -10 11 -497 102 102 -10 11 -496 4 4 -10 11 -495 4 4 -10 12 -497 4 4 -10 12 -496 4 4 -10 12 -495 4 4 -10 13 -498 4 4 -10 13 -497 4 4 -10 13 -496 4 4 -10 13 -495 4 4 -10 13 -494 3 3 -9 2 -508 3 3 -9 2 -507 3 3 -9 2 -506 3 3 -9 2 -505 3 3 -9 2 -504 2 2 -9 2 -503 3 3 -9 2 -502 3 3 -9 2 -501 3 3 -9 2 -500 3 3 -9 2 -499 3 3 -9 2 -498 3 3 -9 2 -497 3 3 -9 2 -496 3 3 -9 2 -495 3 3 -9 2 -494 4 4 -9 2 -493 4 4 -9 2 -492 4 4 -9 2 -491 4 4 -9 2 -490 4 4 -9 2 -489 2 2 -9 3 -508 2 2 -9 3 -507 2 2 -9 3 -506 2 2 -9 3 -505 2 2 -9 3 -504 3 3 -9 3 -502 3 3 -9 3 -501 3 3 -9 3 -500 3 3 -9 3 -499 3 3 -9 3 -498 3 3 -9 3 -497 3 3 -9 3 -496 3 3 -9 3 -495 3 3 -9 3 -494 13 13 -9 3 -493 13 13 -9 3 -491 13 13 -9 3 -490 13 13 -9 3 -489 4 4 -9 4 -502 4 4 -9 4 -501 4 4 -9 4 -500 4 4 -9 4 -499 4 4 -9 4 -498 4 4 -9 4 -497 4 4 -9 4 -496 4 4 -9 4 -495 4 4 -9 4 -494 4 4 -9 5 -502 4 4 -9 5 -501 4 4 -9 5 -500 67 12355 -9 5 -499 4 4 -9 5 -494 4 4 -9 6 -502 67 4163 -9 6 -501 4 4 -9 6 -494 4 4 -9 7 -502 4 4 -9 7 -494 4 4 -9 8 -502 50 4146 -9 8 -500 4 4 -9 8 -498 4 4 -9 8 -497 4 4 -9 8 -496 4 4 -9 8 -495 4 4 -9 8 -494 4 4 -9 9 -501 4 4 -9 9 -500 4 4 -9 9 -499 4 4 -9 9 -498 4 4 -9 9 -494 4 4 -9 10 -498 4 4 -9 10 -494 4 4 -9 11 -498 4 4 -9 11 -494 4 4 -9 12 -498 4 4 -9 12 -494 4 4 -9 13 -498 4 4 -9 13 -497 4 4 -9 13 -496 4 4 -9 13 -495 4 4 -9 13 -494 3 3 -8 2 -508 3 3 -8 2 -507 3 3 -8 2 -506 3 3 -8 2 -505 3 3 -8 2 -504 2 2 -8 2 -503 3 3 -8 2 -502 3 3 -8 2 -501 3 3 -8 2 -500 3 3 -8 2 -499 3 3 -8 2 -498 3 3 -8 2 -497 3 3 -8 2 -496 3 3 -8 2 -495 3 3 -8 2 -494 4 4 -8 2 -493 4 4 -8 2 -492 4 4 -8 2 -491 4 4 -8 2 -490 4 4 -8 2 -489 2 2 -8 3 -508 2 2 -8 3 -507 2 2 -8 3 -506 2 2 -8 3 -505 2 2 -8 3 -504 3 3 -8 3 -502 3 3 -8 3 -501 3 3 -8 3 -500 3 3 -8 3 -499 3 3 -8 3 -498 3 3 -8 3 -497 3 3 -8 3 -496 3 3 -8 3 -495 3 3 -8 3 -494 13 13 -8 3 -493 13 13 -8 3 -492 13 13 -8 3 -491 13 13 -8 3 -490 13 13 -8 3 -489 4 4 -8 4 -502 4 4 -8 4 -501 4 4 -8 4 -500 4 4 -8 4 -499 4 4 -8 4 -498 4 4 -8 4 -497 4 4 -8 4 -496 4 4 -8 4 -495 4 4 -8 4 -494 67 12355 -8 4 -493 3 3 -8 4 -492 4 4 -8 5 -502 4 4 -8 5 -501 67 12355 -8 5 -500 220 220 -8 5 -498 64 4160 -8 5 -494 4 4 -8 6 -502 64 32832 -8 6 -494 102 102 -8 7 -502 4 4 -8 7 -494 4 4 -8 8 -502 50 12338 -8 8 -501 50 16434 -8 8 -499 4 4 -8 8 -498 4 4 -8 8 -497 4 4 -8 8 -496 4 4 -8 8 -495 4 4 -8 8 -494 4 4 -8 9 -501 4 4 -8 9 -500 4 4 -8 9 -499 4 4 -8 9 -498 4 4 -8 9 -494 102 102 -8 10 -498 102 102 -8 10 -494 102 102 -8 11 -498 102 102 -8 11 -494 4 4 -8 12 -498 4 4 -8 12 -494 4 4 -8 13 -498 4 4 -8 13 -497 4 4 -8 13 -496 4 4 -8 13 -495 4 4 -8 13 -494 3 3 -7 2 -508 3 3 -7 2 -507 3 3 -7 2 -506 3 3 -7 2 -505 3 3 -7 2 -504 3 3 -7 2 -503 3 3 -7 2 -502 3 3 -7 2 -501 3 3 -7 2 -500 3 3 -7 2 -499 3 3 -7 2 -498 3 3 -7 2 -497 3 3 -7 2 -496 3 3 -7 2 -495 3 3 -7 2 -494 4 4 -7 2 -493 4 4 -7 2 -492 4 4 -7 2 -491 3 3 -7 2 -490 3 3 -7 2 -489 2 2 -7 3 -508 2 2 -7 3 -507 2 2 -7 3 -506 2 2 -7 3 -505 2 2 -7 3 -504 3 3 -7 3 -502 3 3 -7 3 -501 3 3 -7 3 -500 3 3 -7 3 -499 3 3 -7 3 -498 3 3 -7 3 -497 3 3 -7 3 -496 3 3 -7 3 -495 3 3 -7 3 -494 13 13 -7 3 -493 13 13 -7 3 -491 2 2 -7 3 -490 2 2 -7 3 -489 4 4 -7 4 -502 4 4 -7 4 -501 4 4 -7 4 -500 4 4 -7 4 -499 4 4 -7 4 -498 4 4 -7 4 -497 4 4 -7 4 -496 4 4 -7 4 -495 4 4 -7 4 -494 4 4 -7 5 -502 4 4 -7 5 -501 4 4 -7 5 -500 67 12355 -7 5 -499 65 16449 -7 5 -497 61 8253 -7 5 -495 4 4 -7 5 -494 4 4 -7 6 -502 67 67 -7 6 -501 65 16449 -7 6 -497 4 4 -7 6 -494 4 4 -7 7 -502 65 16449 -7 7 -497 4 4 -7 7 -494 4 4 -7 8 -502 50 8242 -7 8 -500 4 4 -7 8 -498 65 16449 -7 8 -497 4 4 -7 8 -496 4 4 -7 8 -495 4 4 -7 8 -494 4 4 -7 9 -501 4 4 -7 9 -500 4 4 -7 9 -499 4 4 -7 9 -498 65 16449 -7 9 -497 4 4 -7 9 -494 4 4 -7 10 -498 65 16449 -7 10 -497 4 4 -7 10 -494 4 4 -7 11 -498 65 16449 -7 11 -497 4 4 -7 11 -494 4 4 -7 12 -498 65 16449 -7 12 -497 4 4 -7 12 -494 4 4 -7 13 -498 65 16449 -7 13 -497 4 4 -7 13 -496 4 4 -7 13 -495 4 4 -7 13 -494 2 2 -6 2 -508 3 3 -6 2 -507 3 3 -6 2 -506 3 3 -6 2 -505 3 3 -6 2 -504 2 2 -6 2 -503 3 3 -6 2 -502 3 3 -6 2 -501 3 3 -6 2 -500 3 3 -6 2 -499 3 3 -6 2 -498 3 3 -6 2 -497 3 3 -6 2 -496 3 3 -6 2 -495 3 3 -6 2 -494 4 4 -6 2 -493 4 4 -6 2 -492 4 4 -6 2 -491 3 3 -6 2 -490 3 3 -6 2 -489 2 2 -6 3 -507 2 2 -6 3 -506 2 2 -6 3 -505 2 2 -6 3 -504 2 2 -6 3 -502 3 3 -6 3 -501 3 3 -6 3 -500 3 3 -6 3 -499 3 3 -6 3 -498 2 2 -6 3 -497 2 2 -6 3 -496 2 2 -6 3 -495 2 2 -6 3 -494 13 13 -6 3 -493 13 13 -6 3 -491 3 3 -6 3 -490 3 3 -6 3 -489 4 4 -6 4 -501 4 4 -6 4 -500 4 4 -6 4 -499 4 4 -6 4 -498 4 4 -6 4 -490 4 4 -6 4 -489 4 4 -6 5 -501 4 4 -6 5 -500 4 4 -6 5 -499 4 4 -6 5 -498 4 4 -6 5 -497 4 4 -6 5 -496 4 4 -6 5 -495 4 4 -6 5 -490 4 4 -6 5 -489 4 4 -6 6 -501 4 4 -6 6 -500 4 4 -6 6 -499 4 4 -6 6 -498 4 4 -6 6 -497 102 102 -6 6 -496 4 4 -6 6 -495 4 4 -6 6 -490 17 17 -6 6 -489 4 4 -6 7 -501 102 102 -6 7 -500 4 4 -6 7 -499 4 4 -6 7 -498 4 4 -6 7 -497 102 102 -6 7 -496 4 4 -6 7 -495 53 8245 -6 7 -491 4 4 -6 7 -490 4 4 -6 7 -489 4 4 -6 8 -501 4 4 -6 8 -500 4 4 -6 8 -499 4 4 -6 8 -498 4 4 -6 8 -497 4 4 -6 8 -496 4 4 -6 8 -495 4 4 -6 8 -494 53 8245 -6 8 -490 5 5 -6 8 -489 4 4 -6 9 -497 4 4 -6 9 -496 4 4 -6 9 -495 53 8245 -6 9 -489 4 4 -6 10 -497 102 102 -6 10 -496 4 4 -6 10 -495 4 4 -6 11 -497 102 102 -6 11 -496 4 4 -6 11 -495 4 4 -6 12 -497 4 4 -6 12 -496 4 4 -6 12 -495 4 4 -6 13 -498 4 4 -6 13 -497 4 4 -6 13 -496 4 4 -6 13 -495 4 4 -6 13 -494 2 2 -5 2 -508 3 3 -5 2 -507 3 3 -5 2 -506 3 3 -5 2 -505 2 2 -5 2 -504 3 3 -5 2 -503 2 2 -5 2 -502 2 2 -5 2 -501 2 2 -5 2 -500 3 3 -5 2 -499 2 2 -5 2 -498 3 3 -5 2 -497 2 2 -5 2 -496 2 2 -5 2 -495 2 2 -5 2 -494 4 4 -5 2 -493 4 4 -5 2 -492 4 4 -5 2 -491 3 3 -5 2 -490 3 3 -5 2 -489 2 2 -5 3 -507 2 2 -5 3 -506 2 2 -5 3 -505 3 3 -5 3 -503 13 13 -5 3 -491 3 3 -5 3 -490 3 3 -5 3 -489 3 3 -5 4 -503 4 4 -5 4 -490 5 5 -5 4 -489 3 3 -5 5 -503 4 4 -5 5 -490 3 3 -5 6 -503 5 5 -5 6 -490 3 3 -5 7 -503 53 8245 -5 7 -491 5 5 -5 7 -490 3 3 -5 8 -503 53 8245 -5 8 -490 5 5 -5 8 -489 3 3 -5 9 -503 53 8245 -5 9 -489 3 3 -5 10 -503 3 3 -5 11 -503 3 3 -5 12 -503 3 3 -5 13 -503 3 3 -4 2 -508 3 3 -4 2 -507 3 3 -4 2 -506 3 3 -4 2 -505 3 3 -4 2 -504 3 3 -4 2 -503 3 3 -4 2 -502 3 3 -4 2 -501 3 3 -4 2 -500 3 3 -4 2 -499 3 3 -4 2 -498 3 3 -4 2 -497 3 3 -4 2 -496 3 3 -4 2 -495 3 3 -4 2 -494 4 4 -4 2 -493 4 4 -4 2 -492 4 4 -4 2 -491 3 3 -4 2 -490 3 3 -4 2 -489 2 2 -4 3 -508 2 2 -4 3 -507 2 2 -4 3 -506 2 2 -4 3 -505 2 2 -4 3 -504 2 2 -4 3 -503 2 2 -4 3 -502 2 2 -4 3 -501 2 2 -4 3 -500 2 2 -4 3 -499 2 2 -4 3 -498 2 2 -4 3 -497 2 2 -4 3 -496 2 2 -4 3 -495 2 2 -4 3 -494 13 13 -4 3 -493 13 13 -4 3 -492 13 13 -4 3 -491 3 3 -4 3 -490 3 3 -4 3 -489 67 8259 -4 4 -491 4 4 -4 4 -490 5 5 -4 4 -489 64 4160 -4 5 -490 64 32832 -4 6 -490 53 8245 -4 7 -491 5 5 -4 7 -490 50 12338 -4 7 -489 53 8245 -4 8 -490 5 5 -4 8 -489 53 8245 -4 9 -489 3 3 -3 2 -508 3 3 -3 2 -507 3 3 -3 2 -506 3 3 -3 2 -505 3 3 -3 2 -504 3 3 -3 2 -503 3 3 -3 2 -502 3 3 -3 2 -501 3 3 -3 2 -500 3 3 -3 2 -499 3 3 -3 2 -498 3 3 -3 2 -497 3 3 -3 2 -496 3 3 -3 2 -495 3 3 -3 2 -494 4 4 -3 2 -493 4 4 -3 2 -492 4 4 -3 2 -491 3 3 -3 2 -490 3 3 -3 2 -489 2 2 -3 3 -508 2 2 -3 3 -507 2 2 -3 3 -506 2 2 -3 3 -505 2 2 -3 3 -504 2 2 -3 3 -503 2 2 -3 3 -502 2 2 -3 3 -501 2 2 -3 3 -500 2 2 -3 3 -499 2 2 -3 3 -498 2 2 -3 3 -497 2 2 -3 3 -496 2 2 -3 3 -495 2 2 -3 3 -494 13 13 -3 3 -493 13 13 -3 3 -492 13 13 -3 3 -491 3 3 -3 3 -490 3 3 -3 3 -489 4 4 -3 4 -490 5 5 -3 4 -489 4 4 -3 5 -490 5 5 -3 6 -490 53 8245 -3 7 -491 5 5 -3 7 -490 53 8245 -3 8 -490 5 5 -3 8 -489 53 8245 -3 9 -489 3 3 -2 2 -508 3 3 -2 2 -507 3 3 -2 2 -506 3 3 -2 2 -505 3 3 -2 2 -504 3 3 -2 2 -503 3 3 -2 2 -502 3 3 -2 2 -501 3 3 -2 2 -500 3 3 -2 2 -499 3 3 -2 2 -498 3 3 -2 2 -497 3 3 -2 2 -496 3 3 -2 2 -495 3 3 -2 2 -494 4 4 -2 2 -493 4 4 -2 2 -492 4 4 -2 2 -491 3 3 -2 2 -490 3 3 -2 2 -489 2 2 -2 3 -508 2 2 -2 3 -507 2 2 -2 3 -506 2 2 -2 3 -505 2 2 -2 3 -504 2 2 -2 3 -503 2 2 -2 3 -502 2 2 -2 3 -501 2 2 -2 3 -500 2 2 -2 3 -499 2 2 -2 3 -498 2 2 -2 3 -497 2 2 -2 3 -496 2 2 -2 3 -495 2 2 -2 3 -494 13 13 -2 3 -493 13 13 -2 3 -492 13 13 -2 3 -491 3 3 -2 3 -490 3 3 -2 3 -489 4 4 -2 4 -490 5 5 -2 4 -489 4 4 -2 5 -490 17 17 -2 6 -490 53 8245 -2 7 -491 5 5 -2 7 -490 53 8245 -2 8 -490 5 5 -2 8 -489 53 8245 -2 9 -489 3 3 -1 2 -508 3 3 -1 2 -507 3 3 -1 2 -506 3 3 -1 2 -505 3 3 -1 2 -504 3 3 -1 2 -503 3 3 -1 2 -502 3 3 -1 2 -501 3 3 -1 2 -500 3 3 -1 2 -499 3 3 -1 2 -498 3 3 -1 2 -497 3 3 -1 2 -496 3 3 -1 2 -495 3 3 -1 2 -494 4 4 -1 2 -493 4 4 -1 2 -492 4 4 -1 2 -491 3 3 -1 2 -490 3 3 -1 2 -489 2 2 -1 3 -508 2 2 -1 3 -507 2 2 -1 3 -506 2 2 -1 3 -505 2 2 -1 3 -504 2 2 -1 3 -503 2 2 -1 3 -502 2 2 -1 3 -501 2 2 -1 3 -500 2 2 -1 3 -499 2 2 -1 3 -498 2 2 -1 3 -497 2 2 -1 3 -496 2 2 -1 3 -495 2 2 -1 3 -494 13 13 -1 3 -493 13 13 -1 3 -492 13 13 -1 3 -491 3 3 -1 3 -490 3 3 -1 3 -489 4 4 -1 4 -490 5 5 -1 4 -489 4 4 -1 5 -490 102 102 -1 6 -490 53 8245 -1 7 -491 5 5 -1 7 -490 53 8245 -1 8 -490 5 5 -1 8 -489 53 8245 -1 9 -489 3 3 0 2 -508 3 3 0 2 -507 3 3 0 2 -506 3 3 0 2 -505 3 3 0 2 -504 3 3 0 2 -503 3 3 0 2 -502 3 3 0 2 -501 3 3 0 2 -500 3 3 0 2 -499 3 3 0 2 -498 3 3 0 2 -497 3 3 0 2 -496 3 3 0 2 -495 3 3 0 2 -494 4 4 0 2 -493 4 4 0 2 -492 4 4 0 2 -491 3 3 0 2 -490 3 3 0 2 -489 2 2 0 3 -508 2 2 0 3 -507 2 2 0 3 -506 2 2 0 3 -505 2 2 0 3 -504 2 2 0 3 -503 2 2 0 3 -502 2 2 0 3 -501 2 2 0 3 -500 2 2 0 3 -499 2 2 0 3 -498 2 2 0 3 -497 2 2 0 3 -496 2 2 0 3 -495 2 2 0 3 -494 13 13 0 3 -493 13 13 0 3 -492 13 13 0 3 -491 3 3 0 3 -490 3 3 0 3 -489 4 4 0 4 -490 5 5 0 4 -489 4 4 0 5 -490 17 17 0 6 -490 53 8245 0 7 -491 5 5 0 7 -490 53 8245 0 8 -490 5 5 0 8 -489 53 8245 0 9 -489 2 2 1 2 -508 3 3 1 2 -507 3 3 1 2 -506 3 3 1 2 -505 3 3 1 2 -504 3 3 1 2 -503 3 3 1 2 -502 3 3 1 2 -501 3 3 1 2 -500 3 3 1 2 -499 3 3 1 2 -498 3 3 1 2 -497 3 3 1 2 -496 3 3 1 2 -495 3 3 1 2 -494 4 4 1 2 -493 4 4 1 2 -492 4 4 1 2 -491 3 3 1 2 -490 3 3 1 2 -489 2 2 1 3 -507 2 2 1 3 -506 2 2 1 3 -505 2 2 1 3 -504 2 2 1 3 -503 2 2 1 3 -502 2 2 1 3 -501 2 2 1 3 -500 2 2 1 3 -499 2 2 1 3 -498 2 2 1 3 -497 2 2 1 3 -496 2 2 1 3 -495 2 2 1 3 -494 13 13 1 3 -493 13 13 1 3 -492 13 13 1 3 -491 3 3 1 3 -490 3 3 1 3 -489 4 4 1 4 -490 5 5 1 4 -489 4 4 1 5 -490 5 5 1 6 -490 53 8245 1 7 -491 5 5 1 7 -490 53 8245 1 8 -490 5 5 1 8 -489 53 8245 1 9 -489 > } gui { # puedes Deshabilitar la gui si es que te da problemas B:"Gui Enable"=true # Tamaño de la gui I:"Gui Size"=30 # corrige la posicion de la gui I:"Gui pos X"=0 I:"Gui pos Y"=0 } guns { # Autorecarga de Magazines, # Solo funciona si hay otro cargador # compatible Disponible en el inventario B:"autoreload Activated"=true } mobs { # Signo de exclamacion cunado te ve uno de mis mobs B:Exclamaciones=true # habran mas Zombies diferentes en el juego B:"Zombies variados"=true # Quieres creeper's con ak47's vagando por hay B:"ak47 whith Creeper"=true # uno de cada 20 sera un Zombie mejorado B:"enhanced Zombies"=true } Quote
stucuk Posted January 21, 2016 Posted January 21, 2016 You can have more than one config. You just use more than one Configuration (net.minecraftforge.common.config) variable. Quote -Stu MCI Craft (Curse) | MCI Craft (Website)
perromercenary00 Posted January 23, 2016 Author Posted January 23, 2016 hie no not getit yet ithink is net.minecraftforge.common.config; i declare a secong config file 00 private static Configuration configFile; private static Configuration configFile00; then in the preinit() @EventHandler public void preInit(FMLPreInitializationEvent event) { // you will be able to find the config file in .minecraft/config/ and it // will be named Dummy.cfg // here our Configuration has been instantiated, and saved under the // name "config" configFile = new Configuration(event.getSuggestedConfigurationFile()); configFile00 = new Configuration(event.getSuggestedConfigurationFile()); // loading the configuration from its file configFile.load(); configFile00.load(); configFile00.save(); still having only a config file modmercenario.cfg i wass looking inside config. whith eclipse and dont something usefull, can you give me an example of config folder whith config files Quote
Ernio Posted January 23, 2016 Posted January 23, 2016 Not to be rude, but do you even brainz? event.getSuggestedConfigurationFile() returns a FILE. That File will be used as place to generate/read/save a Forge's Configuration.class Instance. Logically - you can have those Configurations saved in any other File directory. So you can e.g: new File(event.getSuggestedConfigurationFile(), "/one/two/configNumber10.cfg"); // might have syntax problems, whetever. So if you would want to have e.g infinite number of configs you can simply list files in some directory and create Configuration instance for each file found. Quote 1.7.10 is no longer supported by forge, you are on your own.
perromercenary00 Posted January 23, 2016 Author Posted January 23, 2016 private static Configuration configFile; private static Configuration configFile00; @EventHandler public void preInit(FMLPreInitializationEvent event) { configFile = new Configuration(event.getSuggestedConfigurationFile()); configFile00 = new Configuration(event.getSuggestedConfigurationFile(), "Number10.cfg"); //"one/two/configNumber10.cfg" //"/home/usuario/one/two/configNumber10.cfg" configFile.load(); configFile00.load(); configFile00.save(); setConfigValues(false); } how i understand this must create a second config file in the config folder named Number10.cfg or modmercenarioNumber10.cfg but neither is in the folder and also i think understand if i declare some route whithe name it must create folders inside config/ so "one/two/configNumber10.cfg" must generate something like config/one/two/configNumber10.cfg and nuthing happens definitivamente i dont geit this method loosk like something to make config file backups more than a tools to add more usable config files /** * Create a configuration file for the file given in parameter with the provided config version number. */ public Configuration(File file, String configVersion) { this.file = file; this.definedConfigVersion = configVersion; String basePath = ((File)(FMLInjectionData.data()[6])).getAbsolutePath().replace(File.separatorChar, '/').replace("/.", ""); String path = file.getAbsolutePath().replace(File.separatorChar, '/').replace("/./", "/").replace(basePath, ""); if (PARENT != null) { PARENT.setChild(path, this); isChild = true; } else { fileName = path; try { load(); } catch (Throwable e) { File fileBak = new File(file.getAbsolutePath() + "_" + new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date()) + ".errored"); FMLLog.severe("An exception occurred while loading config file %s. This file will be renamed to %s " + "and a new config file will be generated.", file.getName(), fileBak.getName()); e.printStackTrace(); file.renameTo(fileBak); load(); } } } Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.