phBot Plugins
Search…
Monsters
This function returns a dictionary of all nearby monsters.

Usage

get_monsters()

Returns

None or a dictionary of monsters.
  • The object can be empty.
  • The key in the object is the monster's ID.
1
{
2
47329: {
3
'type': 1,
4
'name': 'Mangyang',
5
'x': 6453.99951171875,
6
'y': 878.016845703125,
7
'model': 1933,
8
'servername': 'MOB_CH_MANGNYANG'
9
},
10
37259: {
11
'type': 0,
12
'name': 'Mangyang',
13
'x': 6447.037109375,
14
'y': 871.9559326171875,
15
'model': 1933,
16
'servername': 'MOB_CH_MANGNYANG'
17
},
18
33313: {
19
'type': 0,
20
'name': 'Mangyang',
21
'x': 6405.9423828125,
22
'y': 832.6143188476562,
23
'model': 1933,
24
'servername': 'MOB_CH_MANGNYANG'
25
},
26
53064: {
27
'type': 0,
28
'name': 'Mangyang',
29
'x': 6439.80615234375,
30
'y': 835.471435546875,
31
'model': 1933,
32
'servername': 'MOB_CH_MANGNYANG'
33
},
34
28009: {
35
'type': 0,
36
'name': 'Mangyang',
37
'x': 6437.3935546875,
38
'y': 843.1826782226562,
39
'model': 1933,
40
'servername': 'MOB_CH_MANGNYANG'
41
},
42
56330: {
43
'type': 0,
44
'name': 'Mangyang',
45
'x': 6466.873046875,
46
'y': 841.393798828125,
47
'model': 1933,
48
'servername': 'MOB_CH_MANGNYANG'
49
},
50
51911: {
51
'type': 0,
52
'name': 'Mangyang',
53
'x': 6442.67919921875,
54
'y': 839.02294921875,
55
'model': 1933,
56
'servername': 'MOB_CH_MANGNYANG'
57
},
58
54702: {
59
'type': 0,
60
'name': 'Mangyang',
61
'x': 6428.2998046875,
62
'y': 871.5999755859375,
63
'model': 1933,
64
'servername': 'MOB_CH_MANGNYANG'
65
},
66
55282: {
67
'type': 0,
68
'name': 'Mangyang',
69
'x': 6409.26123046875,
70
'y': 838.6205444335938,
71
'model': 1933,
72
'servername': 'MOB_CH_MANGNYANG'
73
},
74
53940: {
75
'type': 0,
76
'name': 'Mangyang',
77
'x': 6442.22900390625,
78
'y': 840.2205810546875,
79
'model': 1933,
80
'servername': 'MOB_CH_MANGNYANG'
81
},
82
1110: {
83
'type': 0,
84
'name': 'Mangyang',
85
'x': 6423.46630859375,
86
'y': 847.1712036132812,
87
'model': 1933,
88
'servername': 'MOB_CH_MANGNYANG'
89
},
90
35081: {
91
'type': 1,
92
'name': 'Mangyang',
93
'x': 6482.84033203125,
94
'y': 835.4631958007812,
95
'model': 1933,
96
'servername': 'MOB_CH_MANGNYANG'
97
},
98
56425: {
99
'type': 1,
100
'name': 'Mangyang',
101
'x': 6489.96728515625,
102
'y': 859.6376342773438,
103
'model': 1933,
104
'servername': 'MOB_CH_MANGNYANG'
105
},
106
47325: {
107
'type': 0,
108
'name': 'Mangyang',
109
'x': 6484.740234375,
110
'y': 850.72314453125,
111
'model': 1933,
112
'servername': 'MOB_CH_MANGNYANG'
113
},
114
48927: {
115
'type': 0,
116
'name': 'Mangyang',
117
'x': 6454.64013671875,
118
'y': 839.1822509765625,
119
'model': 1933,
120
'servername': 'MOB_CH_MANGNYANG'
121
}
122
}
Copied!
Last modified 3yr ago
Copy link
Contents
Usage
Returns