Error with config

Discussion in 'Plugin Development' started by Kryst3Q, Nov 10, 2020.

  1. Offline

    Kryst3Q

    [​IMG]
    Idk, why i get this error,
    main 11 line is - getConfig().options().copyDefaults(true);
     
  2. Offline

    timtower Moderator Moderator

  3. Offline

    Kryst3Q

    kjoin:
    IP: ' &7» &btwojeip.pl'
    Tryb: ' &7» &bMegaDrop'
    WWW: ' &7» &bwww.twojeip.pl'
    TS3: ' &7» &bts.twojeip.pl'
    DC: ' &7» &bdc.twojeip.pl'

    kgamemode:
    permission: 'kgamemode.permission'
    null: ' &7» &cNie wybrales zadnego trybu!'
    tryb0: ' &7» &2Wybrales tryb &lSURVIVAL'
    tryb1: ' &7» &2Wybrales tryb &lCREATIVE'
    tryb2: ' &7» &2Wybrales tryb &lADVENTURE'
    tryb3: ' &7» &2Wybrales tryb &lSPECTATOR'
     
  4. Offline

    timtower Moderator Moderator

    @Kryst3Q It is not like there are weird things in there.
    Can you try with just text and no & or arrows?
     
  5. Offline

    Mathias Eklund

    null: ' &7» &cNie wybrales zadnego trybu!'

    I would assume this part of the config is the problem. You'd probably have to surround null with single quotes.
    'null': ' &7» &cNie wybrales zadnego trybu!'
     
  6. Offline

    Kryst3Q

    Last edited: Nov 10, 2020

Share This Page