A PocketMine-MP plugin that counts the played time of players.

Overview

Discord

PlayedTime - v0.0.1

BETA VERSION!

This is a test/beta version of PlayedTime. It can contain bugs and not fully tested things.


A plugins that allows you to save the played time of your players!

This plugin is a plugin that counts the played time of your players. It's inspired by OnlineTime :)

Features

  • top-list
  • session and total played times
  • customizable messages
  • ScoreHud addon: Poggit | GitHub

TODOs

nothing

Report Bug

You've found a Bug?

  • Go to Issues
  • Click on New Issue
  • Write your bug with all information that you have down
  • Send Issue
  • Now wait, I'll awnser you soon

Commands

Command Description
/playedtime help Shows you all commands of PlayedTime
/playedtime mytime Shows you your played time
/playedtime time [player: target] Shows you the played time of a player
/playedtime top Shows you the best played times

License:

This plugins his licensed under the Apache License 2.0! Plugin by supercrafter333!

Credits

Information: This plugin is inspired by OnlineTime.

Owner: supercrafter333

Icon: FabiGamer019 [Thank you]

Discord-Tag: supercrafter333#4062

Join the community

Discord Banner

You might also like...
Simple configurable plugin to see all commands executed by players
Simple configurable plugin to see all commands executed by players

About [FR] Simple plugin configurable permettant de voir toutes les commandes exécutées par les joueurs [ENG] Simple configurable plugin to see all co

An anti-inactivity plugin that kicks players who are AFK from server.

AntiAFK » Information This is a plugin that tries to prevent inactivity on your server. » Features Configurable in config.yml Reload command Bypass pe

Run a script in real time inside your pocketmine server!

Geral PlayScript is a plugin that allows you to run PHP code directly from the server by command. How to use Move your PHP code (must have a .php exte

A pool for players to mine money

MoneyPool v1.0.2 A pool for players to mine money

An advanced Mute Assistant to mute players.

IMPORTANT This plugin does not include AI Please follow me for more better projects :) MuteAssistant Mute players using a simple menu This plugin is s

Makes water in cauldrons boil when there's fire under it and allows players to cook food in the boil

BoilingCauldrons Makes water in cauldrons boil when there's fire under it and allows players to cook food in the boil • Description • Planned Features

Allow players to see how well they are doing while pvping with the help of a combo counter

Combo-Counter Allow players to see how well they are doing while pvping with the help of a combo counter Settngs / Config #set to false if you dont wa

Revived of weareblahs/unifi-tv. Watch free channels by unifi TV on any 3rd party IPTV players that support MPEG-DASH + Widevine!

unifi-tv-revived Revived of weareblahs/unifi-tv. Watch free channels by unifi TV on any 3rd party IPTV players that support MPEG-DASH + Widevine! What

Oui player - Manage configurable media players in @Textpattern CMS

oui_player Introduction An extendable plugin to easily embed customized audio and video players. . This plugin does not use oembed, it builds iframe e

