Gives ability to toggle player's PvP status
- Originally made by White.
- Updated to TShock
4.5.11
by QuiCM. - Updated to TShock
5.2
by yours truly.
- Put the .dll into the
\ServerPlugins\
folder. - Restart the server.
- Give the desired permissions to your disired groups.
ForcePvPOnBloodMoon
- Determines whether the plugin should force pvp for everyone when a bloodmoon is active.
pvp
- toggles pvp for the sender the same way UI would.tpvp {player name}
- toggles pvp normally for the targeted player, requires thepvp.switch
perm.team {team color}
- switches the sender's team to the parametered color.tteam {player name} {team color}
- switches the targeted player's team to the parametered color. requires thepvp.team
perm.forcepvp/fpvp {player name/*/*off}
- toggles forcedPvp for the targeted player,*
and*off
can be used as parameter to respectively activate/deactivate forcedPvp for everyone, requires thepvp.force
perm.bloodmoonpvp/bmpvp
- toggles wheather forcedPvp should be automatically activated for everyone on bloodmoons, requires thepvp.moon
perm.
- Download the source code.
- Open the
.sln
file. - Check to make sure the references are all correct and up to date.
- Build.
- The credits for the PvPToggle plugin goes to White and all those who contributed on the project so far.
- If you find any bugs create an issue or report it to my discord.