Solved config.yml is not create please help me

Discussion in 'Plugin Development' started by CrossBowerMan, Aug 2, 2015.

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

    CrossBowerMan

    config.yml
    file
    I can not save
    Please help code here :
    Code:
        public void onEnabled(){
            this.saveDefaultConfig();
        }
     
  2. Offline

    CrossBowerMan

    Yes
     
  3. @CrossBowerMan In the correct place? Please screenshot your project.
     
  4. Offline

    CrossBowerMan

  5. Offline

    MCMatters

  6. Offline

    farget92

    @MCMatters good sight.
    @CrossBowerMan
    I, Change void onEnabled() to onEnable() and give before it Override > @Override
    II, Check if command sender is instanceof Player, like when you try to type this command from Console, it will reponse with error.
     
  7. Offline

    CrossBowerMan

    Yes thanks for help true :D thank you so much
     
  8. @CrossBowerMan
    Is it solved? If so, mark the thread as solved please
     
  9. Offline

    CrossBowerMan

    Yes it is solved :D
     
  10. Offline

    raymart23

    @CrossBowerMan would you mind edit the title and mark this thread as solved ?
     
Thread Status:
Not open for further replies.

Share This Page