We're excited to introduce Plex Staff v2.0.0, the biggest product update we've ever released across all our products! This version brings a fully redesigned dashboard, advanced moderation features, and major backend improvements to enhance both performance and usability. We have also moved a lot of configuration to the web dashboard instead of config.yml. This makes setting up and configuring the bot much easier, allows for faster updates, and eliminates the need to restart the bot every time you make a change!
Additions:
- Added an Advanced Report System
- Added more auto moderation, (Spam protection, Anti Discord Invite Links, Anti Phising Links), integrated with the punishment system
- Added a temporary ban system
- Added an option to automatically users back to the server if their appeal gets accepted
- Added custom commands (Fully configurable on the web dashboard)
- Added 'trustProxy' option to config.yml that allows you to specify how many proxies your application sits behind
- Added timeoutUser function
- Enabled additional gateway intents to support more addons (GuildInvites, GuildMessageReactions, GuildModeration)
Modifications:
- The dashboard has been completely redesigned with a modern, clean, and user-friendly interface.
- The dashboard is now fully responsive, ensuring an optimal experience across all devices.
- You can now change the accent color of the dashboard to better match your server’s design
- Completely revamped the statistics system to track weekly, monthly, and yearly data with an improved stats page that lets you switch between viewing weekly, monthly yearly, statistics visualizations.
- You can now view profiles of users that aren't in your server
- Optimized message processing with caching and other improvements, significantly improving performance for high-traffic servers.
- Staff Members will now only see navigation tabs they have permission to access
- Updated Discord.js to v14.18.0
- Strengthened CAPTCHA verification system with secure token expiry, improved error handling, and bypass protection.
- Revamped the design of all embeds
- Improved bot activity configuration, allowing ActivityType and Status to be set simultaneously, with added support for IDLE and DND modes.
- Improved /history command
- Improved /slowmode command
- Improved /clearchannel command and added confirmation
- Improved /ban command
- Improved /kick command
- Improved /timeout command
- Improved /purge command and added an option to only purge messages from a specific user
- Restricted the /help command to staff members
- Fixed some issues with FullAccessUsers
- Fixed ephemeral deprecated warning
- A lot of backend changes and improvements have been made
Removals:
- Removed all watermarks
- Removed overview page
Addon System Changes:
Breaking Change: All current addons with event listeners need to be updated.
- All addon events are now handled through the same event listener as the main bot. This prevents issues like "Unknown interaction" errors caused by duplicate listeners.
- Event listeners must now use the register function and be placed in separate files.
Additions:
- Added overview page (beta), This page allows you to see all messages sent across your server in real-time, to make moderation easier, you can also delete each message directly from the dashboard
- Added OVERVIEW_MESSAGES permission
- Added an option to change the timezone. This will affect all timestamps on the dashboard.
- Added session expiration configuration option (allows you to change how long before a user gets automatically logged out after the bot gets restarted)
- Added "Secure" option to the dashboard if you are using HTTPS
Modifications:
- Improved the navbar, it is now more responsive
- Improved slash command handler to prevent unknown interaction errors
- FullAccessUsers in the config will now bypass role priority check and action limits
- Long messages now wrap correctly and stay within the "Recent Messages" container.
- Fixed an issue causing the "Remove" button on the staff page to not work
- Fixed an issue where accessing the staff page resulted in an "Unknown user" error in some cases.
- Fixed "Cannot read properties of undefined (reading 'toLocaleString')" error on home page
- Fixed errors when adding a staff member on the dashboard
- Fixed an issue causing you to be able to add random numbers/invalid ids as staff members on the dashboard
- Fixed the color logic for staff member usernames in the recent punishments list, Usernames now correctly display as red for bans
Removals:
- "Note" button on the Members list page has been removed, and is now only available on their profile, to make space for other features
Additions:
- Added alt prevention system, fully integrated with the main punishment system
- Added an option to hide appealed punishments from users punishment histories
- Added an option to disable saving recent messages, and changing the limit of messages saved
- Usernames on the View Appeal and Punishment Lookup pages are now clickable and redirects you to their user profile to improve user experience
- Added the "Appealable" option in punishment configurations, allowing you to decide whether users can appeal specific punishments.
- Added unban command, with "UNBAN_USERS" permission
- Added "FullAccessUsers" option in the config for non-server owners setting up Plex Staff, allowing specified users to have full access.
- Added userDM function
- The DM button on user profiles is now functional
Modifications:
- Fixed "getFileExtension is not defined" error in some cases when viewing appeals and punishments
- Fixed an issue causing the ban message in "Recent punishments" and appeals page to be pink instead of red
- Possibly fixed "Cannot read properties of null (reading 'channels')" error
- Possibly fixed an error when logging in to the dashboard
- Fixed an issue causing appealID to not be updated in the database when an appeal gets accepted, which made the inactive appeal message not redirect to anything
- Fixed some issues with the edit/remove button on the staff management page
- Fixed an issue causing you to be able to clear timeouts even if the user didn't have an active timeout
- Fixed an issue causing warnings to dm the user even if it was disabled in the config
- Fixed an error with the clearchannel command
Removals:
- Removed the watermark from the login page
- Fixed an error when starting the bot for the first time
- Fixed permission error when logging in to the dashboard
