SimpleClans

SimpleClans

467k Downloads

Feature Request: Add an api for other plugins to trigger ff status in clans

Zombiemold opened this issue ยท 1 comments

commented

Feature Request: Add an api for other plugins to trigger ff status in clans

It would be great if PvP plugins like PvP arena, or similar, could tell Simple Clans to allow or dis-allow PvP between clan mates. It would give mod makers the opportunity to make compatible PvP arenas for clan mates :)

commented

You can set ff for clan or clanplayer using the current api, check it:

clan.setFriendlyFire(false);
plugin.getStorageManager().updateClan(clan);

clanPlayer.setFriendlyFire(false);
plugin.getStorageManager().updateClanPlayer(clan);