Project

General

Profile

Server » History » Version 50

Per Amundsen, 01/23/2022 01:28 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 48 Per Amundsen
_/server with no parameters will (re)connect the current active server._
8
9 1 Per Amundsen
*Switches*
10 29 Per Amundsen
11 41 Per Amundsen
table(ktable).
12
|_<.Switch|_<.Description|
13
|-4 | Connect to ipv4 addresses.|
14
|-6 | Connect to ipv6 addresses.|
15
|-e | Indicates connection should be a "SSL/TLS":https://en.wikipedia.org/wiki/Transport_Layer_Security connection.|
16 50 Per Amundsen
|-d | *TODO*|
17 41 Per Amundsen
|-m | Indicates connection should happen in a new server window.|
18
|-n | Indicates connection should happen in a new server window, but not connect.|
19
|-p | Prevents the perform/commands from being applied.|
20
|-f | Prevents the channellist from popping up.|
21
|-o | Prevents the autojoining of channels from being applied.|
22
|-c | Prevents the [[on CONNECT]] event from being triggered.|
23
|-z | Minimizes the new server window.|
24
|-t | Indicates connection should be a "STARTTLS":https://wiki.inspircd.org/STARTTLS_Documentation connection.|
25 47 Per Amundsen
|-s | *TODO*|
26
|-a | *TODO*|
27
|-r | *TODO*|
28
|-w | *TODO*|
29
|-u | *TODO*|
30 45 Per Amundsen
|-l method password | Use [[login method]] to identify nick|
31 34 Per Amundsen
32 39 Per Amundsen
*Parameters*
33 30 Per Amundsen
34 41 Per Amundsen
table(ktable).
35
|_<.Parameter|_<.Description|
36
|[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]].|
37
|[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)|
38
|[password] | The server password to use, normally used for bnc login.|
39 29 Per Amundsen
40
*Additional switches*
41 21 Per Amundsen
42 41 Per Amundsen
table(ktable).
43 42 Per Amundsen
|_<.Switch|_<.Description|
44 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)|
45
|[-new/-m/] | Indicates connection should happen in a new server window.|
46
|[-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>|
47
|[-n] | Indicates connection should happen in a new server window, but not connect.|
48
|[-z] | Minimizes the new server window.|
49
|[-p/-pass password] | Another way to set the server password to use, normally used for bnc login.|
50
|[-e/-ssl] | Indicates connection should be a "SSL/TLS":https://en.wikipedia.org/wiki/Transport_Layer_Security connection.|
51
|[-t] | Indicates connection should be a "STARTTLS":https://wiki.inspircd.org/STARTTLS_Documentation connection.|
52
|[-u/-user username] | The server login username to use, normally used for bnc login.|
53
|[-nick nick] | The nick to use.|
54
|[-an/-anick alternate nick] | Alternative nick to use.|
55
|[-r/-real fullname] | Fullname to use.|
56
|[-port port] | Another way to set what port to use.|
57
|[-i nick anick email name] | Another way to set nick, alternative nick, server username and fullname.|
58
|[-d encoding] | Encoding to use on this server.|
59
|[-cert file] | Custom SSL client certificate to use for this server.|
60 46 Per Amundsen
|[-key file] | Custom SSL client certificate to use for this server.|
61 41 Per Amundsen
|[-4] | Connect to ipv4 addresses.|
62
|[-6] | Connect to ipv6 addresses.|
63
|[-g] | Prioritize ipv6 addresses.|
64
|<notextile>[-x 4|5|h|n hostname port username password]</notextile> | Connect using custom Sockv4/Sockv5/http or no proxy.|
65 1 Per Amundsen
66
*Example*
67
68 18 Per Amundsen
<pre>
69 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.
70 18 Per Amundsen
/server -m irc.nordicirc.com 6667 -nick MyNick -an MyNick_ -j #chan1,#chan2,#chan3
71 40 Per Amundsen
72 18 Per Amundsen
; Connect a network label from the Serverlist named 'NordicIRC'
73
/server -m NordicIRC
74 40 Per Amundsen
75 49 Per Amundsen
; Connect a network label from the default Serverlist named 'Libera.Chat'
76
/server -m Libera.Chat
77 1 Per Amundsen
</pre>