I believe only OPs will see that you gave yourself an effect. Normal players can only tell by your particles.
wrong question , you don't want to know how to hide a command. you want to know how to delete a message sent by a command. well, you need to modify the command class: https://github.com/PocketMine/Pocke...pocketmine/command/defaults/EffectCommand.php deleting sendMessage()
No need to modify nothing.. Just detect when the player does /effect and cancel the event.. It's just that easy there isn't a need of modifying the EffectCommand.php
Only players with the permission pocketmine.command.effect will see the message. OPs gave that permission by default.
PHP: // Nasty code belowonCommand(PlayerCommandPreProcessEvent $e){ $msg = $e->getMessage(); $msg = explode(" ", $msg); $msg = $msg[0]; $msg = substr($msg, 1, strlen($msg)); if(strtolower($msg) == 'effect') $e->setCancelled(true);}