Sections

Discussion in 'Plugin Development' started by MordorKing78, Nov 21, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    MordorKing78

    Let's say I want to acces a integer which is in a section of the YAML configuration.
    e.g.
    Show Spoiler

    Code:
    Pork:
      Delay: 100
      Item: PORK
      Location:
       -xyz-
    Korp:
      Delay: 250
      Item: FISH
      Location:
       -xyz-


    Now what I'd like to do is spawn an item at both location but delayed, first Pork should spawn at it's location and 150 ticks further Korp should spawn at it's location, how would I be doing this?

    I hope it's clear enough.
    Kind Regards.
     
  2. Offline

    Lordloss

    You should take a look into Bukkit Scheduler programming.
     
  3. Offline

    Zombie_Striker

  4. Offline

    MordorKing78

  5. Offline

    timtower Administrator Administrator Moderator

Thread Status:
Not open for further replies.

Share This Page