Loading...
Beta Modpages Unclaimed

pvpToggle

Let players opt-in or opt-out of PVP on your server

0 Likes
93912 Downloads
Created by K4Unl

Description

Ever had players who wanted to kill eachother for the fun of it, but also have players who'd rather not have pvp enabled?

With this mod you can have players decide for themselves! Let players opt-out of PVP by typing /pvp off. Or, if they rather have their heads smashed in, have them type /pvp on

Config:

  • keepInventoryOnPVPDeath (default=false) Whether or not the players keep their inventory when they die because of a player
  • keepExperienceOnPVPDeath (default=false) Whether or not the players keep their experience when they die because of a player
  • showMessageOnLogin (default=true) Whether or not to show the player a message that pvpToggle is enabled on your server, and what his/her state of pvp is (disabled or enabled)
  • coolDownInSeconds (default=30) How long a player has to wait before toggling his state of PvP. Thus counteracting the hit-and-run phenomenon. (set to 0 to disable)
  • announceDimensionSetting (default=true) Whether or not to display a message when a player enters a dimension with forced PvP settings.

The mod is mostly server only, however, since version 1.0.x the mod can also be installed client side. This'll display two swords on your gui when PvP is enabled and a shield when PvP is disabled.

 

Commands:

pvp on/off

    Toggles PVP

 

pvpui [location x y]/[own enable/disable]/[other enable/disable]

    location - Sets the location of the icon.

    own - Whether or not to display the icon.

    other - Whether or not to display the icon over a players head.

    open - Opens a new GUI component to manage areas and dimensions

 

pvptoggle [version]/[save]/[load]/[area]/[dimension]

    version - Displays the version of pvptoggle

    save - Saves the users, dimension settings and areas to the world dir

    load - Loads the users, dimension settings and areas from the world dir

    area new/delete/option

        new <name> <x1> <y1> <z1> <x2> <y2> <z2> - Creates a new area with "name" in the given coordinates.

        delete <name> - Deletes area "name"

        option get/set announce/forced - Gets or sets the options. Announce is if the mod will notify a user if they enter or leave the area. forced on/off, whether or not PvP is on or off.

    dimension [get] <dimensionID> -1/0/1 - Gets or sets the settings in the dimension. -1 means not forced. 0 means forced off, 1 means forced on.

 

Issues:

You can report issues to the github issue tracker. Or you can join me in #K4Unl on irc.esper.net

 

Required mods:

For PvPToggle (and all my other mods) K4Lib is required!

 

Modpacks:
You're allowed to use this mod in any pack you want, as long as it's not behind a paywall.

 

Permissions/Bukkit:

If you want to use this mod with, for example cauldron servers and want to run a permission plugin, these are the permissions needed:

For the /pvp command:

k4unl.minecraft.pvptoggle.commands.commandpvp

For the /pvptoggle command:

k4unl.minecraft.pvptoggle.commands.commandpvptoggle

 

 


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Clumps

Clumps XP orbs together to reduce lag

Morpheus

Sleep vote system

FTB Utilities (Forge)

FTB Utilities is a mod by FTB. It aims to provide several useful utilities within the FTB Platform ranging from friends list, server configuration utilities, world borders, guide system and many other features...

spark

spark is a performance profiler for Minecraft clients, servers and proxies.

Lootr (Forge & NeoForge)

A mod that makes it so nobody misses out on Loot! All loot chests are instanced per player and visually unique.