Skip to content

GeyserMC/GeyserDiscordBot

Repository files navigation

GeyserBot

forthebadge made-with-java

License: MIT Build Status Discord

A bot for the GeyserMC Discord server

How to run

  • Download the latest build from the CI (here)
  • Configure a bot.properties file based on the example
  • Start the bot with java -jar GeyserBot.jar or put the systemd unit file into /etc/systemd/system/ and sudo systemctl daemon-reload && sudo systemctl enable --now geyserbot

Server preferences

These allow customisation of the bot on a per-guild basis. These can be changed using !settings set preference value and checked using !settings get preference.

Most of these are lists which values are seperated by , and a few are seperated by a | aswell which gives them a more key-value like structure.

Preference Description Example value
convert-extensions File extensions to auto upload to paste.gg txt,log,yml,log.0
log-channel Channel ID to output moderation logs to 614877230811709474
update-channel Channel ID to notify with minecraft updates 618189671259832320
roles Roles that are available to join with the role/rank command GeyserNews|613169070367309834,Tester|775083359101517884
voice-role The role to grant users when in a voice channel 856161072507518986
dont-log Channels IDs that are excluded from the moderation log 613168850925649981,613168974645035016
check-domains Domains to check against to filter phishing and malware domains steamcommunity.com
health-checks Channel IDs to log web health checks to along with the url to check 808759445827223572|https://api.geysermc.org/health
dont-level Channel IDs to ignore messages for the level system, set to 0 to disable server wide 754458074818805811
punishment-message A message to add to the end of a punishment DM If you wish to appeal your punishment, contact an admin.
banned-domains Domains that if found in a message, the message will be removed dlscord-nitro.click,discord-airdrop.com
banned-ips IPs that if a domain found in a message resolves to, the message will be removed 95.181.163.44,95.181.163.46
rss-feeds Channel IDs to log RSS posts to along with the RSS feed url 916482484122824704|https://blog.geysermc.org/feed.xml
allowed-invites Guild IDs for allowed invites 613163671870242838,393465748535640064
forum-channel Channel ID for forum management 645877230811709456
preview-feeds-channel News channel ID for preview feeds 614877230811709474
preview-feeds Forum channel ID for preview feeds 614877230811709474