Extremely easy config request

Discussion in 'Plugin Development' started by ThePluginMaker, Aug 4, 2014.

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

    ThePluginMaker

    How would i make this configurable, i'm only using 1 main class file heres the code
    Code:java
    1. public double maxY = 1.0D;

    i want the 1.0D to be configurable any idea?
     
  2. Offline

    Konkz

    www.google.com

    Google the appropriate criteria and you got it?

    PHP:
    public double maxY getConfig().getDouble("path.to.my.double");
    EDIT: Your signature is also incorrect, may want to review it. :3
     
    TheMcScavenger likes this.
Thread Status:
Not open for further replies.

Share This Page