OGN ZNC/ro

From OnlineGamesNetWiki
Jump to: navigation, search

Pagina a fost creata pentru a va informa asupra serviciului de bouncer - mai exact ZNC, furnizat de OnlineGamesNet doar adminilor GameForge si celor din super teams. Acest ghid va poate parea asemanator cu alte ghiduri dar nu in totalitate.


Ce este ZNC?

ZNC-ul este un bouncer mai avansat, care va ramane conectat astfel incat un IRC client se poate deconecta/reconecta fara a pierde sesiunea de canale. Beneficiaza de multiple setari, care va permit sa stocati mesajele si multe alte lucruri.

Cererea de ZNC si suport

If you are an admin in any of GameForge community and you are interested in our ZNC, you may request it via Request tool, or in IRC channel #OGN-BNC where you need to open ticket via /obs <Your problem> We advice using mIRC For general support, try to ask in #OGN-BNC, if noone helps you, open a ticket.

ZNC commands and settings

Not all commands are listed!

ZNC servers and Webinterface

Here you'll find webinterface for each server of our ZNC. Check your server settings, to see which one are you using (Currently we have only one server / port): |- | 1 | 33333 | 43333 | http://bouncer.onlinegamesnet.net:33333/ |- | 2 | 33334 | 43334 | http://bouncer.onlinegamesnet.net:33334/ |- | 3 | 33335 | 43335 | http://bouncer.onlinegamesnet.net:33335/ |- | 4 | - | - | Due to technical reasons skipped |- | 5 | 33337 | 43337 | http://bouncer.onlinegamesnet.net:33337/ |- | 6 | 33338 | 43338 | http://bouncer.onlinegamesnet.net:33338/ |}

Default modules and available settings

  • status
    • You may set some general settings via *status and it allows you to list some informations. All /msg *status commands may be replaced with /znc, if you use mIRC.
      • /msg *status Help - List all commands used with *status, however you can't use all of them.
      • /msg *status Version - Print the current ZNC version.
      • /msg *status ListChans - List all channels, you are in.
      • /msg *status ListNicks <#chan> - List all nicks on provided channel.
      • /msg *status ListClients - List all clients connected to your ZNC user
      • /msg *status ListServers - List all servers
      • /msg *status Detach <#chan> - Detache chan (You will be in channel, but you won't receive messages from it anymore and won't see it at all), in mIRC can be used /detach #chan too. Detaching may be canceled via /join #chan. Take a look at autoattach module too!
      • /msg *status Topics - Show topics in all your channels
      • /msg *status PlayBuffer <#chan> - Play back the buffer for a given channel
      • /msg *status ClearBuffer <#chan> - Clear the buffer for a given channel
      • /msg *status ClearAllChannelBuffers - Clear the channel buffers
      • /msg *status SetBuffer <#chan> [linecount] - Set the buffer count for a channel. That means how many lines you will receive from given chan, after you connect. [linecount] is a number from 0 to 2000 (lines).
      • /msg *status Jump - Reconnects you to IRC.
      • /msg *status Disconnect - Disconnect from IRC
      • /msg *status Connect - Reconnects you to IRC.
      • /msg *status Uptime - Show for how long ZNC has been running.
      • /msg *status ShowMOTD - Show ZNC's message of the day
  • Usermod
    • Here you can set vacation, realname and LoC
      • /msg *usermod set realname <your realname> - Change your realname
      • /msg *usermod set vacation on/off - Turn on/off your vacation mode - turn it on, if you know you won't connect to your ZNC for more than 2/3 weeks to prevent it being deleted due to inactivity (will be done after a month of inactivity).
      • /msg *usermod set loc <AuthName>:<AuthPass> - Set LoC, which allows you to get team privileges, like increased number of chans etc. Example: /msg *usermod set loc User:HisPsw
  • simple_away
    • Automatically set you away on IRC when disconnected from the bouncer.
      • /msg *simple_away help - Shows help for simple_away with commands.
      • /msg *simple_away Reason [<text>] - Prints and optionally sets the away reason.
      • /msg *simple_away Timer - Prints the current time to wait before setting you away.
      • /msg *simple_away SetTimer - Sets the time to wait before setting you away (in seconds).
      • /msg *simple_away DisableTimer - Disables the wait time before setting you away.
  • perform
    • Performs commands on connect.
      • /msg *perform help - List all commands
      • /msg *perform add <command> - Adds a command. You may use %nick% as your current nick. This way you can perform setting of some user modes etc. Example: /msg *perform add mode %nick% +xinIt.
      • /msg *perform list - List current performs
      • /msg *perform del <nr> - Deletes one perform command - they are numbered in /msg *perform list.
      • /msg *perform execute - Run all perform commands.
      • /msg *perform swap <nr> <nr> - Swap order of current perform commands.
  • autocycle
    • Cycles a channel when you are the only one in there and you don't have op.
      • It's defaultly set to all chans you are in, but you can do /msg *autocycle del * and /msg *autocycle add <#chan> to add just some channels. Wildcards are allowed.
  • buffextras
    • Add nick changes, joins, parts, topic changes etc. to your playback buffer.
      • Has no settings. May be unloaded by BNC staff.
  • kickrejoin
    • Implements auto-rejoin-on-kick.
      • /msg *kickrejoin setdelay <sec> - Set delay, before you rejoin channel.
      • /msg *kickrejoin showdelay - Show current delay.