Comments
  • Add settings to change the letters displayed in ScoreHud

    Add settings to change the letters displayed in ScoreHud

    As mentioned in supercrafter333's Discord, it would be very useful to add a setting which lets you change the letters you want to appear in the scorehud so that anyone can change it in their own way

    https://discord.com/channels/847099444465238036/847102241994833961/974317838699474975

    [I am opening this issue so that you can close it and let poggit know that it has been added and in case someone needs to see it].

    suggestion Status: Done 
    opened by MrBlasyMSK 2
  • crash

    crash

    #0 plugins/PlayedTime_dev-9.phar/src/PlayedTimeManager(189): DateInterval->__construct(string[1] P) #1 plugins/PlayedTime_dev-9.phar/src/PlayedTimeManager(216): supercrafter333\PlayedTime\PlayedTimeManager->getTimeFromConfig(object ipad54\netherblocks\player\Player#394171) #2 plugins/PlayedTime_dev-9.phar/src/PlayedTimeManager(119): supercrafter333\PlayedTime\PlayedTimeManager->calculateTotalTime(object ipad54\netherblocks\player\Player#394171) #3 plugins/PlayedTimeScore_dev-6.phar/src/listeners/EventListener(50): supercrafter333\PlayedTime\PlayedTimeManager->getTotalTime(object ipad54\netherblocks\player\Player#394171) #4 plugins/PlayedTimeScore_dev-6.phar/src/ScorehudUpdateTask(14): supercrafter333\PlayedTimeScore\listeners\EventListener->sendUpdate(object ipad54\netherblocks\player\Player#394171) #5 pmsrc/src/scheduler/TaskHandler(117): supercrafter333\PlayedTimeScore\ScorehudUpdateTask->onRun() #6 pmsrc/src/scheduler/TaskScheduler(144): pocketmine\scheduler\TaskHandler->run() #7 pmsrc/src/plugin/PluginManager(478): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 901) #8 pmsrc/src/Server(1769): pocketmine\plugin\PluginManager->tickSchedulers(integer 901) #9 pmsrc/src/Server(1658): pocketmine\Server->tick() #10 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor() #11 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/) #12 pmsrc/src/PocketMine(327): pocketmine\server() #13 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php) --- End of exception information --- [00:37:27.919] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump [00:37:27.932] [Server thread/EMERGENCY]: Please upload the "/home/container/crashdumps/Sun_May_15-00.37.27-UTC_2022.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can. [00:37:28.632] [Server thread/EMERGENCY]: The crash dump has been automatically

    invalid 
    opened by Missouriii 1
  • Crash if a player has a space in his name

    Crash if a player has a space in his name

    If you try to see the time played of a player with a space in the name it will crash Command used: /playedtime time "Player Space"

    PocketMine-MP Crash Dump Thu May 12 14:45:54 UTC 2022
    
    PocketMine-MP version: 4.3.2 [Protocol 503]
    Git commit: 755ca1af9b1b69226a6ed4597dc947aeec8088fe
    PHP version: 8.0.18
    OS: Linux, linux
    
    THIS CRASH WAS CAUSED BY A PLUGIN
    BAD PLUGIN: PlayedTime
    
    Error: supercrafter333\PlayedTime\PlayedTimeManager::getTotalTime(): Argument #1 ($player) must be of type pocketmine\player\Player|string, null given, called in phar:///home/container/plugins/PlayedTime_dev-8.phar/src/PlayedTimeCommand.php on line 176
    File: plugins/PlayedTime_dev-8.phar/src/PlayedTimeManager
    Line: 117
    Type: TypeError
    Backtrace:
    #0 plugins/PlayedTime_dev-8.phar/src/PlayedTimeCommand(176): supercrafter333\PlayedTime\PlayedTimeManager->getTotalTime(NULL )
    #1 pmsrc/src/command/SimpleCommandMap(220): supercrafter333\PlayedTime\PlayedTimeCommand->execute(object ipad54\netherblocks\player\Player#28889, string[10] playedtime, array[1])
    #2 pmsrc/src/Server(1409): pocketmine\command\SimpleCommandMap->dispatch(object ipad54\netherblocks\player\Player#28889, string[31] playedtime time "slinky co4151")
    #3 pmsrc/src/player/Player(1402): pocketmine\Server->dispatchCommand(object ipad54\netherblocks\player\Player#28889, string[31] playedtime time "slinky co4151")
    #4 pmsrc/src/network/mcpe/handler/InGamePacketHandler(754): pocketmine\player\Player->chat(string[32] /playedtime time "slinky co4151")
    #5 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(51): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#635197)
    #6 pmsrc/src/network/mcpe/NetworkSession(398): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object CLADevs\VanillaX\network\InGamePacketHandlerX#613913)
    #7 pmsrc/src/network/mcpe/NetworkSession(361): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#635197, string[53] M /playedtime time "slinky co4151"..K.!..b.T.I..$....)
    #8 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[53] 3.U./.I.LM)..MU..J.9.y.....&...J.;.{...%5.l..wSe.4...)
    #9 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 0, string[62] ..=7.'..u..*..'.g39h......GF.|..,.........XG.}.%.N+.l.=*..|QHD)
    #10 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#27971)
    #11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
    #12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
    #13 pmsrc/src/Server(1661): pocketmine\snooze\SleeperHandler->sleepUntil(double 1652366754.3691)
    #14 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
    #15 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
    #16 pmsrc/src/PocketMine(327): pocketmine\server()
    #17 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)
    
    bug Status: Done 
    opened by MrBlasyMSK 1
  • Display error message when using unknown subcommand

    Display error message when using unknown subcommand

    Currently if you type /playedtime Miau nothing will happen, it would be nicer if it said something like that subcommand does not exist and you could also change the message you want to appear in the config.

    suggestion Status: Done 
    opened by MrBlasyMSK 0
