Overview

Namespaces

  • aliuly
    • common
      • selectors
    • loader
  • xPaw

Classes

  • ArmorItems
  • BasicCli
  • BasicHelp
  • BasicPlugin
  • ChatSession
  • Cmd
  • CmdSelector
  • ExpandVars
  • FastTransfer
  • FileUtils
  • FreezeSession
  • GetMotd
  • GetMotdAsyncTask
  • InvisibleSession
  • InvUtils
  • ItemName
  • mc
  • mc2
  • MoneyAPI
  • MPMU
  • Npc
  • PermUtils
  • PluginAsyncTask
  • PluginCallbackTask
  • PMScript
  • QueryAsyncTask
  • Rcon
  • RconTask
  • Session
  • ShieldSession
  • ShoppingCart
  • SignUtils
  • SkinUtils
  • SpySession
  • SubCommandMap
  • TPUtils
  • Overview
  • Namespace
  • Class

Class InvisibleSession

Invisible Player sessions

NOTE, if GrabBag is available, it will use the GrabBag invisible implementation. This gives you a command line interface and also reduces the number of listeners in use.

aliuly\common\Session implements pocketmine\event\Listener
Extended by aliuly\common\InvisibleSession
Namespace: aliuly\common
Located at aliuly/common/InvisibleSession.php
Methods summary
public
# __construct( pocketmine\plugin\PluginBase $owner )

Parameters

$owner
  • plugin that owns this session

Overrides

aliuly\common\Session::__construct()
public
# invisible( pocketmine\Player $player, boolean $invis )

Make player invisible

Make player invisible

Parameters

$player
  • player to change
$invis
  • if true (default) invisible, if false, visible.
public
# isInvisible( pocketmine\Player $player )

Check if player is invisible...

Check if player is invisible...

Parameters

$player
  • player to check
public
# onPlayerJoin( pocketmine\event\player\PlayerJoinEvent $e )

Make sure that players are invisible to recent joiners... --- this will conflict with SimpleAuthHelper's hide unauth players

Make sure that players are invisible to recent joiners... --- this will conflict with SimpleAuthHelper's hide unauth players

Methods inherited from aliuly\common\Session
getState(), onPlayerQuit(), setState(), unsetState()
Properties summary
protected $api
#
Properties inherited from aliuly\common\Session
$plugin, $state
API documentation generated by ApiGen