]>
Commit | Line | Data |
---|---|---|
1 | newserv | |
2 | ======= | |
3 | ||
4 | ![C/C++ CI](https://github.com/quakenet/newserv/workflows/C/C++%20CI/badge.svg) | |
5 | ||
6 | Introduction | |
7 | ------------ | |
8 | ||
9 | newserv is a P10 protocol services daemon developed for the QuakeNet IRC network. | |
10 | ||
11 | It is modular, fast and easily customisable. | |
12 | ||
13 | The official website for newserv is https://development.quakenet.org/ | |
14 | ||
15 | Please refer to the LICENSE file for licensing details. | |
16 | ||
17 | Features | |
18 | -------- | |
19 | ||
20 | * Role-based access checks for oper commands | |
21 | * Search functionality | |
22 | * Scripting (Lua) | |
23 | * Proxy detection (P) | |
24 | * Connection limits ("trusts") | |
25 | * Transactional g:line support | |
26 | * Jupes | |
27 | * Chanfix | |
28 | * Chanserv (Q9) | |
29 | * Help Service (G) | |
30 | * Channel Service Request (R) | |
31 | * QA/Tutor Bots | |
32 | * Server list with latency checks | |
33 | ||
34 | Requirements | |
35 | ------------ | |
36 | ||
37 | * IRC Server running the P10 Protocol. Full support for all modules may require use of QuakeNet's [snircd IRC server](https://development.quakenet.org), which is based upon [Undernet's ircu](http://coder-com.undernet.org/). | |
38 | * Linux system (BSDs may work, but not actively tested) | |
39 | * flex | |
40 | * bison | |
41 | * GNU Make | |
42 | * Python 2.4 | |
43 | ||
44 | Support & development | |
45 | --------------------- | |
46 | ||
47 | Please read the documentation provided before you ask us for support. You may find some assistance in #dev on QuakeNet for specific questions. | |
48 | ||
49 | If you've found any bugs or you're working on any cool new features please give us a shout. | |
50 | ||
51 | Installation | |
52 | ------------ | |
53 | ||
54 | First run configure script: | |
55 | ||
56 | $ ./configure | |
57 | ||
58 | The configure script will list any missing dependencies. If you're unsure why a certain library or header file was not found you can run the configure script with the -v option or check the .configure.log file after your first configure run. | |
59 | ||
60 | Please refer to the "Local Settings" section in this file if you're using non-standard library/header search paths. Once you've resolved all dependency issues you can build newserv: | |
61 | ||
62 | $ make | |
63 | ||
64 | After all modules are built you can install newserv: | |
65 | ||
66 | $ make install | |
67 | ||
68 | By default the newserv binary and the modules are installed into your source tree. The recommended setup is to now create a separate directory and symlink the "newserv" binary and the "modules" directory into it: | |
69 | ||
70 | $ cd | |
71 | $ mkdir newserv-install && cd newserv-install | |
72 | $ ln -s ../newserv-src/newserv | |
73 | $ ln -s ../newserv-src/modules | |
74 | ||
75 | You will also need to copy the newserv.conf.example configuration file to your installation directory and rename it to newserv.conf. | |
76 | ||
77 | The MODULES file has a list of available modules and their configuration settings. | |
78 | ||
79 | After you have updated your newserv.conf file you can start newserv: | |
80 | ||
81 | $ ./newserv | |
82 | ||
83 | newserv does not detach from the console. Consider running it in a screen(1) session. | |
84 | ||
85 | User accounts | |
86 | ------------- | |
87 | ||
88 | You can create a user on your control instance using /msg N hello (where N is the nick of your control user). You need to be opered and authed in order to use this command. | |
89 | ||
90 | If your network does not have an authentication service that supports account IDs you can load the "auth" module. Note that this module lets opers set arbitrary account names and IDs and therefore should probably not be loaded on production networks. | |
91 | ||
92 | Once you have an account you should have a look at /msg N showcommands for a list of available commands. | |
93 | ||
94 | Local settings | |
95 | -------------- | |
96 | ||
97 | If you are using non-standard library/include paths you can create a file called configure.ini.local (using configure.ini.local.example as a template) to override some of the settings. |