forked from Upstream/mmocore
framework for guild target restrictions
This commit is contained in:
parent
a26fcf28c6
commit
e5c3670e0d
19
src/main/java/net/Indyuce/mmocore/guild/RelationType.java
Normal file
19
src/main/java/net/Indyuce/mmocore/guild/RelationType.java
Normal 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;
|
||||||
|
}
|
@ -211,6 +211,14 @@ can-creative-cast: false
|
|||||||
# This replaces anvil inputs by chat inputs.
|
# This replaces anvil inputs by chat inputs.
|
||||||
use-chat-input: true
|
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.
|
# Prevents mobs spawned from spawners from giving XP points.
|
||||||
prevent-spawner-xp: true
|
prevent-spawner-xp: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user