ChanceSD / PvPManager

A Spigot/Paper plugin to toggle PvP, stop combat log, protect new players and much more
https://www.spigotmc.org/resources/pvpmanager.845/
Other
132 stars 47 forks source link

PvPManager blocks /toggle command #392

Closed ItzRonaldMLG closed 1 year ago

ItzRonaldMLG commented 1 year ago

Describe the bug When PvPManager is installed i cant use ''/toggle'', for example ChatControlRed: ''/toggle msg''. It wont toggle and there are no errors or other messages in the chat nor the console.

To Reproduce Steps to reproduce the behavior:

  1. Instal plugin with ''/toggle ''
  2. Use the ''/toggle '' command

Expected behavior The command worked, instate it doesnt work anymore

Plugin and Server version PvPManager Lite 3.12.12

ChanceSD commented 1 year ago

You have to configure commands allowed in combat https://github.com/ChanceSD/PvPManager/blob/544f3fd9764af5ba1d3027099466035cc2e2d012/pvpmanager/src/main/resources/config.yml#L109

ItzRonaldMLG commented 1 year ago

You dont need to be in combat to get this error/bug. The command ''/toggle'' and ''/toggle '' dont work with this plugin installed for some reason.

ChanceSD commented 1 year ago

No idea then, there's nothing blocking commands unless in combat or during newbie protection

ItzRonaldMLG commented 1 year ago

config - copy.txt Did i misconfigure by mistake?

ChanceSD commented 1 year ago

Try removing toggle from the command list and run /pmr reload

ItzRonaldMLG commented 1 year ago

toggle was not in the whitelist before you told me it might work in the first comment, so it didnt fix it sadly

ChanceSD commented 1 year ago

Might not be the issue but keep in mind it's a blacklist, since you have Whitelist: false so those commands will be blocked If removing the command doesn't work, then you probably need to ask ChatControlRed, maybe they hook into PvPManager or something like that. It's also not a command conflict since we only have togglepvp and pvptoggle as aliases for /pvp, no /toggle command