TopNolep
TopNolep is a plugin that retrieves the game time the player was on the server during, not only that, topnolep now provides a leaderboard that shows a list of the top 10 people who are often online on the server.
Addon
Commands
Command | Alias | Default |
---|---|---|
onlinetime | onlinet, ot | true |
settopnolep | null | op |
API
Get online player time on scorehud
$this->getServer()->getPluginManager()->getPlugin("OnlineTime")->getNolepTime($player);
Get the whole seconds number
$this->getServer()->getPluginManager()->getPlugin("OnlineTime")->getTime($player);
Get the real hours number
$this->getServer()->getPluginManager()->getPlugin("OnlineTime")->getRealTimeHours($player);
Get the real minutes number
$this->getServer()->getPluginManager()->getPlugin("OnlineTime")->getRealTimeMinutes($player);
Get the real seconds number
$this->getServer()->getPluginManager()->getPlugin("OnlineTime")->getRealTimeSeconds($player);
Get a whole time format as described in the config
$this->getServer()->getPluginManager()->getPlugin("OnlineTime")->getRealTime($player);
If there is an error, you can contact my WhatsApp below
[![081293138931] |