added whois command
[ZNCAdmin.git] / INSTALL
1               ZNCAdmin Installation Instructions
2
3 Introduction:
4 ----------
5 If you encounter any problems compiling/running ZNCAdmin, please make 
6 sure you have followed the directions in this file correctly and that 
7 all of the requirements listed below are met.
8
9 If the problem persists, report it to one (or all) of the coders
10 listed in the AUTHORS file. Please try to include ALL relevant
11 information about the error/bug, including anything out of the
12 ordinary reported from make and the appropriate entries from the log
13 files.
14
15 Script files:
16 ----------
17 The ZNCAdmin Project only consists of a few PHP Classes and a management script.
18 ZNCAdmin is not an own IRC Bot and can't be connected to an IRC Server by itself.
19
20 ZNCAdmin is made to be used as external scripts from NeonServV5.
21
22   1) Install and run NeonServV5
23
24   2) Copy the files into the scripts folder of NeonServ
25
26   3) Bind the functions provided by the script:
27        +bind znc_add NeonServ.extscript php scripts/zncadmin.php add $1 $2 %1+
28        +bind znc_del NeonServ.extscript php scripts/zncadmin.php del $1 $2 %1+
29        +bind znc_resetpass NeonServ.extscript php scripts/zncadmin.php resetpass $1 $2 %1+
30        +bind znc_whois NeonServ.extscript php scripts/zncadmin.php search $1 $2- %1+
31        +bind znc_seen NeonServ.extscript php scripts/zncadmin.php seen $1 $2 %1+
32        +bind znc_simul NeonServ.extscript php scripts/zncadmin.php simul $1 $2 $3- %1+
33        +bind znc_block NeonServ.extscript php scripts/zncadmin.php block $1 $2 %1+
34        +bind znc_unblock NeonServ.extscript php scripts/zncadmin.php unblock $1 $2 %1+
35        +bind znc_stats NeonServ.extscript php scripts/zncadmin.php stats $1 %1+
36
37      You may also bind the "admin commands" (override the protected option)
38        +bind znc_admin_add NeonServ.extscript php scripts/zncadmin.php force add $1 $2 %1+
39        +bind znc_admin_del NeonServ.extscript php scripts/zncadmin.php force del $1 $2 %1+
40        +bind znc_admin_resetpass NeonServ.extscript php scripts/zncadmin.php force resetpass $1 $2 %1+
41        +bind znc_admin_simul NeonServ.extscript php scripts/zncadmin.php force simul $1 $2 $3- %1+
42        +bind znc_admin_block NeonServ.extscript php scripts/zncadmin.php force block $1 $2 %1+
43        +bind znc_admin_unblock NeonServ.extscript php scripts/zncadmin.php force unblock $1 $2 %1+
44
45   4) DO NOT FORGET TO SET THE PERMISSIONS!
46      External Scripts do not have own permission requirements. You need to set them manually using +modcmd
47      see '+modcmd znc_add' for all available options - and set them for ALL commands
48
49 End of file, INSTALL.
50
51 -pk910 (zncadmin@pk910.de)