registered permission and updated readme.md

This commit is contained in:
YouHaveTrouble
2020-08-19 17:43:16 +02:00
parent 0a7468ca10
commit 8303c8815e
2 changed files with 15 additions and 4 deletions
+11 -3
View File
@@ -1,4 +1,4 @@
<h2>TogglePvP</h2>
<h2>TogglePvP</h2>
Plugin is under heavy development and things will change often.
@@ -11,13 +11,19 @@ Permission: <code>togglepvp.command</code> (given by default) :
</ul>
Permission: <code>togglepvp.command.toggle</code> (given by default) :
<ul>
<li>/pvp toggle - displays help message</li>
<li>/pvp toggle - toggles PvP</li>
<li>/pvp on - enables PvP (aliases: enable)</li>
<li>/pvp off - disables PvP (aliases: disable)</li>
</ul>
Permission: <code>togglepvp.command.toggle.others</code> (given by default) :
<ul>
<li>/pvp toggle [player] - toggles other player's PvP</li>
<li>/pvp on [player] - enables other player's PvP (aliases: enable)</li>
<li>/pvp off [player] - disables other player's PvP (aliases: disable)</li>
</ul>
<h3>Features</h3>
Player who disables PvP cannot get hurt by any player induced damage.
They also can't deal any damage to other players.
@@ -31,4 +37,6 @@ There is also a feature that disallows pouring lava or using
flint and steel nearby players with disabled pvp. You can
either disable it in config or set its radius.
Tamed wolves will not attack players with pvp off.
+4 -1
View File
@@ -13,7 +13,10 @@ permissions:
description: Allows usage of /pvp command
togglepvp.command.toggle:
default: true
description: Allows usage of /pvp toggle/enable/disable command
description: Allows usage of /pvp <toggle/enable/disable> command
togglepvp.command.toggle.others:
default: op
description: Allows usage of /pvp <toggle/enable/disable> <player> command
togglepvp.command.reload:
default: op
description: Allows usage of /pvp reload command