Releases: imluckii/AdvancedSudo
Release list
v2.0.0
What's New
- Added
partial-username-minconfiguration to set the minimum characters required for partial username matching. - Implemented blacklist functionality to prevent sudoing specific players in both
/sudoand/sudoallcommands. - Enhanced config file with detailed comments for better clarity.
Changes
- Support version 1.21.0 (API version 5.16.0).
- Changed the author's name from "imLuckii" to "imluckii".
v1.0.0_poggit-fix
This release focuses on ensuring compliance with Poggit rules, particularly regarding namespace format, command fallback prefix, plugin identifiability, and permission names:
-
Namespace Format (C1a):Updated the plugin namespace to follow the format "AuthorName\PluginName" to ensure uniqueness and prevent collisions with other plugins. -
Command Fallback Prefix (C2a):Adjusted command registration to use the plugin name as the fallbackPrefix parameter, aligning with Poggit guidelines. -
Plugin Identifiability (C2b):Implemented the PluginOwned interface for all commands and utilized the PluginOwnedTrait utility trait for easier implementation and better plugin identification. -
Permission Names (C3):Modified permission names to begin with the plugin name, ensuring compliance with Poggit standards. Removed any non-alphanumeric characters from permission names.
These changes were made to enhance the plugin's compatibility and adherence to Poggit rules.
v1.0.0
About
This plugin introduces two commands to your server:
-
/sudo
- Usage:
/sudo <player> <message> - Allows you to send messages as another player.
- Usage:
-
/sudoall
- Usage:
/sudoall <message> - Allows you to send messages as all online players.
- Usage:
Permissions
-
sudo.command- Default: op
- Allows players to use the
/sudocommand.
-
sudoall.command- Default: op
- Allows players to use the
/sudoallcommand.
Config
# If enabled, when you use the "/sudo" command, you can type part of a username (at least 3 characters), and it will return the matching player.
partial_username: false