-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop #400
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes across multiple files to enhance the functionality and improve the user experience of the application. The most important changes include updates to environment variables, the addition of new enums and events, and modifications to various controllers to support new features and optimizations.
Environment Variable Updates:
.env.example
: Added new settings for enforcing 2FA for staff, enabling BanWarden, and configuring its options. [1] [2]New Enums and Events:
app/Enums/PlayerPunishmentType.php
: Introduced a new enum for player punishment types.app/Enums/ServerVersion.php
: Added support for Minecraft version 1.21. [1] [2]app/Events/BanWardenPlayerPardoned.php
: Created a new event for when a player is pardoned by BanWarden.app/Events/BanWardenPlayerPunished.php
: Created a new event for when a player is punished by BanWarden.Controller Modifications:
app/Http/Controllers/Admin/CommandQueueController.php
: Added logic to handle parsed commands for player password reset tags.app/Http/Controllers/Admin/DashboardController.php
: Enhanced KPIs and added cache support for the queue last processed time. [1] [2] [3] [4]app/Http/Controllers/Admin/PlayerIntelController.php
: Added authorization checks and hid sensitive player data based on user permissions. [1] [2] [3]app/Http/Controllers/Admin/ServerController.php
: Updated validation and storage logic for server settings, including BanWarden options. [1] [2] [3] [4]app/Http/Controllers/Admin/Settings/DangerSettingController.php
: Integrated cache management for ongoing truncation tasks. [1] [2] [3] [4] [5]