make compatible with mcmmo party chat!
netherstar opened this issue ยท 15 comments
When player in /fc a or /fc f, player can't switch to mcmmo party chat (/pc)
they must switch to public (/fc p) berforce type /pc
Can you make when player in /fc a or /fc f, they can switch directly to mcmmo party chat when type /pc?
sorry my english bad.
you can play around with the prioity feature (https://github.com/James137137/FactionChat/blob/master/src/main/resources/config.yml#L48) and you might find the sweet spot.
maybe onPlayerChat: 3 might work. I would need to check the plugin tho to confirm
It's mcmmo, very popular plugin
https://github.com/mcMMO-Dev/mcMMO
yeah. just double checking we are talking about the same plugin :D
just reading this part of the code atm... https://github.com/mcMMO-Dev/mcMMO/blob/master/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java#L632
i'll reply back in the next 5min
going based on its event priority = EventPriority.HIGH, ignoreCancelled = true....
lets try something out before I try and hook into the plugin. (I'm expecting this to somewhat fail)
In FactionChat Config search for "onPlayerChat" and replace the 1 to a 5 and see if everything works correctly. I don't expect it will but by it might by luck XD
just incase: http://jenkins.lolnet.co.nz/job/FactionChat/97/ (added support but it needs a good test)
with factionschat-1.9.19, still won't work. i need update factions chat to latest version?
http://jenkins.lolnet.co.nz/job/FactionChat/99/artifact/target/FactionChat.jar
let me know how works.