No-PvP in a world

Discussion in 'Archived: Plugin Requests' started by cucci0, May 30, 2014.

  1. Offline

    cucci0

    hey , I want a plugin that disables pvp in a whole world! And you can't select the whole world with worldedit and i'm using MultiWorld so i have no idea how i can make it with out this plugin!
    If it already is a plugin like this please comment the link to it!
     
  2. Offline

    timtower Administrator Administrator Moderator

    cucci0 WorldGuard:
    /region flag __global__ pvp deny
     
    dave0smeg likes this.
  3. Offline

    Konkz

    Use Multiverse and simply disable it using it's flags.
     
  4. Offline

    RRServer

    I can try this once I get home.
    I've worked with a pvp denying plugin before, I would just have to implement world support and an ability to add the worlds.
     
  5. Offline

    Alster551

    Konkz I'm not sure if there is a command,but it can definately be done in the worlds.yml
     
  6. Offline

    Konkz

    90% of stuff in config is editable by command. Why would he not add a flag for a simple boolean.

    *Can't edit post, wut?*

    Simple. Make config
    Code:
    worlds:
    - world1
    Then listen to EntityDamageByEntityEvent, check everything you need and just check if world player is in can be found in "worlds." + bukkitPlayer.getWorld().getName();

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 1, 2016

Share This Page