summaryrefslogtreecommitdiff
path: root/Data/BuiltIn/Libraries/lua-addons/addons/InfoBar/ReadMe.md
blob: c43f8b06a1cefd18223eeee7f2d2ecd5fdfea475 (plain)
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
# InfoBar #

Displays a configurable bar showing information on your targets.

List of variables:
${name}, ${id}, ${index}, ${x}, ${y}, ${z}, ${facing}, ${facing_dir}, ${game_moon}, ${game_moon_pct}, ${zone_name}, ${notes}
${alchemy}, ${bonecraft}, ${clothcraft}, ${cooking}, ${fishing}, ${goldsmithing}, ${leathercraft}, ${smithing},
${woodworking} (this will show if the guild shops are closed or open)
player only variables: ${main_job}, ${main_job_level}, ${sub_job}, ${sub_job_level}
mob only variables: ${family}, ${job}, ${levelrange}, ${weakness}, ${resistances},
${immunities}, ${drops}, ${stolen}, ${spawns}, ${spawntime}, ${isagressive},
${islinking}, ${isnm}, ${isfishing}, ${detect}

Adding variables:
To add variables open the settings.xml in the data folder with an editor and add the variables as you wish
to the NoTarget (when you have no target or target yourself), TargetPC (you target another player),
TargetNPC (you target a npc) , TargetMob (you target a mob) tags.
You can also add normal strings to them, for example Name: ${name}

----

### Commands: ###

#### help ####

```
//ib|infobar help
```

Shows a list of commands.

#### notes add ####

```
//ib|infobar notes add <string>
```

Defines a note to the current target.

#### notes delete ####

```
//ib|infobar notes delete
```

Delete a note to the current target that was defined previously.