Inactive [FUN/PVP] Minecraft Hunger Games - the first Hunger games plugin! [1.2.5 R-4.0]

Discussion in 'Inactive/Unsupported Plugins' started by acuddlyheadcrab, Mar 16, 2012.

  1. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I think i'll put a test version on the BukkitDev page. It has a lot of known bugs, but I'm sure people would like to see how it's going to work
  2. Offline

    penguinbait

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    acuddlyheadcrab will you make me a plugin after your done with this? And an idea I have for this is to add areas you can set up as districs and people get jobs based on what distric they live in.
  3. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah I could do that once the main plugin frame is working. It could hook into world edit and.. yeah that would work :)
    penguinbait likes this.
  4. Offline

    penguinbait

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks, I'll message you the link to the thread
  5. Offline

    Merrick King

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Would it not be easier to hook this into a multi-world plugin, so the arenas can be in a separate world. That way they could even be made from super-flat worlds, or people could swap their arenas really easily. Also:
    How about adding a voting system for the next arena to be used?
    Sponsors that can buy gifts that appear in front of the tributs?
    Gambling!
    Prize money for the victor!

    I like the idea of using factions for districts.
  6. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hrm.. Yes it would have been easier for me to code, but i think it would be the same amount of work for the Administrator of the server. The way it's setup now gives a bit more options to it. Not much, but, meh... a little.

    About the voting system...? I could do that in a separate plugin possibly.

    Oy...The sponsor thing sounds like a good idea but i don't know how i'm gonna do that lol. Hopefully I can add something like that in the future :)
  7. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey guys, I'm still working on this! You can see some updates on the BukkitDev project, and my updates on my profile page :)

    Hopefully tomorrow I will be able to crunch a lot of coding in when i'm not busy!
  8. Offline

    Merrick King

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    For sponsors, just get it to run a /give. Maybe the command could be:
    /hg sponsor prices -- Shows current prices of items
    /hg sponsor <player> <item>
  9. Offline

    TheTrixsta

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ill help you program the plugin if you need me to, we could split the parts of the plugin and and get it done faster and implements and release features faster!
  10. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Dear lord. This plugin is killing my brain right now. Do you think you join a dev team (well, start, technically) with me? Take a look at the source to see if you can.

    (I know a couple month ago I knew a lot less about java, and would not want to do a plugin like this)
  11. Offline

    TheTrixsta

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I sure can what should i add
  12. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well right now, I'm doing kind of a huge overhaul on the plugin. If i get it done tonight (for me), yay, and more testing and features can be added. If I don't the I'll commit what I have to github.

    This post has been edited 1 time. It was last edited by acuddlyheadcrab Apr 8, 2012.
  13. Offline

    TheTrixsta

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    im adding the reaping now
  14. Offline

    PandazNWafflez

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not sure if you still need to do this, but do something like this:

    Not sure is PlayerAttack is the right one, just saying, also, it needs to be HIGHEST so it does it after Factions.

    Code:
    @EventHandler (priority = EventPriority.HIGHEST)
    public void onPlayerAttack(PlayerAttackEvent e) {
      if (e.isCancelled()) {
        e.setCancelled(false);
      }  
    } 
    
  15. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks! Yeah I've made a lot of edits since the first version of the plugin. The main frame for handling Arenas with commands is finally done, so now it's basically just adding listeners to the plugin.

    And I tried the EventPriority at first, and my events didn't go off for some reason...
  16. Offline

    PandazNWafflez

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    Well, they should

    http://wiki.bukkit.org/Introduction_to_the_New_Event_System

    This post has been edited 1 time. It was last edited by PandazNWafflez Apr 12, 2012.
  17. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  18. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey guys the plugin is in beta now! I've added a lot of features that make it basically playable now. You can now make arenas correctly, add some tributes, start a game, watch the countdown and start murdering each other! Yaaaay.

    As always the bukkit dev project is here: http://dev.bukkit.org/server-mods/mchungergames/
  19. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Butkicker12
    @NuclearW (sorry you're the only one i've really 'talked' to)

    Could this be moved to Plugin Submissions, please?

    This post has been edited 2 times. It was last edited by acuddlyheadcrab Apr 22, 2012.
  20. Offline

    Butkicker12 Community Staff Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Done :)
    acuddlyheadcrab likes this.
  21. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks :D
  22. Offline

    Sgt_Tailor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Nothing personal, but WHY are you using a try in a try in a try in a try in your code???
    *Tryception*
  23. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Lol. I use them to handle IndexOutOfBoundsExceptions caus by the length of args[] in onCommand(). I used them instead of args[] length checks because, at the time try-catch blocks seeemed more effficient.

    But recently I looked at how many there were and notice that maybe I didn't really need to do that lol.
  24. Offline

    manniL

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Please put the last compatible bukkit build in your threadtitle (I think 1.2.5-R1.0).
  25. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ah, I though there was something missing.
  26. Offline

    Sgt_Tailor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am working on my own Hunger Games Plugin, I can help you out with some parts of you code if you want. I have done a signup, start, stop, chest-save/reset and winner announcement function so far. It also teleports you to different locations. Let me know if I can help you
  27. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    I do need some help on figuring out how I'm going to save snapshots of Arenas.

    The other thing I need help with is getting evenly spaced Locations around the cornucopia. Right now the plugin selects a random location in the same chunk as the cornucopia for each tribute. But I've been trying to find a way to get a varying amount of spawnpoints in a circle that are evenly spaced apart.

    EDIT: Just kidding, I figured it out :) I can explain how, if anyone's curious.

    This post has been edited 1 time. It was last edited by acuddlyheadcrab Apr 26, 2012.
  28. Offline

    Sgt_Tailor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Are you going to add a chestrest function?
  29. Offline

    acuddlyheadcrab

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Chest-rest? Ooh chest-reset - yes I'm going to add that, but right now there are some bugs with chest spawning.
  30. Offline

    Sgt_Tailor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok. I can help you out with chestreset and chest spawning if you you want me to.

    good luck with the rest of your plugin.

    BTW: I am going to release my own Hunger Game plugin soon. It will be different than your plugin. Mine will not generate worlds ect. It will make it possible for servers to make their own map with ease and make it playable.

Share This Page