PvP Biome

Discussion in 'Archived: Plugin Requests' started by Snowybearr, Feb 1, 2013.

  1. Offline

    Snowybearr

    Is it possible to make a plugin allow PvP in only certain biomes? I have a custom map, which uses all vanilla biomes, just puts them where I want them, I have made a 'dark' area using swamp biome, and I want that place to have PvP but no where else.

    Thanks in advanced for any information and help. :)

    Oh, thought I should add that the reason I need this, over say using WorldGuard and making a region is, my biome is huge, and very oddly shaped, so it would take a ton of regions and time to create. Not to mention that in the future when I add more land, it would be nice and easy just to add the swamp biome in where ever, and it would instantly be PvP without having to edit or create any regions.

    Never mind, guess I will use WG. :/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  2. Offline

    bossomeness

    Just saying, I can't code. This is very possible. The plugin AncientRPG uses a system where certain guilds are more powerful in certain biome, so if that element were used, I don't know how, but it could be done.
     
  3. Offline

    Snowybearr

    Well I know it's easy, I think I even know the events and checks it would use, I just don't know enough about Bukkit and such to actually make it. It would honestly be less then like 40 lines of code probably. Just needs to check current biome, read config to see if that biome is enabled for PvP, if so, send the damage to the players, if not send message to player saying no PvP in this area, simple stuff. :p
     
  4. Offline

    Chrono7

    I can definitely make this pretty easily, I'll get it done today sometime, most likely.

    Also, do you bow firing disabled in non-pvp biomes, or do you want me to just disable players shooting other players in non-pvp biomes?

    Let me know.
     
  5. Offline

    Snowybearr

    Chrono7 Oh! I'm really glad you mentioned that, I was thinking about that earlier and couldn't come up with a solution for that, because basically a player can stand outside of the biome and shoot players inside of it. Bows are a pretty big part of the server, it's an RPG-like server, so I can't completely disable them, would it be possible to make it so if they are in a non-pvp area that their arrows do no damage to players, even if said players are in a pvp area?

    Thank you very much by the way! :)
     

Share This Page