Do not load 2nd container in Rewards.cfg #210


  • New
  • Other
Open
Assigned to turbocharger
  • _ForgeUser13178004 created this issue Jun 13, 2014

    What steps will reproduce the problem?

    1. Adding a 2nd container to the Rewards.cfg
    2. Restarting the Server

    My Rewards.cfg:

    # -- Rewards --

    lighterUses = '4'   # The number of uses a lighter has left.

    containers {
        33:6 {
            enabled = 'true'
            name = 'Tier-1'   # The title that appears for the inventory.
            minChestRewards = '3'   # The min amount of rewards that can be in a chest.
            maxChestRewards = '8'   # The max amount of rewards that can be in a chest.
            # Item/Id = rarity x amount (or min, max)
            rewards {
                30 = '40 x 1'
                46 = '40 x 1'
                352 = '40 x 1'
                384 = '10 x 1'
                260 = '50 x 1'
                297 = '50 x 1'
                319 = '50 x 1'
                349 = '50 x 1'
                349:1 = '50 x 1'
                349:2 = '50 x 1'
                350:1 = '40 x 1'
                357 = '50 x 1'
                360 = '50 x 1'
                363 = '50 x 1'
                365 = '50 x 1'
                391 = '50 x 1'
                393 = '40 x 1'
                270 = '80 x 1'
                275 = '70 x 1'
                346 = '70 x 1'
                261 = '40 x 1'
                262 = '40 x 4'
                268 = '70 x 1'
                272 = '50 x 1'
                298 = '70 x 1'
                299 = '70 x 1'
                300 = '70 x 1'
                301 = '70 x 1'
                302 = '40 x 1'
                303 = '40 x 1'
                304 = '40 x 1'
                305 = '40 x 1'
                314 = '50 x 1'
                315 = '50 x 1'
                316 = '50 x 1'
                317 = '50 x 1'
                266 = '30 x 1'
                280 = '30 x 1'
                281 = '40 x 1'
                287 = '60 x 1'
                296 = '60 x 3'
                334 = '60 x 1'
                288 = '60 x 1'
                318 = '20 x 1'
            }
        }
        33:7 {
            enabled = 'true'
            name = 'Tier-2'   # The title that appears for the inventory.
            minChestRewards = '2'   # The min amount of rewards that can be in a chest.
            maxChestRewards = '5'   # The max amount of rewards that can be in a chest.
            # Item/Id = rarity x amount (or min, max)
            rewards {
                282 = '40 x 1'
                320 = '40 x 1'
                350 = '40 x 1'
                354 = '40 x 1'
                266 = '40 x 1'
                400 = '40 x 1'
                306 = '40 x 1'
                307 = '40 x 1'
                308 = '40 x 1'
                309 = '40 x 1'
                264 = '20 x 1'
                265 = '30 x 1'
                259 = '30 x 1'
            }
        }
    }

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

    [08:50:20 INFO]: [SurvivalGames]     survivalgames4 - loading container rewards...
    >
    [08:50:20 INFO]: [SurvivalGames]         PISTON_BASE:6 - 44 reward(s) loaded. (Rewards.cfg)
    >
    [08:50:20 INFO]: [SurvivalGames]         1 container(s) loaded. (Rewards.cfg)
    What version of the product are you using?

    Do you have an error log of what happened?

    => There is no Error shown

    Please provide any additional information below.

    => When I change the Block/ID of the 2nd container (e.g. in: ,,chest") it loads the 2nd container.

  • _ForgeUser13178004 added the tags New Other Jun 13, 2014

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