A PocketMine-MP plugin to clear server console using command. This plugin is roughly equivalent to cls
command on Windows or clear
command on Linux.
This plugin is not planned to be released on Poggit, because it may break Rule A1 or A2 (see Poggit Rules for more information, and remember to use common sense!).
This plugin clears the console when the clearconsole
command (Alias: cc
) gets executed. This plugin prints \e[H\e[J
character to console to clear the console. This plugin ensures the command will only show and work on console by using CommandEvent
to capture the command and cancelling the event to prevent unexpected outputs (e.g. Unknown command) if the sender is from the console.
- Only works in console
- Command gets hidden in command suggestions and help page (Player)
- Sends unknown command message whenever a player tries to execute the command
- API to clear the console (
ClearConsole::clear()
)
- Download the latest version from GitHub Releases or Poggit CI below:
- Stable version (Recommended for most users): Latest | All releases
- Build version (Only recommended for advanced users): Poggit CI
- Drop the downloaded
KygekClearConsole.phar
plugin file into your PocketMine-MP server'splugins
directory. - Restart your server and you're ready to test the plugin!
Command | Description | Aliases |
---|---|---|
/clearconsole |
Clears server console | /cc , /cls and /clr |
Licensed under the GNU General Public License v3.0 license.