Simple plugin to manage your pvp mode(
peace,
default,
insane).
Peace mode: You can't attack and no one will damage you.
Default mode: Default. You can attack and will take damage.
Insane mode: More damage to self and other player.
You can set the price and timer when change to insane mode
In-game menu supports!
(From v1.7) Optional dependent plugins:
1. Vault
2. PlaceholderAPI
PlaceholderAPI: %pvpmode_mode% Show your mode
aliase: pvp
/PVPMode Open the menu.
/PVPMode help View help.
/PVPMode info <player> Check your or player's mode.
/PVPMode <0/1/2/peace/default/insane> switch mode.
/PVPMode <0/1/2/peace/default/insane> <player> switch player's mode.
/PVPMode create <world> <mode> Create a world to lock the mode.
/PVPMode remove <world> Remove the world.
/PVPMode mode <world> <mode> Set the world's mode.
/PVPMode reload Reload the config.
0 = peace, 1 = default, 2 = insane
pvpmode.admin Admin commands
pvpmode.insane To use /pvp 2 or /pvp insane
Put PVPMode.jar into your server's plugins folder.
If you want to use Vault and PlaceholderAPI functions. Also put them inside.
(Optional)
There is a Event provided: PVPModeChangeEvent (haven't test yet. You can try it.)
Code (YAML):
# Version Version: 1.2
Language: en
insane:
enable: true
# only work at self executing the command /pvp 2. cost: 500
# only work at self executing the command /pvp 2. timer:
enable: true
# second time: 90
damage:
multiplier: 1.5
worlds-settings:
default:
permission: pvpmode.bypasslock