-
Notifications
You must be signed in to change notification settings - Fork 0
/
add.js
61 lines (59 loc) · 1.85 KB
/
add.js
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
var NodeRect;
var Node;
var Aws;
var Express;
var Geoip;
var Hypertextmin;
var Mime;
var Multer;
var Mustache;
var Phantom;
var Postgres;
var Recaptcha;
var Socket;
var Xml;
var Server;
var Human;
var Mesh;
var Drone;
var ChatColor;
module.exports.onLoad = function(nodeRect, server, human, mesh, drone, chatColor){
NodeRect = nodeRect;
Node = NodeRect.Node;
Aws = NodeRect.Aws;
Express = NodeRect.Express;
Geoip = NodeRect.Geoip;
Hypertextmin = NodeRect.Hypertextmin;
Mime = NodeRect.Mime;
Multer = NodeRect.Multer;
Mustache = NodeRect.Mustache;
Phantom = NodeRect.Phantom;
Postgres = NodeRect.Postgres;
Recaptcha = NodeRect.Recaptcha;
Socket = NodeRect.Socket;
Xml = NodeRect.Xml;
Server = server;
Human = human;
Mesh = mesh;
Drone = drone;
ChatColor = chatColor;
/*SPLIT*/
if (typeof onPlayerLogin === 'undefined') var onPlayerLogin = undefined ;
module.exports.onPlayerLogin = onPlayerLogin;
if (typeof onPlayerChat === 'undefined') var onPlayerChat = undefined ;
module.exports.onPlayerChat = onPlayerChat ;
if (typeof onPlayerQuit === 'undefined') var onPlayerQuit = undefined ;
module.exports.onPlayerQuit = onPlayerQuit ;
if (typeof onPlayerHit === 'undefined') var onPlayerHit = undefined ;
module.exports.onPlayerHit = onPlayerHit ;
if (typeof onPlayerDeath === 'undefined') var onPlayerDeath = undefined ;
module.exports.onPlayerDeath = onPlayerDeath ;
if (typeof onBlockPlace === 'undefined') var onBlockPlace = undefined ;
module.exports.onBlockPlace = onBlockPlace ;
if (typeof onBlockBreak === 'undefined') var onBlockBreak = undefined ;
module.exports.onBlockBreak = onBlockBreak ;
if (typeof onServerTick === 'undefined') var onServerTick = undefined ;
module.exports.onServerTick = onServerTick ;
if (typeof onConsoleCommand === 'undefined') var onConsoleCommand = undefined ;
module.exports.onConsoleCommand = onConsoleCommand ;
}