diff --git a/src/main/java/net/Indyuce/mmocore/guild/RelationType.java b/src/main/java/net/Indyuce/mmocore/guild/RelationType.java new file mode 100644 index 00000000..1277296c --- /dev/null +++ b/src/main/java/net/Indyuce/mmocore/guild/RelationType.java @@ -0,0 +1,19 @@ +package net.Indyuce.mmocore.guild; + +public enum RelationType { + + /** + * In the same guild + */ + ALLY, + + /** + * One of the two players has no guild + */ + NEUTRAL, + + /** + * + */ + ENEMY; +} diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index d7eb3cdb..1985a826 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -211,6 +211,14 @@ can-creative-cast: false # This replaces anvil inputs by chat inputs. use-chat-input: true +ability-targeting-options: + + # Prevent heals/buffs on players in a different guild + cant-heal-enemies: true + + # Prevent heals/buffs UNLESS the player is in your party/guild + cant-heal-neutrals: false + # Prevents mobs spawned from spawners from giving XP points. prevent-spawner-xp: true