How do you use get and set methods for a file other than plugin.yml

Discussion in 'Plugin Development' started by chocolatier1991, Jan 7, 2012.

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

    chocolatier1991

    how do you use get and se methods for files other than config.yml?eg a file called players.yml
     
  2. Please, I think I speak on behalf of everyone when I say you really do need to learn Java before you tried to make plugins. When I first started i tried to do what you were doing and 'learn java as I go'. That did not work out, I struggled to understand what everything did and couldn't fix what I now see as simple errors.

    I recommend you read this and find other resources before trying to make a plugin : http://wiki.bukkit.org/Portal:Developers
    http://wiki.bukkit.org/Plugin_Tutorial

    Best of luck!
     
  3. Offline

    knightidus

    Well said, i also tried to do 'learn java as i go'. This also didnt work out.

    I would also suggest watching some of the NewBoston's Java programming, or some of BetterPHP's content which has some plugin dev stuff

    Good luck!
     
  4. Offline

    chocolatier1991

  5. The "learn java as I go" always worked for me at everything :p but that thing differs from person to person, there are people with experience that can't learn anything new without books and some people that have zero experience and learn really quick =)
    Only you know your learning techniques, if you belive that by making plugins you'll learn best, then do it... but if you're confortable with written or video tutorials, then go with that.
     
  6. Offline

    Sagacious_Zed Bukkit Docs

    @Digi
    If you already know how to program, you can learn Java as you go, if you don't know how to program, then learning as you go will be significantly harder. Because learning Java's syntax will not give you everything you need to program a plugin well. I do say well....
     
  7. Offline

    chocolatier1991

    i find programming easy to do. for me it just feels like english and i can tell what a method does withoud being taught. the only problem is i dont know all the variable types or anything when i approach a new language. learning as i go has always worked for me. i usually just read then test the code then tinker with it until i fully understand what the code means. but for this i got tired of trying out tonnes of new stuff that didnt work. i just need to lean how to find out how to use the get and set methods
     
Thread Status:
Not open for further replies.

Share This Page