[Cfg] get a path with given value?

Discussion in 'Plugin Development' started by Soxra, Mar 22, 2013.

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

    Soxra

    Hi,
    i'm doing a shop plugin atm. I want to give different aliases to the different items. I've created a ids.yml file which looks like that:
    Id:
    1:
    Sell: 5.25
    Buy: 2.05
    Name: sandstone, sand, sandstein

    if someones types /shop buy sandstone how can i find out that 'sandstone' belongs to the id 1?

    Tyvm for help, regards soxra.
     
  2. Offline

    Barinade

  3. Offline

    Soxra

    There is nothing im looking for.
     
  4. Offline

    Soxra

    push..
     
  5. Offline

    WolfGangSen

    Does the fileconfiguration format support iteration? might be your only shot.
     
  6. Offline

    Soxra

    Yea i found everything out now. Thanks :)
     
Thread Status:
Not open for further replies.

Share This Page