Request: Different sub amounts for different arenas / worlds + other suggestions #10


  • Accepted
  • Enhancment
Open
Assigned to dasbreen
  • _ForgeUser8758104 created this issue Apr 19, 2012

    If you have different arenas that are in different in either size or strategy it would be nice to limit the amount of wolves allowed in the arena and maybe even world so there would be no need to make different pet classes in mobArena.

    Ill assume wolves that that one has before arena will respawn once arena ends and that the cap will not destroy wolves when moving from arena to world or between world to world.

    Nifty plugin :D i used your early builds a while back.

    You could also make this a wolves plugin in general where wolves cant get hit my other players or PVP option in pvp arena or world pvp. Respawn wolves on death after X-seconds. Make wolves respawn at a pet house to allow retrieval on death or respawn on player and some others if your interested in coding further?

  • _ForgeUser8758104 added the tags New Enhancment Apr 19, 2012
  • dasbreen posted a comment Apr 19, 2012

    Hmm... I suppose it's a good idea to have different amounts per World.
    In each Arena however, I will not put any sort of cap. That cap should be up to you when you make your classes to decide how many pet wolves players get. If you give your class 10 wolves to play with, they're going to do great regardless of this plugin being used or not :D

    The way I just thought about doing this would be to alter how the config a little, and obviously some resulting logic & checks in the code.

    In essence, the current config section for worlds would go from:

    RW-on-Server:
      world: false
      old_world: false
      dragon: true
      dragon_nether: true
      dragon_the_end: false
    

    To something like this (where any number less than or equal to zero means false)

    RW-on-Server:
      world: -100
      old_world: 0
      dragon: 5
      dragon_nether: 2
      dragon_the_end: 0
    

    At this point, each new world added would default to 5, since that's what the current cap is. Because of this, however, the "max cap" part of the config would be unnecessary, and thus removed.

    Unfortunately, I don't think I will be making this do anything else than just making wolves attack ranged targets. It was my intention to keep this as minimal as possible, and I add what I feel would make it better without adding too much extra stuff.

  • _ForgeUser8758104 posted a comment Apr 19, 2012

    Is there a plugin out there that could do what i mentioned? I dont seem to be able to find any relevant hits atm.

    And good luck with the changes. If you do take up a new project to the likes of what i mentioned ill gladly support you :3


    Edited Apr 19, 2012
  • dasbreen removed a tag New Apr 19, 2012
  • dasbreen added a tag Accepted Apr 19, 2012
  • dasbreen posted a comment Apr 19, 2012

    I have no idea if there is or not. I know there are a couple of other Wolf plugins, but I haven't looked to see what they do. I may consider making a separate plugin in the future, but for right now I won't.

  • _ForgeUser8758104 posted a comment Apr 20, 2012

    @dasbreen: Go

    Thanks for consideration kind sir.


To post a comment, please login or register a new account.