framework for guild target restrictions

This commit is contained in:
Indyuce 2022-07-15 10:47:22 +02:00
parent a26fcf28c6
commit e5c3670e0d
2 changed files with 27 additions and 0 deletions

View File

@ -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;
}

View File

@ -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