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 SpySession

Spying/logging session

aliuly\common\Session implements pocketmine\event\Listener
Extended by aliuly\common\SpySession
Namespace: aliuly\common
Located at aliuly/common/SpySession.php
Methods summary
public
# __construct( pocketmine\plugin\PluginBase $owner, $privacy = null, $exPerms = null, $notice = null )

Parameters

$owner
  • plugin that owns this session
$privacy
$exPerms
$notice

Overrides

aliuly\common\Session::__construct()
public
# setLogging( callable $cb )

Enable/disable console logging

Enable/disable console logging

Parameters

$cb
  • Callback to execute when logging, otherwise null to disable
public boolean
# isLogging( )

Return if logging is enabled or not...

Return if logging is enabled or not...

Returns

boolean
public
# configTap( pocketmine\Player $pl, callable $cb )

Enable/disable tapping

Enable/disable tapping

Parameters

$pl
  • Player that will receive taps
$cb
  • Player being spied upon, either a string or Player instance
public boolean
# isTapping( pocketmine\Player $pl )

Check if a player is Spying

Check if a player is Spying

Parameters

$pl
  • Player that is tapping

Returns

boolean
public str[]
# getTaps( pocketmine\Player $pl )

Return taps

Return taps

Parameters

$pl
  • Player that will receive taps

Returns

str[]
public
# setTap( pocketmine\Player $pl, pocketmine\Player|str|null $v, $ena = true )

Start/Stop tapping

Start/Stop tapping

Parameters

$pl
  • Player that will receive taps
$v
$n - Start tapping a player, console, everything, etc...
$ena
protected
# logEvent( $n, $msg )
public
# onPlayerCmd( pocketmine\event\player\PlayerCommandPreprocessEvent $ev )

Priority

MONITOR
public
# onRconCmd( pocketmine\event\server\RemoteServerCommandEvent $ev )

Priority

MONITOR
public
# onConsoleCmd( pocketmine\event\server\ServerCommandEvent $ev )

Priority

MONITOR
public
# onJoin( pocketmine\event\player\PlayerJoinEvent $ev )
Methods inherited from aliuly\common\Session
getState(), onPlayerQuit(), setState(), unsetState()
Constants summary
string RCON
# "*RCON*"
string CONSOLE
# "*CONSOLE*"
Properties summary
protected $conlog
#
protected $privacy
#
protected $exPerms
#
protected $notice
#
Properties inherited from aliuly\common\Session
$plugin, $state
API documentation generated by ApiGen