Disable pvp for 1 player

Discussion in 'Plugin Requests' started by steel51, Jul 12, 2015.

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

    steel51

    name: DisablePvP

    What I want: If its possible can you make a plugin that disables pvp for 1 player not the whole server so it would be like /PvPdisable (Username) and it would disable pvp in all worlds ONLY for them no one else

    Ideas for commands: /PvPdisable (Username) /PvPenable (Username)

    Ideas for permissions: player.disablepvp to give permission to who can disable's whose pvp
     
  2. Offline

    bazsi700

    How you mean disabling pvp? The player can't deal and suffer damage? BTW if you can wait I can make the plugin on July 17, currently I'm busy.
     
  3. Offline

    steel51

    @bazsi700 I mean it like they cant do damage to to other players and I can wait
     
    Last edited: Jul 13, 2015
  4. Offline

    bazsi700

    But they can suffer?
     
  5. Offline

    steel51

  6. Done :D

    Commands:
    /DisablePvP <player> - Disable PvP for a player.
    /EnablePvP <player> - Enable PvP for a player.

    Aliases:
    /PvPEnable & /PvPDisable

    Permission: DisablePvP.<player name> or DisablePvP.*

    Features: It works for normal attacking a player, projectiles like arrows etc and bad potions. And it saves the player's uuid which have disabled pvp in the config file.

    Download: https://www.dropbox.com/s/pdhjn4159qmgy6y/DisablePvP.jar?dl=0

    EDIT: Sorry @timtower ._.
     
    Last edited: Jul 13, 2015
  7. Online

    timtower Administrator Administrator Moderator

    @FisheyLP 1. You forgot the download link.
    2. Could you use the edit button instead of double posting? Thank you in advance.
     
  8. Offline

    steel51

Thread Status:
Not open for further replies.

Share This Page