forked from zeshan321/ActionHealth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
139 lines (112 loc) · 4.51 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# The message the player is sent.
# {name} shows the name of the mob or player.
# {health} shows current health of the mob or player.
# {maxhealth} shows the max health of the mob or player.
# {usestyle} will use the defined chars.
# {displayname} will use player/mob custom name.
# {opponentlastdamage} the amount of damage the enemy last received.
# Has support for PlaceholderAPI and MVdWPlaceholderAPI.
Health Message: '&7&l{name}: {usestyle}'
# If set empty it will default to the one above.
# This message is sent to all non player entities.
# All the placeholders from above work here also.
Non Player Message: ''
# The message the player is sent to the player if they have actionhealth disabled.
# {name} shows the name of the player.
Toggle Message: ''
# Message sent to player when player enables actionhealth
# {name} shows the name of the player.
On Enable: '&7ActionHealth has been &cenabled&7.'
# Message sent to player when player disables actionhealth
# {name} shows the name of the player.
On Disable: '&7ActionHealth has been &cdisabled&7.'
# Strip Name.
Strip Name: true
# If enabled players with the permission 'ActionHealth.Health' will only see the action health message.
Use Permissions: false
# If set to false player will not see health messages from mobs.
Show Mob: true
# If set to false player will not see health messages from other players.
Show Player: true
# If set to false player will not see health messages from npcs.
Show NPC: true
# If set to true player will get the message in a delay to get 100% accurate health. Useful for plugins that add damage by reading item lore.
Delay Message: false
# Amount delayed by
Delay Tick: 1
# Style Health
Full Health Icon: "&4\u2764"
Half Health Icon: "&c\u2764"
Empty Health Icon: "&7\u2764"
# ActionHealth will be disabled for any world names added below. Case sensitive!
Disabled worlds:
- randomworld
Disabled regions:
- testing_region
# Disable ActionHealth in regions where PvP is denied.
Region PvP: true
# Limits the health style to a certain amount of symbols.
Limit Health: 10
# Saves players /actionhealth toggle state.
# Uses flat file. If interested in SQL support ask in discussion.
Remember Toggle: false
# Blacklist by entity name or entity display name.
# Also supports MythicMobs using the internal name.
Blacklist:
- 'CCPD Officer'
# Whitelist by entity name or entity display name.
# Also supports MythicMobs using the internal name.
Whitelist: []
# Show the health of the entity that the player is looking at.
Show On Look: true
Look Distance: 10
LookValues:
# How often (in ticks) to check if player is looking at an entity. Increase if lagging, maybe to 10 or 20.
CheckTicks: 0
# If the dot product is positive, the target is in front
Dot: 0
# Tolerance of the line calculation
Tolerance: 4
# Check if player can see entity before sending health.
Can See: true
# Hide action health if entity has invisible potion on.
Invisible Potion: true
# Hide if entity is in spectator mode.
Spectator Mode: true
# If to show MiniaturePets health or not
ShowMiniaturePets: true
# Translate names. Case sensitive!
# Check ActionHealth page if translations already exist for the language you plan on using.
#
# I'd appreciate if servers that use custom translations share them with me, so I can share them with others!
# For users that do, I will tag them on Spigot and display their server IP.
Name Change: false
Name:
- Snow Golem = New name
# Translate names using Client Language. Need to install LanguageUtils
# https://www.spigotmc.org/resources/1-7-x-1-12-language-utils.8859/
Use Client Language: false
# If enabled, when a player gets into combat they will be tagged for the configurable amount of time.
# When the enemy triggers an action the provided message will be sent.
# Supports all placeholders from above.
# Supported events: CONSUME, RIGHTCLICK, LEFTCLICK, SWAP, DAMAGE
Action:
Enabled: false
# In seconds
TagLength: 20
# Amount of entities a player can tag during combat. -1 for unlimited
TagAmount: 2
Events:
CONSUME:
GOLDEN_APPLE: '&7&l{name} consumed &cgolden apple&7&l!'
REGENERATION_POTION: '&7&l{name} consumed &cregen potion&7&l!'
RIGHTCLICK:
ENDER_PEARL: '&7&l{name} used &cender pearl&7&l!'
SWAP:
ENDER_PEARL: '&7&l{name} swapped to &cender pearls&7&l. {usestyle}&7&l'
POTION: '&7&l{name} swapped to &cpotion&7&l. {usestyle}&7&l'
DAMAGE:
ANY: '&7&l{name}: {usestyle}'
# Supports DamageCause if 'ANY' not being used
#LAVA: '&4On fire!'
#ENTITY_SWEEP_ATTACK: '&7You swept them!'