Skip to content

Adds "/sudo" and "/sudoall" to your PocketMine server.

License

Notifications You must be signed in to change notification settings

imLuckii/AdvancedSudo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This plugin introduces two commands to your server:

  • /sudo

    • Usage: /sudo <player> <message>
    • Description: Send messages as another player.
  • /sudoall

    • Usage: /sudoall <message>
    • Description: Send messages as all online players.

Permissions

  • sudo.command

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

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

Configuration

# Config Version
# DO NOT CHANGE THIS
config-version: "1.0"

# If enabled, when you use the "/sudo" command, you can type part of a username
# (at least the specified minimum number of characters), and it will return the matching player.
partial_username: true

# The minimum number of characters required for partial username matching.
# This value is used when partial_username is set to true.
# Example: If set to 2, typing '/sudo Ni' can match 'NightDevil9440'.
partial-username-min: 2

# List of player names that are blacklisted from being sudoed using /sudo or /sudoall commands.
# Separate each player name with a comma.
# Example:
# blacklist: NightDevil9440, BoxierChimera37
blacklist: NightDevil9440, BoxierChimera37

Issue Reporting

If you encounter any bugs or glitches, please create an issue here.

Suggestions

Any suggestions you may have to improve AdvancedSudo are welcome. Feel free to create an issue here.

Contribution

If you want to contribute to this project, create a pull request here.

About

Adds "/sudo" and "/sudoall" to your PocketMine server.

Resources

License

Stars

Watchers

Forks

Languages