Creating custom gamemodes?

Discussion in 'Plugin Development' started by rangersmash, Dec 10, 2013.

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

    rangersmash

    Hi,

    I'm not that bad at Java, and so I would love to be able to create my own gamemode (minigame). However, I have no idea on how to create a gamemode. If someone have any tips or tutorials, that would be great :)

    Thanks
    - rangersmash
     
  2. Offline

    sgavster

    rangersmash Well, I would say a few things:
    • Don't use just 1 class.
    • Make sure you know java and bukkit
    • And lots of other things xD
     
  3. Offline

    rangersmash

    Okay. With multiple classes, the main one must contain listeners correct? What other things? Can someone also explain HashMaps and are they important?
    Thanks
     
  4. Offline

    Wingzzz

    You'll need to know how runnables work, collections etc... So as long as you know basic java the only problem should come down to certain things such as: knowledge of bukkit api/craftbukkit and ability to apply it effectively, as well as your creative ability in coming up with how the game will work then ensuring the code is effective yet efficient for what you need to get done.

    In terms of tips, I have a large amount but then again it really comes down to what point in development you're at, your current abilities, and as well as what you need help with specifically to get to the next stage in your plugin.

    I can't simply just say this is how you make a mini-game plugin as there are many different ways of approaching it- especially depending on what you need to get done. So, if you start work on it I'll be sure to help you out with advice and tips as much as possible as you go.
     
  5. Offline

    rangersmash

    Thanks! :D So how would I start? Generate some simple code, with commands and things like that?
     
  6. Offline

    KanTe

    Better start with Java.
    You have to know the basic knowledge of Java otherwise you can't make a plugin

    €: You'll really need HashMaps, Array(Lists) etc. (and they are the basic knowledge of Java).
     
  7. Offline

    Rprrr

    KanTe
    And.. you need to know how to make and use your own objects. You'd be surprised how many people don't know how to make objects.. even though it's an object-oriented programming language... and they just make everything way simpler. After all, it makes sense to make optimal use of objects in an object-oriented programming language.
     
    Wingzzz likes this.
Thread Status:
Not open for further replies.

Share This Page