Making a dedicated minigame?

Discussion in 'Plugin Development' started by pingochi99, May 20, 2014.

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

    pingochi99

    • What I need help with: Alright. Hey everyone. So today I have a somwthing I would like someone to help me with. Basicly I've been coding Bukkit plugins for around 2/3 months now, and I was thinking about making a decdicated minigame. The thing is, in terms of coding like what happens and everything like that I know what to do, but when it comes to like making the game stages and stuff, I have no idea what to do. I have tried looking up minigame plugins and stuff like that to get source code from but I didn't really find anything, so I though I would make this post.
    • What I mean as a didecated plugin (example): A quick example I can think off is a OneInTheChamber plugin, that has lobby time, then it goes starting (like you're not in lobby but the game hasn't started yet), then it has game time and then it has endgame and it restarts. Also every game stage is in a different class.
    That's really all, so if anyone can help me with that it would be awesome :) Also, if you do not want to explain but you know how to do it, source code works fine as well. Thanks for reading this everyone.
     
  2. Offline

    mrkirby153

    pingochi99

    That may be better suited over in the "Plugin Requests" forum. If you are planning on coding it yourself, here's my words of advice: "Schedulers, Event handlers, and OOP" :D
     
  3. Offline

    Garris0n

    Ten things to keep in mind when writing a minigame:
    1. OOP
    2. OOP
    3. OOP
    4. OOP
    5. OOP
    6. Seriously, do not use the static keyword. *
    7. OOP
    8. OOP
    9. Have a very clear plan of how the plugin will work before touching the code.
    10. Seriously, OOP
    * If you need some sort of little variable that's accessible everywhere, fine, but if your arena implementation is a collection of static maps holding data, re-read the list.
     
    AdamQpzm likes this.
  4. Offline

    Epixpenguin

    Time to be a giant noob, but what is OOP?
     
  5. Offline

    TGRHavoc

  6. Offline

    pingochi99

    Thanks to everyone who replied, but can anyone show me like the structure of what it would look like?
     
  7. Offline

    CarPet

  8. Offline

    xTigerRebornx

    Garris0n likes this.
Thread Status:
Not open for further replies.

Share This Page