Eggdrop.Simple 19 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. version=pmwiki-2.2.130 ordered=1 urlencoded=1
  2. agent=w3m/0.5.3+git20210102
  3. author=jrmu
  4. charset=UTF-8
  5. csum=
  6. ctime=1627828009
  7. host=38.87.162.8
  8. name=Eggdrop.Simple
  9. rev=11
  10. targets=Tls.Intro,Dns.Vhost,Dns.Overview,DNS.RDNS
  11. text=(:title Configure simple eggdrop.conf:)%0a%0aEggdrop has a very complex configuration file which can overwhelm new users. To make things simpler, we focus on just the most essential settings you must change.%0a%0aCreate a new file inside ~/%3cbotname>/ called examplebot.conf:%0a%0a[@%0aset username "botusername"%0aset admin "username %3cemail: username@example.com>"%0aset nick "botnick"%0aset altnick "botn?ck"%0aset realname "/msg botnick hello"%0aset network "Your Network"%0aset userfile "botusername.user"%0aset chanfile "botusername.chan"%0a@]%0a%0aReplace with your own settings. For network, use a short simple name instead of theactual server address. For example, the network name might be IRCNow instead of irc.ircnow.org.%0a%0a[@%0aset prefer-ipv6 1%0a@]%0a%0aWe set prefer-ipv6 to 1, meaning eggdrop will attempt to use IPv6 wherever possible. Among other benefits, this will allow our eggdrop to have a unique vhost.%0a%0a[@%0aloadmodule server%0aset net-type "Other"%0aset default-port 6667%0aserver add irc6.example.com +6697%0a@]%0a%0aHere, we configure the network we want to connect to. There are several network types: EFnet, IRCnet, Undernet, DALnet, Libera, freenode, QuakeNet, Rizon, Twitch, and Other. If you're not sure, choose Other.%0a%0aYou'll want to replace irc6.example.com +6697 with your actual server and port. It's best to use an IPv6-only server address. If you're using SSL, make sure to add a + plus sign. If you're using a plaintext port like port 6667, leave out the + plus sign.%0a%0a'''WARNING''': Don't [[tls/intro|confuse plaintext with SSL]]! If you're connecting to port 6667, do '''not''' put a + plus sign in front. If you're connecting to port +6697, '''do''' put a + sign in front.%0a%0aBelow, we set the [[dns/vhost|vhosts]] assigned to us when we created the shell account:%0a%0a[@%0aset vhost4 "username.example.com"%0aset vhost6 "username.example.com"%0a@]%0a%0aYou cannot pick any vhost you want; you must use the vhost given to you when you created the shell account. This is because your vhost must have [[dns/overview|forward]] and [[DNS/rDNS|reverse DNS]] entries configured in order to work correctly.%0a%0aIf you'd like to pick a different vhost, contact your sysadmin.%0a%0aFinally, we just copy the rest of these lines unchanged into the conf file (Attach:eggdrop-simple.conf.txt):%0a%0a[@%0abind evnt - init-server evnt:init_server%0a%0aproc evnt:init_server {type} {%0a global botnick%0a putquick "MODE $botnick +i-ws"%0a}%0a%0a%0aif {[info exists net-type]} {%0a switch -- ${net-type} {%0a "EFnet" {%0a source scripts/quotepong.tcl%0a }%0a "0" {%0a source scripts/quotepong.tcl%0a }%0a }%0a}%0a@]%0a%0a[@%0aset timezone "EST"%0aset offset "5"%0aset max-logs 20%0aset max-logsize 0%0aset quick-logs 0%0aset raw-log 0%0alogfile mco * "logs/eggdrop.log"%0aset log-time 1%0aset timestamp-format {[%25H:%25M:%25S]}%0aset keep-all-logs 0%0aset logfile-suffix ".%25d%25b%25Y"%0aset switch-logfiles-at 300%0aset quiet-save 0%0aset console "mkcoblxs"%0aset help-path "help/"%0aset text-path "text/"%0aset motd "text/motd"%0aset telnet-banner "text/banner"%0aset userfile-perm 0600%0aset remote-boots 2%0aset share-unlinks 1%0aset protect-telnet 0%0aset dcc-sanitycheck 0%0aset ident-timeout 5%0aset require-p 1%0aset open-telnets 0%0aset stealth-telnets 0%0aset stealth-prompt "\n\nNickname.\n"%0aset use-telnet-banner 0%0aset connect-timeout 15%0aset dcc-flood-thr 3%0aset telnet-flood 5:60%0aset paranoid-telnet-flood 1%0aset ssl-capath "/etc/ssl/"%0aset ignore-time 15%0aset hourly-updates 00%0aset notify-newusers "$owner"%0aset default-flags "hp"%0aset whois-fields "url birthday"%0aset must-be-owner 1%0aunbind dcc n simul *dcc:simul%0aset max-socks 100%0aset allow-dk-cmds 1%0aset dupwait-timeout 5%0aset cidr-support 0%0aset show-uname 1%0a%0aset mod-path "modules/"%0aloadmodule pbkdf2%0aloadmodule blowfish%0aset blowfish-use-mode cbc%0aloadmodule dns%0aset dns-cache 86400%0aset dns-negcache 600%0aset dns-maxsends 4%0aset dns-retrydelay 3%0aloadmodule channels%0aset force-expire 0%0aset share-greet 0%0aset use-info 1%0aset allow-ps 0%0a%0aset default-flood-chan 15:60%0aset default-flood-deop 3:10%0aset default-flood-kick 3:10%0aset default-flood-join 5:60%0aset default-flood-ctcp 3:60%0aset default-flood-nick 5:60%0aset default-aop-delay 5:30%0aset default-idle-kick 0%0aset default-chanmode "nt"%0aset default-stopnethack-mode 0%0aset default-revenge-mode 0%0aset default-ban-type 3%0aset default-ban-time 120%0aset default-exempt-time 60%0aset default-invite-time 60%0a%0aset default-chanset {%0a -autoop -autovoice%0a -bitch +cycle%0a +dontkickops +dynamicbans%0a +dynamicexempts +dynamicinvites%0a -enforcebans +greet%0a -inactive -nodesynch%0a -protectfriends +protectops%0a -revenge -revengebot%0a -secret -seen%0a +shared -statuslog%0a +userbans +userexempts%0a +userinvites -protecthalfops%0a -autohalfop -static%0a}%0a%0a%0aset msg-rate 2%0aset keep-nick 1%0aset quiet-reject 1%0aset lowercase-ctcp 0%0aset answer-ctcp 3%0aset flood-msg 5:60%0aset flood-ctcp 3:60%0aset server-cycle-wait 60%0aset server-timeout 60%0aset check-stoned 1%0aset serverror-quit 1%0aset max-queue-msg 300%0aset trigger-on-ignore 0%0aset exclusive-binds 0%0aset double-mode 1%0aset double-server 1%0aset double-help 1%0aset optimize-kicks 1%0aset stack-limit 4%0a%0aloadmodule ctcp%0aset ctcp-mode 0%0aloadmodule irc%0aset bounce-bans 0%0aset bounce-exempts 0%0aset bounce-invites 0%0aset bounce-modes 0%0aset learn-users 0%0aset wait-split 600%0aset wait-info 180%0aset mode-buf-length 200%0a%0aunbind msg - ident *msg:ident%0aunbind msg - addhost *msg:addhost%0a%0aset opchars "@"%0aset no-chanrec-info 0%0aset prevent-mixing 1%0aset max-dloads 3%0aset dcc-block 0%0aset copy-to-tmp 1%0aset xfer-timeout 30%0aset share-compressed 1%0aset files-path "/home/mydir/filesys"%0aset incoming-path "/home/mydir/filesys/incoming"%0aset upload-to-pwd 0%0aset filedb-path ""%0aset max-file-users 20%0aset max-filesize 1024%0aloadmodule notes%0aset notefile "LamestBot.notes"%0aset max-notes 50%0aset note-life 60%0aset allow-fwd 0%0aset notify-users 0%0aset notify-onjoin 1%0a%0aif {[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.} }%0a%0aloadmodule console%0aset console-autosave 1%0aset force-channel 0%0aset info-party 0%0aloadmodule uptime%0a%0asource scripts/alltools.tcl%0asource scripts/action.fix.tcl%0asource scripts/dccwhois.tcl%0asource scripts/userinfo.tcl%0aloadhelp userinfo.help%0a@]%0a
  12. time=1627890556
  13. title=Configure simple eggdrop.conf
  14. author:1627890556=jrmu
  15. diff:1627890556:1627890529:=50c50%0a%3c Finally, we just copy the rest of these lines unchanged into the conf file (Attach:eggdrop-simple.conf.txt):%0a---%0a> Finally, we just copy the rest of these lines unchanged into the conf file (download Attach:eggdrop-simple.conf.txt):%0a
  16. host:1627890556=38.87.162.8
  17. author:1627890529=jrmu
  18. diff:1627890529:1627890274:=50c50%0a%3c Finally, we just copy the rest of these lines unchanged into the conf file (download Attach:eggdrop-simple.conf.txt):%0a---%0a> Finally, we just copy the rest of these lines unchanged into the conf file (download here):%0a
  19. host:1627890529=38.87.162.8
  20. author:1627890274=jrmu
  21. diff:1627890274:1627890180:=50c50%0a%3c Finally, we just copy the rest of these lines unchanged into the conf file (download here):%0a---%0a> Finally, we just copy the rest of these lines unchanged into the conf file:%0a
  22. host:1627890274=38.87.162.8
  23. author:1627890180=jrmu
  24. diff:1627890180:1627881886:=46c46%0a%3c You cannot pick any vhost you want; you must use the vhost given to you when you created the shell account. This is because your vhost must have [[dns/overview|forward]] and [[DNS/rDNS|reverse DNS]] entries configured in order to work correctly.%0a---%0a> You cannot pick any vhost you want; you must use the vhost given to you when you created the shell account. This is because your vhost must have [[dns/overview|forward]] and [[dns/rDNS|reverse DNS]] entries configured in order to work correctly.%0a
  25. host:1627890180=38.87.162.8
  26. author:1627881886=jrmu
  27. diff:1627881886:1627877871:=38,48d37%0a%3c %0a%3c Below, we set the [[dns/vhost|vhosts]] assigned to us when we created the shell account:%0a%3c %0a%3c [@%0a%3c set vhost4 "username.example.com"%0a%3c set vhost6 "username.example.com"%0a%3c @]%0a%3c %0a%3c You cannot pick any vhost you want; you must use the vhost given to you when you created the shell account. This is because your vhost must have [[dns/overview|forward]] and [[dns/rDNS|reverse DNS]] entries configured in order to work correctly.%0a%3c %0a%3c If you'd like to pick a different vhost, contact your sysadmin.%0a
  28. host:1627881886=38.87.162.8
  29. author:1627877871=jrmu
  30. diff:1627877871:1627872290:=
  31. host:1627877871=38.87.162.8
  32. author:1627872290=jrmu
  33. diff:1627872290:1627872223:=39,40d38%0a%3c Finally, we just copy the rest of these lines unchanged into the conf file:%0a%3c %0a41a40,47%0a> source scripts/alltools.tcl%0a> source scripts/action.fix.tcl%0a> source scripts/dccwhois.tcl%0a> source scripts/userinfo.tcl%0a> loadhelp userinfo.help%0a> @]%0a> %0a> [@%0a223,227d228%0a%3c source scripts/alltools.tcl%0a%3c source scripts/action.fix.tcl%0a%3c source scripts/dccwhois.tcl%0a%3c source scripts/userinfo.tcl%0a%3c loadhelp userinfo.help%0a
  34. host:1627872290=38.87.162.8
  35. author:1627872223=jrmu
  36. diff:1627872223:1627871344:=10,12d9%0a%3c set nick "botnick"%0a%3c set altnick "botn?ck"%0a%3c set realname "/msg botnick hello"%0a14,15d10%0a%3c set userfile "botusername.user"%0a%3c set chanfile "botusername.chan"%0a21a17,19%0a> set userfile "botusername.user"%0a> set chanfile "botusername.chan"%0a> loadmodule server%0a27,28c25,29%0a%3c loadmodule server%0a%3c set net-type "Other"%0a---%0a> set net-type "EFnet"%0a> set nick "Lamestbot"%0a> set altnick "Llamab?t"%0a> set realname "/msg LamestBot hello"%0a> %0a30,39c31,36%0a%3c server add irc6.example.com +6697%0a%3c @]%0a%3c %0a%3c Here, we configure the network we want to connect to. There are several network types: EFnet, IRCnet, Undernet, DALnet, Libera, freenode, QuakeNet, Rizon, Twitch, and Other. If you're not sure, choose Other.%0a%3c %0a%3c You'll want to replace irc6.example.com +6697 with your actual server and port. It's best to use an IPv6-only server address. If you're using SSL, make sure to add a + plus sign. If you're using a plaintext port like port 6667, leave out the + plus sign.%0a%3c %0a%3c '''WARNING''': Don't [[tls/intro|confuse plaintext with SSL]]! If you're connecting to port 6667, do '''not''' put a + plus sign in front. If you're connecting to port +6697, '''do''' put a + sign in front.%0a%3c %0a%3c [@%0a---%0a> %0a> server add you.need.to.change.this 6667%0a> server add another.example.com 6669 password%0a> server add 2001:db8:618:5c0:263:: 6669 password%0a> server add ssl.example.net +7000%0a> %0a
  37. host:1627872223=38.87.162.8
  38. author:1627871344=jrmu
  39. diff:1627871344:1627830989:=3,6d2%0a%3c Eggdrop has a very complex configuration file which can overwhelm new users. To make things simpler, we focus on just the most essential settings you must change.%0a%3c %0a%3c Create a new file inside ~/%3cbotname>/ called examplebot.conf:%0a%3c %0a8,18c4,11%0a%3c set username "botusername"%0a%3c set admin "username %3cemail: username@example.com>"%0a%3c set network "Your Network"%0a%3c @]%0a%3c %0a%3c Replace with your own settings. For network, use a short simple name instead of theactual server address. For example, the network name might be IRCNow instead of irc.ircnow.org.%0a%3c %0a%3c [@%0a%3c set prefer-ipv6 1%0a%3c set userfile "botusername.user"%0a%3c set chanfile "botusername.chan"%0a---%0a> set username "lamest"%0a> set admin "Lamer %3cemail: lamer@lamest.lame.org>"%0a> set network "I.didn't.edit.my.config.file.net"%0a> %0a> set prefer-ipv6 0%0a> %0a> set userfile "LamestBot.user"%0a> set chanfile "LamestBot.chan"%0a20,24d12%0a%3c @]%0a%3c %0a%3c We set prefer-ipv6 to 1, meaning eggdrop will attempt to use IPv6 wherever possible. Among other benefits, this will allow our eggdrop to have a unique vhost.%0a%3c %0a%3c [@%0a29a18,24%0a> bind evnt - init-server evnt:init_server%0a> %0a> proc evnt:init_server {type} {%0a> global botnick%0a> putquick "MODE $botnick +i-ws"%0a> }%0a> %0a42,51d36%0a%3c @]%0a%3c %0a%3c [@%0a%3c bind evnt - init-server evnt:init_server%0a%3c %0a%3c proc evnt:init_server {type} {%0a%3c global botnick%0a%3c putquick "MODE $botnick +i-ws"%0a%3c }%0a%3c %0a
  40. host:1627871344=38.87.162.8
  41. author:1627830989=mkf
  42. diff:1627830989:1627828009:=50d49%0a%3c [@%0a
  43. host:1627830989=198.251.81.133
  44. author:1627828009=jrmu
  45. diff:1627828009:1627828009:=1,210d0%0a%3c (:title Configure simple eggdrop.conf:)%0a%3c %0a%3c [@%0a%3c set username "lamest"%0a%3c set admin "Lamer %3cemail: lamer@lamest.lame.org>"%0a%3c set network "I.didn't.edit.my.config.file.net"%0a%3c %0a%3c set prefer-ipv6 0%0a%3c %0a%3c set userfile "LamestBot.user"%0a%3c set chanfile "LamestBot.chan"%0a%3c loadmodule server%0a%3c set net-type "EFnet"%0a%3c set nick "Lamestbot"%0a%3c set altnick "Llamab?t"%0a%3c set realname "/msg LamestBot hello"%0a%3c %0a%3c bind evnt - init-server evnt:init_server%0a%3c %0a%3c proc evnt:init_server {type} {%0a%3c global botnick%0a%3c putquick "MODE $botnick +i-ws"%0a%3c }%0a%3c %0a%3c set default-port 6667%0a%3c %0a%3c server add you.need.to.change.this 6667%0a%3c server add another.example.com 6669 password%0a%3c server add 2001:db8:618:5c0:263:: 6669 password%0a%3c server add ssl.example.net +7000%0a%3c %0a%3c source scripts/alltools.tcl%0a%3c source scripts/action.fix.tcl%0a%3c source scripts/dccwhois.tcl%0a%3c source scripts/userinfo.tcl%0a%3c loadhelp userinfo.help%0a%3c %0a%3c if {[info exists net-type]} {%0a%3c switch -- ${net-type} {%0a%3c "EFnet" {%0a%3c source scripts/quotepong.tcl%0a%3c }%0a%3c "0" {%0a%3c source scripts/quotepong.tcl%0a%3c }%0a%3c }%0a%3c }%0a%3c @]%0a%3c %0a%3c set timezone "EST"%0a%3c set offset "5"%0a%3c set max-logs 20%0a%3c set max-logsize 0%0a%3c set quick-logs 0%0a%3c set raw-log 0%0a%3c logfile mco * "logs/eggdrop.log"%0a%3c set log-time 1%0a%3c set timestamp-format {[%25H:%25M:%25S]}%0a%3c set keep-all-logs 0%0a%3c set logfile-suffix ".%25d%25b%25Y"%0a%3c set switch-logfiles-at 300%0a%3c set quiet-save 0%0a%3c set console "mkcoblxs"%0a%3c set help-path "help/"%0a%3c set text-path "text/"%0a%3c set motd "text/motd"%0a%3c set telnet-banner "text/banner"%0a%3c set userfile-perm 0600%0a%3c set remote-boots 2%0a%3c set share-unlinks 1%0a%3c set protect-telnet 0%0a%3c set dcc-sanitycheck 0%0a%3c set ident-timeout 5%0a%3c set require-p 1%0a%3c set open-telnets 0%0a%3c set stealth-telnets 0%0a%3c set stealth-prompt "\n\nNickname.\n"%0a%3c set use-telnet-banner 0%0a%3c set connect-timeout 15%0a%3c set dcc-flood-thr 3%0a%3c set telnet-flood 5:60%0a%3c set paranoid-telnet-flood 1%0a%3c set ssl-capath "/etc/ssl/"%0a%3c set ignore-time 15%0a%3c set hourly-updates 00%0a%3c set notify-newusers "$owner"%0a%3c set default-flags "hp"%0a%3c set whois-fields "url birthday"%0a%3c set must-be-owner 1%0a%3c unbind dcc n simul *dcc:simul%0a%3c set max-socks 100%0a%3c set allow-dk-cmds 1%0a%3c set dupwait-timeout 5%0a%3c set cidr-support 0%0a%3c set show-uname 1%0a%3c %0a%3c set mod-path "modules/"%0a%3c loadmodule pbkdf2%0a%3c loadmodule blowfish%0a%3c set blowfish-use-mode cbc%0a%3c loadmodule dns%0a%3c set dns-cache 86400%0a%3c set dns-negcache 600%0a%3c set dns-maxsends 4%0a%3c set dns-retrydelay 3%0a%3c loadmodule channels%0a%3c set force-expire 0%0a%3c set share-greet 0%0a%3c set use-info 1%0a%3c set allow-ps 0%0a%3c %0a%3c set default-flood-chan 15:60%0a%3c set default-flood-deop 3:10%0a%3c set default-flood-kick 3:10%0a%3c set default-flood-join 5:60%0a%3c set default-flood-ctcp 3:60%0a%3c set default-flood-nick 5:60%0a%3c set default-aop-delay 5:30%0a%3c set default-idle-kick 0%0a%3c set default-chanmode "nt"%0a%3c set default-stopnethack-mode 0%0a%3c set default-revenge-mode 0%0a%3c set default-ban-type 3%0a%3c set default-ban-time 120%0a%3c set default-exempt-time 60%0a%3c set default-invite-time 60%0a%3c %0a%3c set default-chanset {%0a%3c -autoop -autovoice%0a%3c -bitch +cycle%0a%3c +dontkickops +dynamicbans%0a%3c +dynamicexempts +dynamicinvites%0a%3c -enforcebans +greet%0a%3c -inactive -nodesynch%0a%3c -protectfriends +protectops%0a%3c -revenge -revengebot%0a%3c -secret -seen%0a%3c +shared -statuslog%0a%3c +userbans +userexempts%0a%3c +userinvites -protecthalfops%0a%3c -autohalfop -static%0a%3c }%0a%3c %0a%3c %0a%3c set msg-rate 2%0a%3c set keep-nick 1%0a%3c set quiet-reject 1%0a%3c set lowercase-ctcp 0%0a%3c set answer-ctcp 3%0a%3c set flood-msg 5:60%0a%3c set flood-ctcp 3:60%0a%3c set server-cycle-wait 60%0a%3c set server-timeout 60%0a%3c set check-stoned 1%0a%3c set serverror-quit 1%0a%3c set max-queue-msg 300%0a%3c set trigger-on-ignore 0%0a%3c set exclusive-binds 0%0a%3c set double-mode 1%0a%3c set double-server 1%0a%3c set double-help 1%0a%3c set optimize-kicks 1%0a%3c set stack-limit 4%0a%3c %0a%3c loadmodule ctcp%0a%3c set ctcp-mode 0%0a%3c loadmodule irc%0a%3c set bounce-bans 0%0a%3c set bounce-exempts 0%0a%3c set bounce-invites 0%0a%3c set bounce-modes 0%0a%3c set learn-users 0%0a%3c set wait-split 600%0a%3c set wait-info 180%0a%3c set mode-buf-length 200%0a%3c %0a%3c unbind msg - ident *msg:ident%0a%3c unbind msg - addhost *msg:addhost%0a%3c %0a%3c set opchars "@"%0a%3c set no-chanrec-info 0%0a%3c set prevent-mixing 1%0a%3c set max-dloads 3%0a%3c set dcc-block 0%0a%3c set copy-to-tmp 1%0a%3c set xfer-timeout 30%0a%3c set share-compressed 1%0a%3c set files-path "/home/mydir/filesys"%0a%3c set incoming-path "/home/mydir/filesys/incoming"%0a%3c set upload-to-pwd 0%0a%3c set filedb-path ""%0a%3c set max-file-users 20%0a%3c set max-filesize 1024%0a%3c loadmodule notes%0a%3c set notefile "LamestBot.notes"%0a%3c set max-notes 50%0a%3c set note-life 60%0a%3c set allow-fwd 0%0a%3c set notify-users 0%0a%3c set notify-onjoin 1%0a%3c %0a%3c 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.} }%0a%3c %0a%3c loadmodule console%0a%3c set console-autosave 1%0a%3c set force-channel 0%0a%3c set info-party 0%0a%3c loadmodule uptime%0a%3c %0a%3c @]%0a
  46. host:1627828009=38.87.162.8