Git Product home page Git Product logo

znc-modules's Introduction

Snoonet ZNC Modules


Setup

About

Modules are global ZNC modules written Python (requires modpython) that checks that a module is loaded for all users.

Installing

Place module.py in ~/.znc/modules. userips.py also requires the userips folder in the same location.

Loading

All modules are written in Python (requires modpython). Modules can be loaded with /znc loadmod <module>

Accessing

All commands should be sent to *checkconfig as a private message


AutoExpire

Automatically deletes users' accounts that have been inactive for more than the configured time. Ignores ZNC admins, online users, and anyone with the NoExpire flag set to true.

Commands

noexpire <user> <state> - Sets the noexpire flag on a user

Arguments

[expire_time] [expire_cycle]

  • expire_time is the amount of time a user's account can be inactive before being deleted (default: 30d). Set expire_time to 0 to disable expiry.
  • expire_cycle is how often to check for expired users (default: 1h). All times are specified in NyNwNdNmNs format (eg. 1y2d3h = 1 year, 2 days, 3 hours, 90d = 90 days, 2w = 2 weeks, 5m = 5 minutes)

CheckConfig

Checks that various options are configured for all users.

Usage

checknetwork <network> will output all users who do not have the specified network configured

checkchan <network> <channel> will output all users who do not have the specified channel in the given network

checkusermod <module> will output *controlpanel LoadModule command for all users who do not have the module enabled

checknetmod <module> <network> will output *controlpanel LoadNetModule for all users who do not have the module enabled on the specified network


ForceChan

Prevents a user from parting a channel.

Usage

/msg *forcechan forcechan will force users into the preconfigured channel


Push

Sends push notifications to users on mention or PM via PushBullet

Usage

See Snoonet BNC Push Notifications for instructions and setup


UserIPs

Provides a web-interface for viewing IP addresses of connected users

Usage

The module can be accessed from the ZNC webadmin by going to User IPs under Global Modules

znc-modules's People

Contributors

emagaliff avatar leonthemisfit avatar linuxdaemon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

znc-modules's Issues

Missing README and LICENSE

Please add a README and the MIT LICENSE in the project root. Refer to other Snoonet projects for markup.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.