How do I manually edit my ZNC configuration file znc.conf

In most cases you should NOT edit znc.conf directly. Use webadmin instead.

If you really need to edit znc.conf by hand, do the following:

    1. pkill -SIGUSR1 znc
      to save current runtime configuration to znc.conf
    2. pkill znc
      to shutdown running ZNC instance
    3. Edit znc.conf
    4. znc
      to start it again with new configuration

The znc.conf is located in: /home/USER/.znc/configs/ and it looks like this:

// WARNING
//
// Do NOT edit this file while ZNC is running!
// Use webadmin or *controlpanel instead.
//
// Altering this file by hand will forfeit all support.
//
// But if you feel risky, you might want to read help on /znc saveconfig and /znc rehash.
// Also check http://en.znc.in/wiki/Configuration

AnonIPLimit = 10
ConnectDelay = 5
HideVersion = false
LoadModule = partyline
LoadModule = webadmin
MaxBufferSize = 500
ProtectWebSessions = true
SSLCertFile = /home/znc/.znc/znc.pem
ServerThrottle = 30
Version = 1.6.3

<Listener listener0>
	AllowIRC = true
	AllowWeb = true
	IPv4 = true
	IPv6 = true
	Port = 6697
	SSL = true
	URIPrefix = /
</Listener>

<User sisrv>
	Admin = true
	AppendTimestamp = false
	AutoClearChanBuffer = false
	AutoClearQueryBuffer = true
	Buffer = 999
	ChanModes = +stn
	DenyLoadMod = false
	DenySetBindHost = false
	Ident = foo
	JoinTries = 10
	LoadModule = controlpanel
	LoadModule = chansaver
	LoadModule = perform
	MaxJoins = 0
	MaxNetworks = 1
	MaxQueryBuffers = 50
	MultiClients = true
	Nick = foo
	PrependTimestamp = true
	QuitMsg = %znc%
	RealName = Boaty McBoatFace <info@sisrv.net>
	StatusPrefix = *
	TimestampFormat = [%H:%M:%S]

	<Network default>
		FloodBurst = 4
		FloodRate = 1.00
		IRCConnectEnabled = true
		JoinDelay = 0
		LoadModule = keepnick
		LoadModule = kickrejoin
		LoadModule = nickserv
		Server = irc.sisrv.net 6697

		<Chan #sisrv>
		</Chan>
		<Chan #chat>
		</Chan>
	</Network>

	<Pass password>
		Hash = 014c07e0dc9112cf9edb20da49489eb6146bb2cf1c7188ccbb34316975c7e992
		Method = SHA256
		Salt = fY6Mu0N6Zh5T5A0UY3gP
	</Pass>
</User>
  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

How To Install psyBNC

psyBNC is small, lightweight software for usage in IRC (Internet Relay Chat). Bouncers have...

psyBNC FAQ

| psyBNC-FAQ (Frequently Asked Questions) for psyBNC | This FAQ does not...

Frequently Asked Questions

Frequently Asked Questions - up to version 2.3.2 Q: I tried to add a User for getting Op from...

How to recover psyBNC password

To reset password of your psybnc follow the steps mentioned below: Login to the shell account...

How to install sBNC

shroudBNC  or sBNC is a modular IRC proxy written in C++. It is capable of proxying IRC...

Powered by WHMCompleteSolution