Owner
supercrafter333
I'm a german PHP, HTML and CSS Developer. I code plugins for PocketMine-MP and simple websites.
supercrafter333
A Pocketmine-MP (PMMP) plugin to prevent players from doing most glitches.

AntiGlitch AntiGlitch is an all-in-one Pocketmine-MP (PMMP) plugin made to prevent as many known glitches. Setup Guide To start using the plugin, down

ItsMax123 12 Sep 17, 2022
This is a PocketMine plugin that helps staffs track players using commands.

Track This is a PocketMine plugin that helps staffs track players using commands. Features Allows selected staffs to watch players use commands to fac

Nguyễn Thành Nhân 6 Jun 23, 2022
This is a plugin for pocketmine-mp, when locking a player's items helps players not to lose items or throw things around causing server lag.

[] LockedItem| v1.0.0 Player's item lock Features Player's item lock Players aren't afraid of losing items For Devolopers You can access to LockedItem

JeroGamingYT 3 Jan 4, 2022
PocketMine-MP plugin that inhibits players from dropping items.

PocketMine-MP plugin that inhibits players from dropping items. This plugin also comes with a variety of useful commands.

MCA7 3 Jul 25, 2022
A PocketMine-MP plugin that lets you teleport among offline players

OfflinePlayerTP A PocketMine-MP plugin that lets you teleport among offline players. Commands Command Description /otp <player> Teleport to (offline)

Muqsit Rayyan 8 Sep 23, 2022
Dedicated plugin for PocketMine-API 4, this will help staff members to make players follow the rules to the letter

StaffMode Dedicated plugin for PocketMine-API 4, this will help staff members to make players follow the rules to the letter Annotation This plugin is

Kurth 3 Aug 12, 2022
A plugin manager for PocketMine-MP downloads plugin from PocketMine-MP official plugin repository

oh-my-pmmp A plugin manager for PocketMine-MP Getting Started Prerequisites Your server MUST RUN the latest version of PocketMine. Installation From P

thebigcrafter 6 Jan 4, 2023
Quickly and easily preview and test your Magento 2 order confirmation page, without hacks or spending time placing new order each time

Preview Order Confirmation Page for Magento 2 For Magento 2.0.x, 2.1.x, 2.2.x and 2.3.x Styling and testing Magento's order confirmation page can be a

MagePal :: Magento Extensions 71 Aug 12, 2022
A PocketMine-MP plugin that replaces a block to another block when breaks, then back to the original block after a certain time

BlockReplacer A PocketMine-MP plugin that replaces a block to another block when breaks, then back to the original block after a certain time How to I

AIPTU 11 Sep 2, 2022
A plugin so that players on your server cannot use Frames.

[] AntiFrameEdit | v3.0 A plugin so that players on your server cannot use Frames. ⚡ Features: Personalized messages. Easy to usage. Permissions for p

Jony 5 Dec 18, 2022