Langue

PvPToggle

PvPToggle

SpigotMCModrinth

Extremely Simple PvP Toggle Plugin

29.7k téléchargements 4.8 note
dernière v1.7 SpigotMC
1.8 – 1.15
PvPToggle
Extremely simplistic plugin to toggle the ability to PvP
In order to PvP both players have to have their PvP enabled!​

NOTICE: Versions 1.6 and above are only compatible with servers running on 1.13+. For older server versions 1.5.8 should be used.

Features:
  • Plug and Play. Just drop the .jar into your plugins folder, add perms, and start the server!
  • When PvP is off all tradition forms of PvP are blocked (Hit, Bow, Splash Potion, Lingering Potion)
  • Ability to set others PvP state (for staff/console)
  • View other players PvP state
  • Customizable plugin messages
  • Lightweight
  • PlaceholderAPI - %pvptoggle_pvp_state%
  • Colored nametags - you must have NametagEdit!

Commands:
  • /pvp {toggle|on|off|status} - used to change pvp state
  • /pvp <player> - used to see the pvp state of another player
  • /pvp <player> {toggle|on|off} - used to set the pvp state of another player
  • /pvp reload - used to reload the plugin
Permissions:
  • pvptoggle.allow - grants access to /pvp {toggle|on|off|status} command
  • pvptoggle.others - grants access to /pvp <player> command
  • pvptoggle.others.set - grants access to /pvp <player> {toggle|on|off} command
  • pvptoggle.bypass - allows player to bypass the /pvp off cooldown
  • pvptoggle.reload - allows player to reload config
Config:
Code (Text):

SETTINGS:
##Do you want the plugin to remember a player's last PVP state when the login
  PERSISTENT_PVP_STATE: false
##How much time a player must wait to use /pvp off/toggle (if pvp is on) in seconds after running the command or being in pvp
  COOLDOWN: 0
##True makes pvp off by default. False makes pvp on by default.
  DEFAULT_PVP_OFF: true
##Show PVP on particle effects
  PARTICLES: true
##SHOW PVP on red nametag
  NAMETAG: false
## Worlds to disable PvP toggling in (i.e. will always use the world's settings)
  BLOCKED_WORLDS: []
##<pvpstate> goes in place of a player's current pvp state
##<parameter> goes in place of a player's name or other parameter
MESSAGES:
  HELP_HEADER: '&a&lCommands:'
  HELP_GENERAL_USEAGE: '&aUse /pvp {toggle|on|off|status} to change/view pvp state.'
  HELP_VIEW_OTHERS: '&aUse /pvp <player> to see another players pvp state.'
  HELP_SET_OTHERS: '&aUse /pvp {toggle|on|off} <player> to set another players pvp state.'
  NO_PLAYER: '&cCould not find a player by the name <parameter>'
  COMMAND_INVALID_PARAMETER: '&c<parameter> is an invalid parameter. {toggle|on|off|status}'
  COMMAND_NO_PERMISSION: '&cYou do not have permission to set others pvp  state.'
  PVP_STATE_ENABLED: '&aYour pvp has been enabled!'
  PVP_STATE_DISABLED: '&aYour pvp has been disabled!'
  PVP_STATE_CHANGED_OTHERS: '&a<parameter> had their pvp state changed to <pvpstate>'
  PVP_STATUS: '&aYour pvp is set to <pvpstate>'
  PVP_STATUS_OTHERS: '&a<parameter> has their pvp <pvpstate>'
  PVP_DISABLED: '&cYou have pvp disabled!'
  PVP_DISABLED_OTHERS: '&c<parameter> has pvp disabled!'
  PVP_COOLDOWN: '&cToo fast! You can turn off pvp in <parameter> seconds.'
  PVP_WORLD_CHANGE_DISABLED: '&aYour pvp has been disabled because the world you entered does not allow pvp.'
  PVP_WORLD_CHANGE_REQUIRED: '&aYour pvp has been enabled because the world you enter requires pvp.'
  PVP_WORLD_CANNOT_CHANGE_SELF: '&cYou cannot change pvp state in this world.'
  PVP_WORLD_CANNOT_CHANGE_OTHERS: '&cYou cannot change pvp state in that world.'
 

This plugin was originally developed for and is installed on play.phanaticmc.com! (Skyblock, Skygrid, and Survival servers) I recommend you check it out there before installing on your server. If you have any suggestions feel free to leave a comment or send me a private message. If you like the plugin please leave a rating!

Do you also want to disable the respawn screen? Use this plugin!

Versions

Release
1.7
·
12.5k
Release
1.6.6
·
1.2k
Release
1.6.5
·
1.6k
Release
1.6.4
·
136
Release
1.6.3
·
208
Release
1.6.2
·
323
Release
1.6.1
·
287
Release
1.6
·
118
Release
1.5.4
·
606
Release
1.5.3
·
404
Release
1.5.2
·
336
Release
1.5.1
·
73

Commentaires 0

Aucun commentaire pour l'instant. Sois le premier à donner ton avis.

Télécharger PvPToggle

Modrinth

Les fichiers proviennent directement de la source d'origine. Modgrid ne les héberge ni ne les modifie.