Skip to content

Releases: imluckii/AdvancedSudo

v2.0.0

Choose a tag to compare

@imluckii imluckii released this 14 Jun 01:23

What's New

  • Added partial-username-min configuration to set the minimum characters required for partial username matching.
  • Implemented blacklist functionality to prevent sudoing specific players in both /sudo and /sudoall commands.
  • 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

Choose a tag to compare

@imluckii imluckii released this 29 Apr 00:13
39b7675

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

Choose a tag to compare

@imluckii imluckii released this 25 Apr 20:41
c2d36ad

About

This plugin introduces two commands to your server:

  • /sudo

    • Usage: /sudo <player> <message>
    • Allows you to send messages as another player.
  • /sudoall

    • Usage: /sudoall <message>
    • Allows you to send messages as all online players.

Permissions

  • sudo.command

    • Default: op
    • Allows players to use the /sudo command.
  • sudoall.command

    • Default: op
    • Allows players to use the /sudoall command.

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