BanManager clashing with Reporter
Opened this issue ยท 12 comments
I use the plugin, BanManager, and I think it's great, it's exactly what I need but I have a small problem. I have another plugin with the functionality of reporting players. Now the command to report a player using that plugin is the same as this plugin and your plugin overrides it. I have tried removing the /report command from the source in your plugin but have been unsuccessful. I have also tried overriding the commands in the commands.yml file but this hasn't worked either. Would be very grateful for any solution. Thanks in advance
You should be able to override it via commands.yml
in your server root
aliases:
report:
- reporter:report $$1-
Unfortunately spigotmc appears to be down right now so I can't see what the command base would be, so I've assumed it's reporter:commandName
Try
aliases:
report:
- rreport $$1-
Ensure you are restarting the server when making changes to commands.yml
and not using /reload
That worked like a charm. Thank you very much for your assistance I very much appreciate it. <3
Is it possible to do the same for the plugin ReporterGUI?
https://www.spigotmc.org/resources/reportergui.8596/
It seems that uses /report, and I cannot find any reporter:report or anything like that.
/reportergui
command just display the "help" section of the plugin.
EDIT: It seems that there is an option to create alias from ReporterGUI itself, I guess I'll try to create an alias for the alias.
Hello, little bit lost here but where is the commands.yml ?
I don't find it, he's in the BanManagers or the Report plugin ?