Replace all How set Sorry for bad english

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

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

    CrossBowerMan

    Hello
    I 'm not american so my english is bad :(
    Code:
            this.getConfig().getString("Coming_Player").replaceAll("<prefix>", this.getConfig().getString("prefix"));
    Where should I put this code
     
  2. Offline

    raymart23

    @CrossBowerMan you may now simply put at your config

    PHP:
    Prefix'prefix'
    Coming_Player'<prefix> hello'
     
  3. Offline

    CrossBowerMan

    no i dont mean this i want put this in Plugin.java
     
  4. @CrossBowerMan We don't know where you should put it. It's your project, we only have that line.
     
  5. Offline

    raymart23

  6. Offline

    CrossBowerMan

  7. Offline

    PDKnight

    The code you showed us you can place almost everywhere, it depends on what do you want to do :)
    Anyway, use Ctrl+Shift+F (cmd+Shift+F on mac) to make your code look better ;)
     
Thread Status:
Not open for further replies.

Share This Page