{"id":20340734,"url":"https://github.com/lukeonuke/pvp-toggle","last_synced_at":"2025-04-11T23:24:38.661Z","repository":{"id":201194277,"uuid":"707181530","full_name":"LukeOnuke/pvp-toggle","owner":"LukeOnuke","description":"Let your players choose on if they want pvp or not.","archived":false,"fork":false,"pushed_at":"2025-03-01T01:43:11.000Z","size":79,"stargazers_count":2,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T19:16:24.089Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LukeOnuke.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-19T11:36:47.000Z","updated_at":"2025-03-01T01:43:15.000Z","dependencies_parsed_at":"2024-12-02T22:22:45.251Z","dependency_job_id":"567cb30f-d47c-40ed-a054-f677bff002a8","html_url":"https://github.com/LukeOnuke/pvp-toggle","commit_stats":null,"previous_names":["lukeonuke/pvp-toggle"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeOnuke%2Fpvp-toggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeOnuke%2Fpvp-toggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeOnuke%2Fpvp-toggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeOnuke%2Fpvp-toggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LukeOnuke","download_url":"https://codeload.github.com/LukeOnuke/pvp-toggle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248493769,"owners_count":21113317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T21:23:18.506Z","updated_at":"2025-04-11T23:24:38.653Z","avatar_url":"https://github.com/LukeOnuke.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PVP Toggle\n[![Available on Modrith](https://img.shields.io/badge/available-on_modrinth-green)](https://modrinth.com/plugin/pvp-toggle)\n![Modrinth Downloads](https://img.shields.io/modrinth/dt/XIb24zNt)\n[![Discord](https://img.shields.io/discord/790676398602715208)](https://discord.gg/HAS9rmcWZF)\n\nLet your players choose when they want to fight! When a player is protected, **they can't get damaged by other players** and also **can't damage other players themselves.**\n\nExtensive configuration!\n\n# Commands\n \n| Command       | Use                               | Permission             | Aliases           |\n|---------------|-----------------------------------|------------------------|-------------------|\n| `/pvp`        | Toggle pvp                        | `pvptoggle.pvp`        | N/A               |\n| `/pvp \u003cuser\u003e` | Toggle pvp for user               | `pvptoggle.pvp.others` | N/A               |\n| `/pvp reload` | Reload the plugin                 | `pvptoggle.reload`     | N/A               |\n| `/pvpstatus`  | Get if you are protected from pvp | `pvptoggle.pvpstatus`  | `/pstatus`, `/ps` |\n\n# PlaceholderAPI Integration\nThis plugin supports **PlaceholderAPI**, and comes with the following placeholders.\n- `%pvp-toggle_vulnerable%` Is the player vulnerable, expressed in *configurable* human-readable language.\n- `%pvp-toggle_boolvulnerable%` Is the player vulnerable, expressed in `true` of `false`.\n\n# Default config\n```yml\n# What should messages be prefixed with?\n# You can use the formatting codes listed at https://minecraft.wiki/w/Formatting_codes#Color_codes\nprefix: \"§4PvP »\"\n\n# Should pvp be on by default?\ndefault-pvp: false\n\n# What is the message sent to players in the chat if they try to use the pvp command while on cooldown?\n# %s is replaced by the time remaining, in the format of \"1 minute and 32 seconds\" or \"32 seconds\"\ncooldown-message: \"%s of cooldown remaining.\"\n\n# After enabling pvp, how many seconds must a player wait before disabling it?\ncooldown: 120\n\n# Should players be prevented from disabling pvp during a fight?\nanti-abuse: true\n\n# Should players be able to hit themselves?\nhit-self: true\n\n# Should particles be spawned when a player is hit, but protected?\nparticles: true\n\n# Should a message be sent to a player when they hit another player, but fail because that player is protected?\nfeedback: true\n\n# Should a player's pvp status be reset when they die?\ndeath-status-reset: true\n\n# Should pvp be turned on after a player dies? Doesn't apply if death-status-reset is false.\ndeath-status: false\n\n# How many seconds should a player's cooldown be set to when they die? -1 to disable.\ndeath-cooldown: -1\n\n# After how many seconds should a player's pvp be automatically re-enabled? -1 to disable.\nlimited-time: -1\n\n# Should a player be sent a chat message when their pvp is automatically re-enabled?\nlimited-message: \"You are now %s\"\n\n# Should a player be sent a chat message when they die?\ndeath-message: \"You are now %s\"\n\n# Should players be able to attack pets of protected players?\nprotect-pets: true\n\n# Should players ever be able to hit their own pets? (More \"friendlies\" coming soon)\nfriendly-fire: false\n\n# What should the message be when a player tries to attack someone but fails because they're protected?\n# %s is replaced with the name of the attacked.\npvp-off-message: \"You can't fight %s!\"\n# %r is replaced with the name of the pet, for example \"Wolf\" or \"King George II.\"\npet-pvp-message: \"You can't fight %s's %r!\"\n\n# What should the message be when you try to attack your own team, but fail because friendly-fire is false?\nff-message: \"Friendly fire!\"\n\n# What should the message be when toggle pvp?\n# %s is replaced with the new state, \"Vulnerable\" or \"Protected\" by default.\ntoggle-message: \"You are now %s\"\n\n# What should the message be when the console tries to do something that only players can do?\nconsole-message: \"§cYou can't use this command from the console.\"\n\n# What should the message be when someone tries to do something, but can't because they don't have permission to?\npermission-message: \"You don't have permission to use this command.\"\n\n# What should the message be after reloading this plugin?\nreload-message: \"Reloaded!\"\n\n# What should the message be when the targeted player can't be found?\n# %s is replaced with the name of the targeted player.\nnot-found-message: \"%s isn't online.\"\n\n# What should the message be after toggling another player's pvp?\n# %s is replaced with the name of the targeted player.\n# %r is replaced with the new state, \"Vulnerable\" or \"Protected\" by default.\nremote-toggle-message: \"%s is now %r\"\n\n# What should the words for the two states of pvp be?\ndisabled: \"§aProtected\"\nenabled: \"§cVulnerable\"\n```\n\n\u003e pvp-toggle IS NOT AFFILIATED WITH Microsoft Corporation, Minecraft IS A REGISTERED TRADEMARK OF Microsoft Corporation\n\u003e \n\u003e pvp-toggle IS NOT AFFILIATED WITH Rinth Inc, \"Modrith\" IS A REGISTERED TRADEMARK OF Rinth Inc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukeonuke%2Fpvp-toggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukeonuke%2Fpvp-toggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukeonuke%2Fpvp-toggle/lists"}