Other loadable modules

These modes are not loaded by default. You may ask OGN BNC staff for loading them, if you are interested in them. You can display help for each module (if the module is settable) via /msg *module help.

  • autoattach
    • Autoattach watches your detached channels and reattaches you automatically when there is activity in a channel you added to your autoattach list. Read about detaching in *status part of this article to learn about detaching.
      • /msg *autoattach Add - Add an entry, use !#chan to negate and * for wildcards.
      • /msg *autoattach Del - Remove an entry, needs to be an exact match.
      • /msg *autoattach List - List all entries.
  • autoop
    • This module is meant to auto op users that you have added to your personal list. It attempts to do so using CRAM-MD5 to increase security, but you should always use with caution. The secure version of adding is possible only for users, who use ZNC too and is very avanced to set. I will mention only the non-secure one. But in case you use it in OGN and will use it with fakehosts only, it's quite secure too.
      • /msg *autoop AddUser <user> <hostmask> __NOKEY__ [channels] - Add an user in your autoop list. You need to provide mask for that user in form nickname!ident@host (for example *!*@xxx.user.OnlineGamesNet - for user with OGN account "xxx" and all his nicks and idents). Channels are the channels you want that user gain OP. Wildcards are allowed. __NOKEY__ should be kept in this form, if you want to use autoop with key for other ZNCs, ask BNC staff how to set it or search it on your own.
      • /msg *autoop List - List all entries with users and chans.
      • /msg *autoop DelUser <user> - Delete an user from autoop list.
      • /msg *autoop AddChans <user> <channel> [channel] - Add a channel for existing user.
      • /msg *autoop DelChans <user> <channel> [channel] - Delete a channel from existing user.
  • autoreply
    • This module automatically answers to queries if you are not connected to ZNC.
      • /msg *autoreply Set <reply> - Sets a new reply
      • /msg *autoreply Show - Displays the current query reply
  • autovoice
    • This module voices everyone joining the channel you tell it to.
      • /msg *autovoice AddUser <user> <hostmask> [channels] - Add an user in your autovoice list. You need to provide mask for that user in form nickname!ident@host (for example *!*@xxx.user.OnlineGamesNet - for user with OGN account "xxx" and all his nicks and idents). Channels are the channels you want that user gain voice. Wildcards are allowed. Example: /msg *autovoice AddUser * * #channel - Everybody who joins #channel gains voice.
      • /msg *autovoice List - List all entries with users and chans.
      • /msg *autovoice DelUser <user> - Delete an user from autovoice list.
      • /msg *autovoice AddChans <user> <channel> [channel] - Add a channel for existing user.
      • /msg *autovoice DelChans <user> <channel> [channel] - Delete a channel from existing user.
  • block_motd
    • Block the MOTD from IRC so it's not sent to your client(s). Has no settings.
  • charset
    • Normalizes (i.e. converts) character encodings.Has no user settings, the only settings may be done by BNC staff
  • Clearbufferonmsg
    • This module attempts to bridge the gap between being inundated with old buffer if you have KeepBuffer=true; and possibly missing messages when you ping out, if you have KeepBuffer=false.
    • What the module does is clear the buffers when it sees a user-originated message come in, indicating that the user is alive and connected. Used in combination with KeepBuffer=true setting, you minimize old buffer spam, while solving the problem of possibly missing buffer upon connection timeout. Has no settings
  • clientnotify
    • Notify about new incoming connections to your user. Has no settings
  • crypt
    • This module was designed to be compatible with mircryption's CBC mode. It encrypts the conversion on channels or queries.
      • /msg *crypt SetKey <#chan|Nick> <Key> - Set an encryption key. From then on, all messages to that target will be encrypted. Received messages are automatically decrypted.
      • /msg *crypt DelKey <#chan|Nick> - Delete an existing key.
      • /msg *crypt ListKeys - List all keys.
  • ctcpflood
    • This module tries to block ctcp floods. Has no settings
  • disconkick
    • This module will kick your client from all channels where you are, in case if ZNC disconnects from server. There are no tunable settings.
  • fakeonline
    • This module fakes the online status of ZNC-*users, so that ISON and WHOIS commands to *status e.g. return something that makes the IRC client believe the user is online. This helps to query with these users for specific IRC clients like Colloquy that perform online check of open query windows.
  • flooddetach
    • This module detaches you from channels which are flooded. Has no settings
  • keepnick
    • This module tries to get you your primary nick. It should work on itself. However, you can enable and disable this module explicitly.
      • /msg *keepnick enable - Module will regularly try to acquire your primary nick.
      • /msg *keepnick disable - Module stops acquiring primary nick.
      • /msg *keepnick state - Tells you if the module is currently trying to change your nick to your primary nick.
  • notes
    • This modules stores and displays short notes using a key/note pairs and shows them to you on connect. Notes are also accesible via the WebModules interface.
      • /msg *notes Add <Key> <Note> - Add a new note.
      • /msg *notes Del <Key> - Delete an existing note.
      • /msg *notes Mod <Key> <Note> - Modify an existing note.
  • raw
    • When this module is loaded the *raw user will print anything that happens on the server like in the following example:
