My configs files are not generated #11


  • New
  • Defect
Open
Assigned to coldandtired
  • _ForgeUser16634891 created this issue Mar 25, 2016

    What steps will reproduce the problem?
    1. put the .jar on my server
    2. restart the server
    3. look in spawns folder

    What is the expected output? What do you see instead?

    I expect that all the file supposed to be in the spawns folder will be in, but not.

    What version of the product are you using?

    try it with 1.9 b2 and 1.8.7

    Do you have an error log of what happened?

    No

    Please provide any additional information below.

    I try to find some example on the author website but i find nothing. I really need some help :)

  • _ForgeUser16634891 added the tags New Defect Mar 25, 2016
  • coldandtired posted a comment Mar 27, 2016

    Only one file should be created - config.xml. The other files are not config but scripts so you'll need to make them by hand.

    Here's an example. Put this in an xml file named after your world, for example "my-world.xml":

    <world>
        <allow-mc-spawning>true</allow-mc-spawning>
        <timers>
            <wolf-timer>
                <interval>100</interval>
                <hubs>
                    <hub>
                        <hub-attempts>5..8</hub-attempts>
                        <hub-range>10..20</hub-range>
                        <packs>
                            <wolf-pack>
                                <pack-attempts>10</pack-attempts>
                                <pack-range>5</pack-range>
                                <pack-y-range>3</pack-y-range>
                                <mobs>
                                    <wolfy/>
                                    <wolfy.angry/>
                                </mobs>
                            </wolf-pack>
                        </packs>
                    </hub>
                </hubs>
            </wolf-timer>
        </timers>
    </world>
    

    and put this in a file called mobs.xml:

    <mobs>
        <wolfy>
            <select-if>
                <ground-is-solid>yes</ground-is-solid>
            </select-if>
            <mob-type>wolf</mob-type>
            <hp>30..50</hp>
        </wolfy>
        <wolfy.angry>
            <select-if>
                <percent>75</percent>
            </select-if>
            <angry>yes</angry>
        </wolfy.angry>
    </mobs>
    

    Note that this will constantly pump wolves into the world so make sure to read up on conditions to block some of them.


    Edited Mar 27, 2016

To post a comment, please login or register a new account.