Project

General

Profile

Server » History » Version 45

Per Amundsen, 02/05/2019 09:14 AM

1 1 Per Amundsen
_Added in 1.5_
2
3 35 Per Amundsen
*/server [-switches] [host/ip address/network label] [port] [password] [-additional switches..]*
4 1 Per Amundsen
5
Connects to a new server.
6
7
*Switches*
8 29 Per Amundsen
9 41 Per Amundsen
table(ktable).
10
|_<.Switch|_<.Description|
11
|-4 | Connect to ipv4 addresses.|
12
|-6 | Connect to ipv6 addresses.|
13
|-e | Indicates connection should be a "SSL/TLS":https://en.wikipedia.org/wiki/Transport_Layer_Security connection.|
14
|-m | Indicates connection should happen in a new server window.|
15
|-n | Indicates connection should happen in a new server window, but not connect.|
16
|-p | Prevents the perform/commands from being applied.|
17
|-f | Prevents the channellist from popping up.|
18
|-o | Prevents the autojoining of channels from being applied.|
19
|-c | Prevents the [[on CONNECT]] event from being triggered.|
20
|-z | Minimizes the new server window.|
21
|-t | Indicates connection should be a "STARTTLS":https://wiki.inspircd.org/STARTTLS_Documentation connection.|
22
|-s | TODO|
23
|-a | TODO|
24
|-r | TODO|
25 43 Per Amundsen
|-w | TODO|
26 44 Per Amundsen
|-u | TODO|
27 45 Per Amundsen
|-l method password | Use [[login method]] to identify nick|
28 34 Per Amundsen
29 39 Per Amundsen
*Parameters*
30 30 Per Amundsen
31 41 Per Amundsen
table(ktable).
32
|_<.Parameter|_<.Description|
33
|[host/network label] | Host to join, can be a ip address or host name, can also be a network label from the [[ServerList Dialog|Serverlist]] or the default [[ServerList Dialog|Serverlist]].|
34
|[port] | Port to use. (+port indicates connection should be a "SSL/TLS":https://en.wikipedia.org/wiki/Transport_Layer_Security connection, *port indicates a "STARTTLS":https://wiki.inspircd.org/STARTTLS_Documentation connection)|
35
|[password] | The server password to use, normally used for bnc login.|
36 29 Per Amundsen
37
*Additional switches*
38 21 Per Amundsen
39 41 Per Amundsen
table(ktable).
40 42 Per Amundsen
|_<.Switch|_<.Description|
41 41 Per Amundsen
|[-j/-jn/-join #channel pass] | Channels to join as a comma separated list. (if -jn or -j -n is used, the channels are minimized)|
42
|[-new/-m/] | Indicates connection should happen in a new server window.|
43
|[-forcessl N] | <notextile>Forces a specific SSL/TLS version, 0 = ssl2, 1 = ssl3, 2 = tls1.0, 3 = tls1.1, 4 = tls1.2 (tls1.1 and tls1.2 is only available in the .net 4+ version)</notextile>|
44
|[-n] | Indicates connection should happen in a new server window, but not connect.|
45
|[-z] | Minimizes the new server window.|
46
|[-p/-pass password] | Another way to set the server password to use, normally used for bnc login.|
47
|[-e/-ssl] | Indicates connection should be a "SSL/TLS":https://en.wikipedia.org/wiki/Transport_Layer_Security connection.|
48
|[-t] | Indicates connection should be a "STARTTLS":https://wiki.inspircd.org/STARTTLS_Documentation connection.|
49
|[-u/-user username] | The server login username to use, normally used for bnc login.|
50
|[-nick nick] | The nick to use.|
51
|[-an/-anick alternate nick] | Alternative nick to use.|
52
|[-r/-real fullname] | Fullname to use.|
53
|[-port port] | Another way to set what port to use.|
54
|[-i nick anick email name] | Another way to set nick, alternative nick, server username and fullname.|
55
|[-d encoding] | Encoding to use on this server.|
56
|[-cert file] | Custom SSL client certificate to use for this server.|
57
|[-4] | Connect to ipv4 addresses.|
58
|[-6] | Connect to ipv6 addresses.|
59
|[-g] | Prioritize ipv6 addresses.|
60
|<notextile>[-x 4|5|h|n hostname port username password]</notextile> | Connect using custom Sockv4/Sockv5/http or no proxy.|
61 1 Per Amundsen
62
*Example*
63
64 18 Per Amundsen
<pre>
65 1 Per Amundsen
; Connect irc.nordicirc.com port 6667 in a new server window with nick MyNick, alt nick MyNick_ and join channels #chan1,#chan2,#chan3.
66 18 Per Amundsen
/server -m irc.nordicirc.com 6667 -nick MyNick -an MyNick_ -j #chan1,#chan2,#chan3
67 40 Per Amundsen
68 18 Per Amundsen
; Connect a network label from the Serverlist named 'NordicIRC'
69
/server -m NordicIRC
70 40 Per Amundsen
71 18 Per Amundsen
; Connect a network label from the default Serverlist named 'Freenode'
72 1 Per Amundsen
/server -m Freenode
73
</pre>