<*raw> IRC -> [:flederohr!chatzilla@moz-1611319.dip0.t-ipconnect.de JOIN :#firefox]
<*raw> IRC -> [:firebot!firebot@moz-8BCFA482.carolina.res.rr.com PRIVMSG #firefox :welcome!]
<*raw> IRC -> [:Beebs!chatzilla@moz-8A98A72C.dsl.vic.optusnet.com.au PART #firefox :]
<*raw> YOU -> [privmsg #firefox :hm]
<*raw> IRC -> [:YaH!chatzilla@CBBA83DF.DB9F27F7.34E5CF41.IP QUIT :Ping timeout]
    • Has no settings
  • route_replies
    • If you connect to one ZNC user with multiple clients, you may see a lot of useless stuff like /who replies. This module fixes this by sending those replies only to the client who requested them and not to all clients.
      • /msg *route_replies silent [yes/no] - Enable/disable timeout messages
      • /msg *route_replies silent - Check if timeout messages are enabled or disabled
  • savebuff
    • This module saves your channel buffers into an encrypted file so they can survive restarts and reboots. Has no settings
  • schat
    • This module allows you to have a secure DCC chat with someone else who uses this module as well.
    • Once a chat is initiated you can chat with the other person via a query that looks like (s)<nick>.
      • /msg *schat chat <nick> - Requests secure chat with <nick>. That user needs to use ZNC with *schat module loaded too. /schat nick is another avilable command.
      • /msg *schat list - List all initiated chats.
      • /msg *schat close <nick> - Close a chat.
      • /msg *schat timers - Show related timers.
  • stickychan
    • This module can stick you to a channel, so that if you acidentally click it away it will simply come back.
    • If you /part the channel in your client, ZNC will intercept it and prevent it from being sent to the IRC server. Your client will immediately rejoin the channel.
    • If you are sapart'd or svspart'd from a stuck channel, you are automatically rejoined.
      • /msg *stickychan stick #chan <password> - Stick you to channel (with password).
      • /msg *stickychan unstick #chan - Unstick you from channel.
  • watch
    • This module allows you to monitor the activity of a specific user and/or text patterns and have the text sent to a special query window. This may be handy if you, for example, want to notice any messages containing your nickname.
      • /msg *watch Add <HostMask> [Target] [Pattern] - Used to add an entry to watch for. HostMask is hostmask of watchad object, wildcards are allowd, Target is will be name of query window, where you'll se the results of given watch and pattern is used if you want to focus only on lines, which are corresponding to given pattern. For example *%nick%* may be used ad pattern, if you want to have highlight window.
      • /msg *watch SetSources <Id> - Set the source channels that you care about. Wildcards are allowed.
      • /msg *watch List - List all entries being watched.
      • /msg *watch Del <Id> - Deletes Id from the list of watched entries.
      • /msg *watch Clear <Id> - Delete all entries.
      • /msg *watch Disable <Id | *> - Disable (but don't delete) an entry.
      • /msg *watch Enable <Id | *> - Enable a disabled entry.
      • /msg *watch Buffer [Count] - Show/Set the amount of buffered lines while detached.
      • /msg *watch Dump - Dump a list of all current entries to be used later.