Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ############## Bot Installation ################
- rm -rf eggdrop-1.9.2rc1;rm -rf eggdrop-develop;wget https://ftp.eggheads.org/pub/eggdrop/source/1.9/eggdrop-1.9.2.tar.gz;tar xvfz eggdrop-1.9.2.tar.gz;cd eggdrop-1.9.2;cd src;cd mod;wget http://www.kreativrauschen.de/daten/gseen.mod/gseen.mod.1.1.2.tar.gz;tar -zxvf gseen.mod.1.1.2.tar.gz;wget http://ftp.eggheads.org/pub/eggdrop/modules/1.8/getops.mod-1.0-pseudo.tar.gz;tar -zxvf getops.mod-1.0-pseudo.tar.gz;cd getops.mod/getops.tcl;sed -i 's/set go_botnum 3/set go_botnum 1/g' getops-3.0c.tcl;cd ..;cd ..;cd ..;cd ..;./misc/makedepend;./configure;make config;make;make install;make sslcert;cd ..;cd eggdrop;openssl genrsa -out eggdrop.key 4096;openssl req -new -key eggdrop.key -x509 -out eggdrop.crt -days 365;cd scripts;mkdir netbots;cd netbots;scp bot@[IPADRESS]:/home/login/eggdrop/scripts/netbots/netbots4.10.zip .;unzip netbots4.10.zip;scp bot@[IPADRESS]:/home/login/eggdrop/scripts/netbots/netset.tcl .;cd ..
- ########## Bot Conf #################
- ##### BASIC SETTINGS #####
- set username "hansolo"
- set admin "tuvok"
- set network "IRCnet"
- set timezone "CET"
- set offset "-1"
- set env(TZ) "$timezone$offset"
- ## Network settings overview
- #set vhost4 "92.222.41.125"
- set vhost6 "2607:5300:60:4f58::248"
- set prefer-ipv6 1
- addlang "German"
- ##### LOG FILES #####
- set max-logs 20
- set max-logsize 0
- set quick-logs 0
- set raw-log 0
- logfile mco * "logs/eggdrop.log"
- #logfile jpk #lamest "logs/lamest.log"
- set log-time 1
- set timestamp-format {[%H:%M:%S]}
- set keep-all-logs 0
- set logfile-suffix ".%d%b%Y"
- set switch-logfiles-at 300
- set quiet-save 0
- ##### CONSOLE #####
- set console "mkcoblxs"
- ##### FILES AND DIRECTORIES #####
- set userfile "hansolo.user"
- #set pidfile "pid.hansolo"
- set help-path "help/"
- set text-path "text/"
- set motd "text/motd"
- set telnet-banner "text/banner"
- set userfile-perm 0600
- ##### BOTNET/DCC/TELNET #####
- set botnet-nick "HanSolo"
- listen 92.222.41.125 45777 all
- #listen +47323 all
- set remote-boots 2
- set share-unlinks 1
- set protect-telnet 0
- set dcc-sanitycheck 0
- set ident-timeout 5
- set require-p 1
- set open-telnets 0
- set stealth-telnets 0
- #set stealth-prompt "login: "
- set stealth-prompt "\n\nNickname.\n"
- set use-telnet-banner 0
- set connect-timeout 15
- set dcc-flood-thr 3
- set telnet-flood 5:60
- set paranoid-telnet-flood 1
- set resolve-timeout 7
- ##### SSL SETTINGS #####
- # openssl genrsa -out eggdrop.key 4096
- set ssl-privatekey "eggdrop.key"
- # openssl req -new -key eggdrop.key -x509 -out eggdrop.crt -days 365
- set ssl-certificate "eggdrop.crt"
- #set ssl-verify-depth 9
- set ssl-capath "/etc/ssl/"
- #set ssl-cafile ""
- set ssl-protocols "TLSv1 TLSv1.1 TLSv1.2 TLSv1.3"
- # set ssl-ciphers "DEFAULT ADH"
- set ssl-ciphers "ALL"
- #set ssl-ciphers ""
- #set ssl-dhparam "dhparam.pem"
- #set ssl-cert-auth 0
- #set ssl-verify-dcc 0
- #set ssl-verify-bots 0
- #set ssl-verify-clients 0
- ##### MORE ADVANCED SETTINGS #####
- #set firewall "!sun-barr.ebay:3666"
- set nat-ip "92.222.41.125"
- #set reserved-portrange 2010:2020
- set ignore-time 15
- set hourly-updates 00
- #set owner "tuvok"
- set notify-newusers "$owner"
- set default-flags "hp"
- set whois-fields "url birthday"
- #unbind dcc n tcl *dcc:tcl
- #unbind dcc n set *dcc:set
- set must-be-owner 1
- unbind dcc n simul *dcc:simul
- set max-socks 100
- set allow-dk-cmds 1
- set dupwait-timeout 5
- set cidr-support 0
- set show-uname 1
- ##### MODULES #####
- set mod-path "modules/"
- #### PBKDF2 MODULE ####
- loadmodule pbkdf2
- # Cryptographic hash function used. openssl list -digest-algorithms
- set pbkdf2-method "SHA256"
- set pbkdf2-rounds 16000
- #set remove-pass 0
- #### BLOWFISH MODULE ####
- loadmodule blowfish
- set blowfish-use-mode cbc
- #### DNS MODULE ####
- #loadmodule dns
- #set dns-servers "8.8.4.4 1.1.1.1 185.222.222.222"
- #set dns-cache 86400
- #set dns-negcache 600
- #set dns-maxsends 4
- #set dns-retrydelay 3
- #### CHANNELS MODULE ####
- loadmodule channels
- set chanfile "hansolo.chan"
- set force-expire 0
- set share-greet 0
- set use-info 1
- set allow-ps 0
- # The following settings are used as default values when you .+chan #chan or .tcl
- # channel add #chan. Look below for explanation of every option.
- set default-flood-chan 20:60
- set default-flood-deop 3:10
- set default-flood-kick 3:10
- set default-flood-join 5:60
- set default-flood-ctcp 3:60
- set default-flood-nick 5:60
- set default-aop-delay 5:30
- set default-idle-kick 0
- set default-chanmode "nt"
- set default-stopnethack-mode 2
- set default-revenge-mode 2
- set default-ban-type 3
- set default-ban-time 300
- set default-exempt-time 60
- set default-invite-time 60
- set default-chanset {
- -autoop -autovoice
- -bitch +cycle
- +dontkickops +dynamicbans
- +dynamicexempts +dynamicinvites
- -enforcebans +greet
- -inactive -nodesynch
- -protectfriends +protectops
- +revenge +revengebot
- -secret +seen
- +shared +statuslog
- +userbans +userexempts
- +userinvites -protecthalfops
- -autohalfop -static
- }
- channel add #all-in-one
- #### SERVER MODULE ####
- loadmodule server
- #set ssl-verify-server 0
- set net-type "IRCnet"
- set nick "HanSolo"
- set altnick "|HanSolo|"
- set realname "StarWars RuleZ"
- bind evnt - init-server evnt:init_server
- proc evnt:init_server {type} {
- global botnick
- putquick "MODE $botnick +i-ws"
- # putserv "PRIVMSG NickServ :identify <password>"
- }
- set default-port 6667
- server add irc.swipnet.se
- server add irc.psychz.net
- server add irc.belwue.de
- server add datapacket.hk.ircnet.net
- #set sasl 0
- #set sasl-mechanism 0
- #set sasl-username "llamabot"
- #set sasl-password "password"
- # openssl ecparam -genkey -name prime256v1 -out eggdrop-ecdsa.pem
- #set sasl-ecdsa-key "eggdrop-ecdsa.pem"
- #set sasl-continue 1
- #set sasl-timeout 15
- #set account-notify 0
- #set invite-notify 0
- #set message-tags 0
- #set cap-request "feature1 feature2 feature3"
- #### End of CAP features ####
- set msg-rate 2
- set keep-nick 1
- set quiet-reject 1
- set lowercase-ctcp 0
- set answer-ctcp 3
- set flood-msg 0:00
- set flood-ctcp 0:00
- set server-cycle-wait 30
- set server-timeout 30
- set check-stoned 1
- set serverror-quit 1
- set max-queue-msg 300
- set trigger-on-ignore 0
- set exclusive-binds 0
- set double-mode 1
- set double-server 1
- set double-help 1
- set optimize-kicks 1
- set stack-limit 4
- #set isupport-default "CASEMAPPING=rfc1459 CHANNELLEN=80 NICKLEN=9 CHANTYPES=#& PREFIX=(ov)@+ CHANMODES=b,k,l,imnpst MODES=3 MAXCHANNELS=10 TOPICLEN=250 KICKLEN=250 STATUSMSG=@+"
- ### SERVER MODULE - OTHER NETWORKS (net-type "Other") ###
- #set check-mode-r 0
- set nick-len 15
- #### CTCP MODULE ####
- loadmodule ctcp
- set ctcp-mode 0
- set ctcp-version "ZNC 1.8.2 - http://znc.in"
- # There are also several variables to help make your bot less noticeable.
- # They are: ctcp-version, ctcp-finger, and ctcp-userinfo. You can use set to set
- # them to values you'd like.
- #### IRC MODULE ####
- loadmodule irc
- set bounce-bans 0
- set bounce-exempts 0
- set bounce-invites 0
- set bounce-modes 0
- set use-exempts 1
- set use-invites 1
- set learn-users 0
- set wait-split 600
- set wait-info 180
- set mode-buf-length 200
- #unbind msg - hello *msg:hello
- #bind msg - myword *msg:hello
- unbind msg - ident *msg:ident
- unbind msg - addhost *msg:addhost
- set opchars "@"
- #set opchars "@&~"
- set no-chanrec-info 0
- ### IRC MODULE - IRCnet SPECIFIC FEATURES (net-type "IRCnet") ###
- # Attention: Use these settings *only* if you set 'net-type' to "IRCnet"!
- # At the moment, the current IRCnet IRCd version (2.10) doesn't support the
- # mixing of b, o and v modes with e and I modes. This might be changed in the
- # future, so use 1 at the moment for this setting.
- set prevent-mixing 1
- ### IRC MODULE - OTHER NETWORKS (net-type "Other") ###
- # Attention: Use these settings *only* if you set net-type to "Other"!
- #set kick-method 1
- #set include-lk 1
- # If your network doesn't use rfc 1459 compliant string matching routines,
- # set this to 0.
- #set rfc-compliant 1
- #### TWITCH MODULE ####
- # This module attempts to provide connectivity with the Twitch gaming platform.
- # While Twitch provides an IRC gateway to connect with it's streaming service,
- # it does not claim to (and certainly does not) follow the IRC RFC in any
- # meaningful way. The intent of this module is not to provide the full spectrum
- # of management functions typically associated with Eggdrop; please see the docs
- # for additional information. Only load this if you are connecting to Twitch!
- # Please see doc/TWITCH for Twitch-specific setup information, like how to
- # configure the required CAP settings in the IRC section above.
- #loadmodule twitch
- #### TRANSFER MODULE ####
- loadmodule transfer
- set max-dloads 3
- set dcc-block 0
- set copy-to-tmp 1
- set xfer-timeout 30
- set sharefail-unlink 1
- #### SHARE MODULE ####
- loadmodule share
- #set allow-resync 0
- #set resync-time 900
- #set private-global 0
- #set private-globals "mnot"
- #set private-user 0
- #set override-bots 0
- #### COMPRESS MODULE ####
- loadmodule compress
- set share-compressed 1
- set compress-level 9
- #### FILESYSTEM MODULE ####
- #loadmodule filesys
- #set files-path "/home/mydir/filesys"
- #set incoming-path "/home/mydir/filesys/incoming"
- #set upload-to-pwd 0
- #set filedb-path ""
- #set max-file-users 20
- #set max-filesize 1024
- #### NOTES MODULE ####
- loadmodule notes
- set notefile "def-hansolo.notes"
- set max-notes 50
- set note-life 60
- set allow-fwd 0
- set notify-users 0
- set notify-onjoin 1
- # This next line checks if eggdrop is being executed from the source directory
- if {[file exists aclocal.m4]} { die {You are attempting to run Eggdrop from the source directory. Please finish installing Eggdrop by running "make install" and run it from the install location.} }
- #### CONSOLE MODULE ####
- loadmodule console
- set console-autosave 1
- set force-channel 0
- set info-party 0
- #### WOOBIE MODULE ####
- #loadmodule woobie
- #### SEEN MODULE ####
- # This module provides very basic seen commands via msg, on channel or via dcc.
- # This module works only for users in the bot's userlist. If you are looking for
- # a better and more advanced seen module, try the gseen module by G'Quann. You
- # can find it at http://www.kreativrauschen.com/gseen.mod/.
- #loadmodule seen
- #### ASSOC MODULE ####
- loadmodule assoc
- #### UPTIME MODULE ####
- loadmodule uptime
- loadmodule getops
- #### IDENT MODULE ####
- # This module adds Eggdrop support for the externally-provided oident
- # service, or alterdef-hansololy the ability for Eggdrop to act as its own ident
- # daemon. Please read the docs at doc/settings/mod.ident for additional
- # information on correctly configuring this section. If you don't know
- # what ident or oident are, it is safe to leave this section commented.
- loadmodule ident
- # Set the ident method you wish to use. Each of these methods requires
- # some form of external configuration in order to function. See
- # doc/settings/mod.ident for additional information.
- # Options are:
- # 0 = oidentd
- # Your bot will overwrite $HOME/.oidentd.conf right before opening the
- # socket to the IRC server with the global reply.
- # NOTE: requires the oidentd service to be running on the host machine
- # 1 = Builtin
- # Your bot will automatically turn its builtin identd on and off when
- # needed so it shouldn't conflict with other identds that do the same.
- # NOTE: Eggdrop must be granted permissions on the host system to bind
- # to port 113.
- set ident-method 0
- # Set the ident port to use for ident-method 1.
- #set ident-port 113
- ##### SCRIPTS #####
- source scripts/alltools.tcl
- source scripts/action.fix.tcl
- source scripts/dccwhois.tcl
- source scripts/netbots/netbots.tcl
- #source scripts/userinfo.tcl
- #loadhelp userinfo.help
- #source scripts/compat.tcl
- #source gseen.conf
- # A few IRC networks (EFnet and Undernet) have added some simple checks to
- # prevent drones from connecting to the IRC network. While these checks are
- # fairly trivial, they will prevent your Eggdrop from automatically
- # connecting. In an effort to work-around these, we have developed a couple of
- # TCL scripts to automate the process.
- if {[info exists net-type]} {
- switch -- ${net-type} {
- "EFnet" {
- # EFnet
- source scripts/quotepong.tcl
- }
- "0" {
- # EFnet
- source scripts/quotepong.tcl
- }
- }
- }
- ############# netbots4.10 ##########
- 1 chanlimit ist an
- # chanlimit.tcl settings
- set nb_component(chanlimit) 1
- set cl_chans ""
- set cl_echans ""
- set cl_limit 10
- set cl_grace 2
- set cl_timer 10
- set cl_server 0
- set cl_log 1
- set cl_priority ""
- 2. sentinel ist an
- # sentinel.tcl settings
- set nb_component(sentinel) 1
- set sl_bcflood 5:30
- set sl_bmflood 6:20
- set sl_ccflood 5:20
- set sl_txflood 8:30
- set sl_boflood 4:20
- set sl_jflood 3:20
- set sl_nkflood 6:20
- set sl_txlength 200
- set sl_nclength 1
- set sl_tsunami 10
- set sl_linecap 80:30
- set sl_locktimes {i:120 m:60}
- set sl_shortlock 0
- set sl_ban 1440
- set sl_boban 1440
- set sl_globalban 0
- set sl_wideban 1
- set sl_banmax 100
- set sl_igtime 240
- set sl_masktype 0
- set sl_bfmaxbans 19
- set sl_note "YourNick"
- set sl_cfnotice "Channel locked temporarily due to flood, sorry for any inconvenience this may cause :-)"
- set sl_bfnotice "Channel locked temporarily due to full ban list, sorry for any inconvenience this may cause :-)"
- set sl_lockcmds 2
- set sl_lockflags "o"
- set sl_bxsimul 0
- alles andere ist aus!
Add Comment
Please, Sign In to add comment