diff --git a/.gitbook/assets/FREE-LV-1.png b/.gitbook/assets/FREE-LV-1.png new file mode 100644 index 0000000..0d673ee Binary files /dev/null and b/.gitbook/assets/FREE-LV-1.png differ diff --git a/.gitbook/assets/FREE-LV-2.png b/.gitbook/assets/FREE-LV-2.png new file mode 100644 index 0000000..e59780c Binary files /dev/null and b/.gitbook/assets/FREE-LV-2.png differ diff --git a/.gitbook/assets/FREE-LV-3.png b/.gitbook/assets/FREE-LV-3.png new file mode 100644 index 0000000..4eafb7a Binary files /dev/null and b/.gitbook/assets/FREE-LV-3.png differ diff --git a/.gitbook/assets/FREE-LV-4.png b/.gitbook/assets/FREE-LV-4.png new file mode 100644 index 0000000..350384b Binary files /dev/null and b/.gitbook/assets/FREE-LV-4.png differ diff --git a/.gitbook/assets/FREE-LV-5.png b/.gitbook/assets/FREE-LV-5.png new file mode 100644 index 0000000..f64b250 Binary files /dev/null and b/.gitbook/assets/FREE-LV-5.png differ diff --git a/.gitbook/assets/PANEL-1.png b/.gitbook/assets/PANEL-1.png new file mode 100644 index 0000000..291d17e Binary files /dev/null and b/.gitbook/assets/PANEL-1.png differ diff --git a/.gitbook/assets/PANEL-10.png b/.gitbook/assets/PANEL-10.png new file mode 100644 index 0000000..4d2b2a4 Binary files /dev/null and b/.gitbook/assets/PANEL-10.png differ diff --git a/.gitbook/assets/PANEL-11.png b/.gitbook/assets/PANEL-11.png new file mode 100644 index 0000000..08fb76b Binary files /dev/null and b/.gitbook/assets/PANEL-11.png differ diff --git a/.gitbook/assets/PANEL-13.png b/.gitbook/assets/PANEL-13.png new file mode 100644 index 0000000..cbe1cdf Binary files /dev/null and b/.gitbook/assets/PANEL-13.png differ diff --git a/.gitbook/assets/PANEL-14.png b/.gitbook/assets/PANEL-14.png new file mode 100644 index 0000000..591fd98 Binary files /dev/null and b/.gitbook/assets/PANEL-14.png differ diff --git a/.gitbook/assets/PANEL-2.png b/.gitbook/assets/PANEL-2.png new file mode 100644 index 0000000..6438869 Binary files /dev/null and b/.gitbook/assets/PANEL-2.png differ diff --git a/.gitbook/assets/PANEL-4.png b/.gitbook/assets/PANEL-4.png new file mode 100644 index 0000000..211ea19 Binary files /dev/null and b/.gitbook/assets/PANEL-4.png differ diff --git a/.gitbook/assets/PANEL-5.png b/.gitbook/assets/PANEL-5.png new file mode 100644 index 0000000..ff95b85 Binary files /dev/null and b/.gitbook/assets/PANEL-5.png differ diff --git a/.gitbook/assets/PANEL-6.png b/.gitbook/assets/PANEL-6.png new file mode 100644 index 0000000..3cc0220 Binary files /dev/null and b/.gitbook/assets/PANEL-6.png differ diff --git a/.gitbook/assets/PANEL-7.png b/.gitbook/assets/PANEL-7.png new file mode 100644 index 0000000..b2b8249 Binary files /dev/null and b/.gitbook/assets/PANEL-7.png differ diff --git a/.gitbook/assets/PANEL-8.png b/.gitbook/assets/PANEL-8.png new file mode 100644 index 0000000..77eb912 Binary files /dev/null and b/.gitbook/assets/PANEL-8.png differ diff --git a/.gitbook/assets/PANEL-9.png b/.gitbook/assets/PANEL-9.png new file mode 100644 index 0000000..27f34a3 Binary files /dev/null and b/.gitbook/assets/PANEL-9.png differ diff --git a/README.md b/README.md index d0a3fad..8e4f6f3 100644 --- a/README.md +++ b/README.md @@ -24,15 +24,17 @@ Our Logviewer will save the threads so your staff can view previous threads thro * Versatile command permission system. * Interface elements (color, responses, reactions, etc.). * Snippets and command aliases. -* Minimum duration for accounts to be created before allowed to contact Modmail (`account_age`). -* Minimum length for members to be in the guild before allowed to contact Modmail (`guild_age`). +* Minimum durations for account age and time in server before allowed to contact Modmail. +* Plugin support for extending functionality. +* Custom thread creation messages and thread naming formats. +* Configurable auto-close, inactivity, and notification settings. **Advanced logging functionality** * When you close a thread, Modmail will generate a log link and post it to your log channel. * Native Discord dark-mode feel. * Markdown/formatting support. -* Discord authentication-protected logs ([Patreon-only feature](https://patreon.com/kyber)). +* Discord authentication-protected logs ([Patreon/BMAC-only feature](https://buymeacoffee.com/modmaildev/membership)). * See past logs of a user with `?logs`. * Searchable by text queries using `?logs search`. @@ -41,8 +43,10 @@ Our Logviewer will save the threads so your staff can view previous threads thro * Ease of installation: you can get your Modmail bot running in under 10 minutes! * Schedule tasks in human time, e.g. `?close in 2 hours silently`. * Editing and deleting messages are synced. -* Support for the diverse range of message contents (multiple images, files). +* Support for images, files, stickers, and other attachments. +* Internal notes and moderator-only discussions. * Paginated commands interfaces via buttons. +* Multi-user conversations and private thread management tools. This list is ever-growing thanks to active development by our exceptional contributors. See a full list of available commands by using the `?help` command. @@ -58,7 +62,7 @@ You have various options to help the project. Giving this repository a star is g Support Modmail with your contributions! Whether it be improvements to the documentation or new functionality, please feel free to make the change. Check out our [contributing guidelines](https://github.com/modmail-dev/modmail/blob/master/.github/CONTRIBUTING.md) before you get started. -## Next steps +## Next Steps * Read about [installing Modmail](installation/). * Become familiar with [Modmail commands and functionalities](getting-started.md). @@ -66,9 +70,9 @@ Support Modmail with your contributions! Whether it be improvements to the docum {% hint style="info" %} Throughout this documentation when we're referring to bot commands, we will assume the prefix of the bot to be ? and will display them like in this example: ?help.\ \ -Optional arguments will be enclosed in square brackets:\ +**Optional** arguments will be enclosed in square brackets:\ Example: ?close \[time] \[reason] \[silently]\ \ -Required arguments will be enclosed in angle brackets:\ +**Required** arguments will be enclosed in angle brackets:\ Example: ?contact \ {% endhint %} diff --git a/SUMMARY.md b/SUMMARY.md index e2ebf5d..f2a7db0 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -19,6 +19,8 @@ * [Setting up Auto-Restart (Windows)](installation/local-hosting-vps/autorestart_windows.md) * [Railway](installation/railway.md) * [Heroku](installation/heroku.md) + * [Free Logviewer Hosting](installation/free-logviewer.md) + * [Modmail Hosting Panel](installation/modmail-panel.md) * [Community Guides](installation/community-guides.md) * [Updating](updating.md) * [Usage](usage-guide/README.md) @@ -32,4 +34,4 @@ * [Color Names](config-references/color-names.md) * [Archived Documentation](old-docs/README.md) * [Configure Modmail and Logviewer](old-docs/configure-modmail-and-logviewer.md) - * [Frequently Asked Questions](old-docs/frequently-asked-questions-old.md) + * [Frequently Asked Questions](old-docs/frequently-asked-questions-old.md) \ No newline at end of file diff --git a/choose-host/README.md b/choose-host/README.md index 2fc6784..1f811a8 100644 --- a/choose-host/README.md +++ b/choose-host/README.md @@ -37,14 +37,14 @@ You may have heard the saying *“cheap, good, fast — pick two.”* Hosting Mo Over the years, the Modmail team has spent many hours researching and recommending free hosting platforms. Starting in 2025, we are no longer spending the time, or recommending platforms purley for being free. -Free platforms usually have, or develop one of these problems: remove free tier, high downtime, problematic server connection, terminating instances without notice. +Free platforms usually have, or develop one of these problems: remove free tier, high downtime, problematic server connection, or terminating instances without notice. {% endhint %} ### "Minimum Spec" -The Modmail project does not have a minimum specification required to use run your bot. However, generally, if you hear anyone from our team, or read on this page the term "minimum spec" or "min spec", we are referring to this: +The Modmail project does not have a minimum specification required to use run your bot. However, generally, if you hear anyone from our team, or read on this page the term **minimum spec**, we are referring to this: |System Spec|Minimum Value| |-|-| @@ -121,12 +121,12 @@ If you want the simplest possible method of getting your bot online, we would re {% endhint %} {% hint style="danger" %} -### A Caution on Free Pterodactyl based hosts. +## A Caution on Free Pterodactyl based hosts. Many hosting "companies" have popped up in recent years using the free, open source, [Pterodactyl](https://pterodactyl.io/) hosting platform. These hosting sites are particularly problematic. With the biggest concern usually revolving around **your data security**. Many, if not all, of these platforms do not provide, possess, or follow proper agreements relating to the access of your uploaded information. This includes your MongoDB Conncection URI, and Bot Token, allowing the "staff" of these "companies" to access any message ever sent to or from your bot, any message in your server, and carry out actions as your bot (ie. deleting channels, reading messages, banning users). Additionally, many of these hosts are run with substandard hardware and infrastucture, usually resulting to temporary IP bans from Discord, poor uptime, poor performance, improper dependancy installation, and more. -We **strongly** encourage you to conduct **full and complete** research before using these hosts. *Our general recommendation is to: avoid them.* +We **strongly** encourage you to conduct **full and complete** research before using these hosts. *Our general recommendation is to: **avoid them.*** {% endhint %} \ No newline at end of file diff --git a/choose-host/recommended-hosts.md b/choose-host/recommended-hosts.md index cc682c4..c54f2f6 100644 --- a/choose-host/recommended-hosts.md +++ b/choose-host/recommended-hosts.md @@ -63,14 +63,25 @@ See details on [Buy Me a Coffee](https://buymeacoffee.com/modmaildev/membership) - [ninjaOne Recommendations](https://www.ninjaone.com/blog/key-steps-for-a-more-secure-linux-server/) - [Linux.org Fourms Recommendations](https://www.linux.org/threads/the-ultimate-guide-to-reasonable-security-for-your-debian-ubuntu-linux-server-for-new-linux-admins.49199/) - *Consider these a starting point, but be sure to do your own research. The Modmail Team holds no liability for any security mishaps that may occur with a server not rented by us and under our full, direct, and exclusive control. (in other words: we aren't responsible for your server) + *Consider these a starting point, but be sure to do your own research. The Modmail Team holds no liability for any security mishaps that may occur with a server not rented by us and under our full, direct, and exclusive control. (in other words: we aren't responsible for your server)* {% endhint %} ## PaaS Providers -PaaS Hosting is usually more expensive, but a simpler to setup solution, which removes the need for securing a server, ssh configurations, terminal usage, and similar. However, because of this the platforms are usually more restricted, and difficult to troubleshoot. Despite this they are still an adequate and supported option. +PaaS Hosting is usually more expensive, but a simpler to setup solution, which removes the need for securing a server, SSH configurations, terminal usage, and similar. However, because of this the platforms are usually more restricted, and difficult to troubleshoot. Despite this they are still an adequate and supported option. [Heroku](https://www.heroku.com/) -[Railway](https://railway.com/) \ No newline at end of file +[Railway](https://railway.com/) + +{% hint style="danger" %} +## A Caution on Free Pterodactyl based hosts. + +Many hosting "companies" have popped up in recent years using the free, open source, [Pterodactyl](https://pterodactyl.io/) hosting platform. These hosting sites are particularly problematic. With the biggest concern usually revolving around **your data security**. Many, if not all, of these platforms do not provide, possess, or follow proper agreements relating to the access of your uploaded information. This includes your MongoDB Conncection URI, and Bot Token, allowing the "staff" of these "companies" to access any message ever sent to or from your bot, any message in your server, and carry out actions as your bot (ie. deleting channels, reading messages, banning users). + +Additionally, many of these hosts are run with substandard hardware and infrastucture, usually resulting to temporary IP bans from Discord, poor uptime, poor performance, improper dependancy installation, and more. + +We **strongly** encourage you to conduct **full and complete** research before using these hosts. *Our general recommendation is to: **avoid them.*** + +{% endhint %} \ No newline at end of file diff --git a/choose-host/unrecommended-hosts.md b/choose-host/unrecommended-hosts.md index 96c01f3..1699ee2 100644 --- a/choose-host/unrecommended-hosts.md +++ b/choose-host/unrecommended-hosts.md @@ -30,7 +30,7 @@ description: These hosts are hosts we, and members of our community have had lit ### Discord Bot Hosting - [Website](https://discordbothosting.com/) -- Pterodactyl based host that can have issues with ratelimits due to shared IP addresses and reasons that have been listed below. +- Pterodactyl based host that can have issues with ratelimits due to shared IP addresses and reasons that have been listed above. ### Kairo Hositing - Discord Only diff --git a/installation/README.md b/installation/README.md index d719c92..f52b35c 100644 --- a/installation/README.md +++ b/installation/README.md @@ -4,7 +4,7 @@ description: Modmail hosting and installation guide. # Installation -Modmail is a self-hosted bot. This unfortunately means that there's **no** public bot invite. Furthermore, due to the inner workings of the bot and its highly customisable interfaces, you will need to host your own dedicated Modmail bot. +Modmail is a self-hosted bot. This unfortunately means that there's **no** public bot invite. Due to the inner workings of the bot and its highly customisable interfaces, you will need to host your own dedicated Modmail bot. This section provides setup instructions for Modmail on many hosting methods, both **free[^1] and paid**. @@ -126,10 +126,14 @@ You **must leave on** all permissions excepted for _Administrator_ (optional). H Do you have a separate staff server? -If you manage a large server where you have a separate server for communication among your moderation team, Modmail supports directing threads into the staff server instead of your main (public) server. +If you manage a large server where you have a separate server for communication among your team, Modmail supports directing threads into the staff server instead of your main (public) server. (In our docs, when we refer to "mailbox server" or "inbox server" we are referring to this server that your threads are created in.) You will need to invite your Modmail bot to **both** your main (public) server and your staff server using the same invite link above. +{% hint style="info" icon="location-dot">%} +You can add your Modmail bot to multiple different servers if you manage multiple. For example if you have a primary server, a gaming focused server, and a staff server. All threads will go to your staff server, but can be submitted by members of any of your servers. However, please note, that there is reduced functionality when using this approach. +{% endhint %} + Your bot should now be **offline** in your server. Congratulations, that's as expected! You have successfully created a Discord bot. The next step is to [create a MongoDB database](./#create-a-mongodb-database). @@ -138,7 +142,13 @@ Your bot should now be **offline** in your server. Congratulations, that's as ex Modmail uses MongoDB to store its internal configurations and log histories. You must create a MongoDB database in order to use Modmail. -We will be using [MongoDB Atlas](https://www.mongodb.com/atlas), which provides us with a free 512MB storage share—more than enough for Modmail. +We will be using [MongoDB Atlas](https://www.mongodb.com/atlas), which provides us with a free 512MB storage share, more than enough for Modmail. *If you are concerned about storage space, this free cluster will last you around 300k log entries, or around 3 million messages, it is extremely rare to hit this limit, even in some of the biggest and busiest servers.* + +{% hint style="info" %} +Throughout this entire section, you may find that exact page layouts, icons, and buttons have been changed or relocated on the screen. This is not a problem and will not stop you from deploying Modmail. Simply look at the page being displayed, look at the screenshot, and you will be able to find what you need with minimal complication. + +MongoDB Atlas significantly alters their user interface on an overly-frequent basis, and the Modmail team does not have the time or bandwidth to take new screenshots to reflect the sometimes multiple times per month changes. +{% endhint %} ### Requirements @@ -173,7 +183,7 @@ It's possible that you verified your email in a different browser session, or yo In this case, you can still follow the same steps below, but first click **Build a Database**: -Screenshot of homepage and click build a database. +Screenshot of homepage and click build a database. @@ -193,7 +203,7 @@ On the following **Security Quickstart** page, do the following: 1. Authentication method: _Username and Password_ - Username: `modmail` + Username: `modmail` *(You can use anything you wish for this field, however, keep it short and avoid any special characters. For most users, we recommend keeping `modmail`.)* Password: Click **Autogenerate Secure Password** - don't type your own password! 2. Copy and **save the password** in your Notepad, you will need this for later. @@ -264,7 +274,7 @@ You finished the MongoDB steps! At this point, your bot should still be **offlin Once you have finished the previous steps, gather and save the variables listed below as they will be needed to run your bot in later steps: * `TOKEN` - The token to run your Modmail application under your Discord bot account -* `LOG_URL` - Logviewer URL that will be used to view threads in your web browser. *Please view the below **Danger** block if you do not intend on using a Logviewer. +* `LOG_URL` - Logviewer URL that will be used to view threads in your web browser. *Please view the below **danger** block if you do not intend on using a Logviewer.* * `GUILD_ID` - The ID of the main Discord server that your bot will operate in. * `MODMAIL_GUILD_ID` - **\[Optional]** The ID of the Discord server that your bot will create ticket channels in. This is only needed if you want your ticket channels to be created in a separate server, for an example, Staff Server. * `OWNERS` - The user ID of the Discord accounts you want to set as owner for the bot. Can consist of multiple users, separated by comma. @@ -283,13 +293,17 @@ CONNECTION_URI=mongodb+srv://username:password@cluster0-abcde.mongodb.net/ {% endcode %} {% hint style="danger" %} -**DANGER!!** - `LOG_URL` Enviornment Variable without a Logviewer +**DANGER** - `LOG_URL` Enviornment Variable without a Logviewer *This is only relevant if you choose not to use a logviewer with your Modmail Instance, if you intend on having a fully featured instance, you can safely ignore this block.* If you do not intend on using a Logviewer for your Modmail Instance, you must still ensure `LOG_URL` is set to a valid FQDN (Fully Qualified Domain Name). You can leave it as `example.com` or change it to anything else, but, do **not** delete the row, or set a value that is not an FQDN. `none`, `local`, `12032`, etc are **not** FQDNs. -If you set the `LOG_URL` to an invalid FQDN, Discord will not handle it well and you will experience issues with thread creation. +If you set the `LOG_URL` to an invalid FQDN, Discord will not be able to render it properly and you will experience issues with thread creation. +{% endhint %} + +{% hint style="success" %} +Congratulations! You have now completed all of the backend setup steps to get your Modmail ready, you can now move on to getting it deployed with the host of your choice. If you haven't chosen your host yet, check out our [Choosing a Host considerations](../choose-host/README.md). {% endhint %} @@ -305,7 +319,9 @@ A platform as a service (PaaS) that offers relatively low cost plans, which allo ### [Local Hosting](local-hosting-vps/) (free) -If you have an old PC, a Raspberry Pi, or a Linux box that you're able to keep online 24/7, you can also host Modmail with your own machine at home. Since Modmail doesn't require intensive resources to run, you can get by with a system having as low as 1GB of RAM. Setting it up can be quite advanced but you have complete control over your bot instance. Refer to our local hosting guide supporting a few popular OSes by clicking [here](./#local-hosting-free). +If you have an old PC, a Raspberry Pi, or a Linux box that you're able to keep online 24/7, you can also host Modmail with your own machine at home. Since Modmail doesn't require intensive resources to run, you can get by with a system having as low as 1GB of RAM. Setting it up can be quite advanced but you have complete control over your bot instance. Refer to our local hosting guide supporting a few popular OSes by clicking [here](local-hosting-vps/). + +> A tip for Local Hosting: if you don't want to, don't know how to, or don't feel comfortable exposing your local machine to the internet for the Logviewer component of Modmail, Lorenzo from the Modmail team offers FREE logviewer hosting! Check it out [here](./free-logviewer.md) ### [Modmail Team Hosting](https://buymeacoffee.com/modmaildev) (paid) @@ -313,10 +329,14 @@ We offer paid hosting solution for your Modmail bot. Hosting Modmail with us cos We will also fully manage your bot hosting for you, so you don't need to worry about upgrading or setting up your own host server. Refer to our [Patreon Hosting here](https://buymeacoffee.com/modmaildev). +See guide [Modmail Panel Hosting](./modmail-panel.md) + ### [modmail.lvh.lol](https://modmail.lvh.lol) (paid) Run by a member of our community, this hosting provider has a purpose built software stack for hosting Modmail, logviewer not included. +See guide [Modmail Panel Hosting](./modmail-panel.md). + ### [Heroku](heroku.md) (paid) Another popular PaaS that's used to be free. However, their recent pricing adjustments, it now costs $5-7 USD per month to host Modmail. diff --git a/installation/community-guides.md b/installation/community-guides.md index 214ca85..5177cc9 100644 --- a/installation/community-guides.md +++ b/installation/community-guides.md @@ -14,6 +14,8 @@ An online code execution environment that costs $7 USD per month. However, hosti {% hint style="warning" %} Replit is on the Modmail Team's unrecommended hosts list. See more details on the [unrecommended hosts page](../choose-host/unrecommended-hosts.md) + +**The Modmail team does not provide any support of any kind to anyone hosting with Repl.it.** {% endhint %} ## [Oracle Guide](https://docs.lidistat67.eu/) by lidistat67 diff --git a/installation/free-logviewer.md b/installation/free-logviewer.md new file mode 100644 index 0000000..e27a769 --- /dev/null +++ b/installation/free-logviewer.md @@ -0,0 +1,98 @@ +--- +description: How to setup Lorenzo's Free Logviewer Hosting +--- + +# Free Logviewer Hosting from Lorenzo + + +[Lorenzo](https://lvh.lol), a long time contributor, supporter, and administrator in our community provides a free logviewer hosting service at this own expense to members of the Modmail community. Hosting using this service is facilitated through the Modmail project's official Discord server, which you can join [here](https://discord.gg/cnUpwrnpYb). + + +## Limitations +* You can only host three free logviewers with this service. Using secondary accounts, or other methods to bypass this limit may result in permanent restriction from the service. Please do not take abuse Lorenzo's selfless generosity. (He is providing this completely at his own expense.) + * If you wish to host additional logviewers with this service, DM our Modmail and you may be able to work out a deal at Lorenzo's discussion. +* Logviewers hosted can only be subdomains of the `logs.vodka` domain. (Ex: `[yourlogviewenamehere].logs.vodka`). + +## Requirements +* Join our Discord Server +* Host your MongoDB connection URI using MongoDB Atlas (locally hosted databases are not supported). +* Set your MongoDB database Network Security to be accessible from anywhere. *See an excerpt of our [installation guide](./README.md) below if you did not do this during installation.) + +
+Allow Database Access from Anywhere +
Screenshot of setting the whitelist IP, then click add entry.

Set IP Address to 0.0.0.0/0, then click Add Entry.

+
+ +## Setup Steps + +{% stepper %} +{% step %} +Have your MongoDB URI ready to go, you can use the same database account you used for your bot. Take a look at your `.env` file or enviornment variables if you don't have yours handy. +{% endstep %} +{% step %} +Choose the name you'd like for your logviewer, most people use a version of their server name. +{% endstep %} +{% step %} +Run this command + +``/logviewer add [name] [mongouri]`` + +![image](../.gitbook/assets/FREE-LV-4) +![image](../.gitbook/assets/FREE-LV-3.png) + + +{% hint style="success" %} +It is really that simple, your Logviewer is now ready to go. +{% endhint %} + +{% hint style="info" %} +It may take a few minutes before you are able to visit the newly deployed logviewer for a variety of reasons beyond Lorenzo, the Modmail team, or your control. If you can't access it right away wait 5-10 minutes, clear your browser cache, and try again. + +While unusual, depending on the settings for your computer and network, it could take up to an hour, be patient and it should work itself out behind the scenes. +{% endhint %} + +{% endstep %} +{% endstepper %} + +## Viewing Your Logviewers + +{% stepper %} +{% step %} +If you forget how many, or what logviewers you have created with the service, you can use this command to see what they are: + +``/logviewer list`` + +![image](../.gitbook/assets/FREE-LV-2.png) +{% endstep %} +{% endstepper %} + +## Deleting a Logviewer + +{% stepper %} +{% step %} +To delete your logviewer at any time, you can use this command: + +``/logviewer delete [name]`` + +![image](../.gitbook/assets/FREE-LV-1.png) +![image](../.gitbook/assets/FREE-LV-5.png) + +{% hint style="info" %} +If for any reason you want to rename your logviewer, the easiest way to do this would be to delete it, and then create it again with a new name while using the same MongoDB URI. +{% endhint %} + +{% endstep %} +{% endstepper %} + +
+Version History + +{% updates format="full" %} +{% update date="2026-06-04" %} +## Initial Creation + +Initial creation of docs page for using the Free Logviewer Hosting from Lorenzo. +{% endupdate %} +{% endupdates %} + +
\ No newline at end of file diff --git a/installation/modmail-panel.md b/installation/modmail-panel.md new file mode 100644 index 0000000..57019a1 --- /dev/null +++ b/installation/modmail-panel.md @@ -0,0 +1,168 @@ +--- +description: Deploy Modmail on Heroku PaaS. +--- + +# Modmail Panel Hosting + +The Modmail Hosting Panel, or Modmail Panel is a custom software stack that is designed for doing one thing, hosting Modmail. Because of this, it has an intuitive user interface, and a number of features that allow for a simple hosting experience. While similar in concept to systems like Pterodactyl, instead of trying to shoehorn a Discord bot into a game hosting platform, the platform starts Modmail first. + +Currently, there are only two hosting options that use the Modmail Panel: + +
+ +Modmail Team Hosting + +We offer paid hosting solution for your Modmail bot. We will also fully manage your bot hosting for you, so you don't need to worry about upgrading or setting up your own host server. Refer to our [BMAC Hosting here](https://buymeacoffee.com/modmaildev/membership). + +Prices start at $4 per month. + +
+
+modmail.lvh.lol by Lorenzo +Run by a member of our community and team, this is the birthplace of the Modmail panel. *The Modmail Team does not necessarily endorse this hosting provider.* + +Check it out at [modmail.lvh.lol](https://modmail.lvh.lol). + + +Prices start at $1.50 per month. +
+ +## Requirements +* Before setting up your bot on the Modmail Panel, you'll need to have all the elements we discuss in our [Installation Guide](/README.md): + * Discord Bot Token + * MongoDB Connection URI + * Server ID + * Logviewer URL + * Bot Owner ID(s) + +## Setup + +{% hint style="info" %} +For the purpose of this tutorial, the screenshots were taken on [modmail.lvh.lol](https://modmail.lvh.lol), however, if you are a Patreon or Buy Me a Coffee (BMAC) supporter, your process will be identical, but on our internal Modmail Panel. You can find the link in the Modmail Lounge server. +{% endhint %} + +{% stepper %} + +{% step %} +Login to the Modmail Panel using your Discord Account. For Buy Me a Coffee subscribers, you'll need to enter your email to link your BMAC membership to your Discord account in our system. + +

This is the Login page for the panel, press "Login with Discord" to get started.

+{% endstep %} + +{% step %} +Once you have logged in, and linked your BMAC account if necessary, you'll need to press **Create Instance** to open the creation screen. + +

This is the homepage of the panel once you have logged in. Press Create Instance to begin.

+{% endstep %} + +{% step %} +Next, give your instance a friendly name, this can be anything, for most people, it makes sense to use your server's name. + +Also on this screen enter your: +* Token +* Server ID +* Any additional Owner IDs (yours will be autofilled) +* Log URI +* MongoDB Connection URI + +If you still need to get this information reference our [Installation Guide](/README.md) for step by step instructions. + +Once you have correctly entered these steps, press **Save Settings** and then confirm when prompted. + +

Enter the correct values into each of the fields shown, press the **Save Settings** box when completed.

+ +

After saving settings, you will receive a confirmation prompt to ensure you wish to change your bot's values, press **Ok**.

+{% endstep %} + +{% step %} + +{% hint style="info" %} +For most users, it is recommended to leave the default selection of the **Master** branch with the **default** version. + +If you have a reason to change this (such as needing experimental bug fixes in the Development branch), you can change this now, and then press the **Update Instance** button. +{% endhint %} + +Once you have entered your bot's settings, press the green **Start** button to start the instance. + +

Press Start to boot up your instance for the first time.

+ +

Below your bot's settings, you can see the logs of your bot at any time. During setup it will simply display "(Waiting for bot to initialize...)". If there are issues during setup they will display here when you press Refresh.

+ +{% endstep %} + +{% step %} +Within 2-3 minutes your bot should go online in your server. + +
+If not... +If it does not come online within 2-3 minutes, press the **Refresh** button on the logs to see what went wrong. +

Below your bot's settings, you can see the logs of your bot at any time. During setup it will simply display "(Waiting for bot to initialize...)". If there are issues during setup they will display here when you press Refresh.

+
+ +

Your logs will look something similar to this once your setup is complete.

+ +You can stop or restart your bot at any time using the **Stop** and **Restart** buttons at the top of the page. + +
+ +{% hint style="success" %} +You have successfully deployed your Modmail bot using the Modmail Panel! You can now run `?setup` to get started. Take a look at our [usage guide](../usage-guide/README.md) if you need additional help. + +*Note: as of the time of writing, on June 4th, 2026, the Modmail Panel does not support logviewer hosting, you'll need to handle this in other ways. For Patreon/BMAC supporters, contact the Modmail bot in the Modmail Lounge server for further assistance.* +{% endhint %} + +{% endstep %} + +{% endstepper %} + + + +## Sharing Access to your Modmail Instance + +If you have a server co-owner, or top team member who may need access to restart your bot, view its logs, or change configuration variables, you can share access to your Modmail instance directly in the Modmail Panel. + +{% stepper %} + +{% step %} +Login to the Modmail Panel for your host and navigate to the bot you wish to share. + +

Each bot has its own sharing settings, so if you'd like to share multiple bots, you'll need to do one at a time.

+{% endstep %} +{% step %} +On the right under **Statistics** there is a field to enter the Discord User ID of the user you wish to share access with. For more details on obtaining someone's User ID, check our this [Discord Support Article](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID). + +You can share your Modmail instance with as many users as you would like, but, you'll need to add each User ID in one at a time. + +

Paste the user you wish to share access with in the field labeled User ID then press the + button.

+ +{% endstep %} +{% step %} +{% hint style="success" %} +You have now successfully shared access to your Modmail instance to another user. They can now login to the Modmail Panel using their Discord account and access your bot. Their access will look like this: + +

A new Shared With Me section will appear for all users with Modmail instances shared with them.

+ +{% endhint %} +{% endstep %} +{% endstepper %} + +### Removing Access to a Shared Instance + +If you have shared your bot with someone else, you can revoke their access at any time by pressing the **X** next to their username. See red box in the screenshot below: +
+ +If you have had a bot shared with you that you no longer wish to have access to, you can use the **Leave Instance** button as seen in the red box below: +
+ +
+Version History + +{% updates format="full" %} +{% update date="2026-06-04" %} +## Initial Creation + +Initial creation of docs page for using the Modmail Panel. +{% endupdate %} +{% endupdates %} + +
\ No newline at end of file diff --git a/usage-guide/permissions.md b/usage-guide/permissions.md index f3eec95..9a816fa 100644 --- a/usage-guide/permissions.md +++ b/usage-guide/permissions.md @@ -54,7 +54,7 @@ Examples: Starting in v4.2.2 (check version with `?about`), permissions can be overridden in bulk. To start the process run: -`?permissions override bulk`` +`?permissions override bulk` *** If you need help setting up permissions, feel free to join our [Discord server](https://discord.gg/zmdYe3ZVHG) and DM Modmail. One of our support members will help you. \ No newline at end of file