PlaytimeStats

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/playtimestats
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2

平台: paper

资源介绍

Playtime Stats

Playtime Stats is a Minecraft plugin that tracks and displays player playtime statistics, both globally and per project/server. So you can have multiple Minecraft Projekts and still have the Global and per Project Playtime.

It provides easy-to-use commands for players to view their own playtime, check the playtime of others, and see the top players on the server. All data is stored in a MongoDB database, making it easy to manage and analyze playtime across multiple servers or projects.

Commands

/playtime

Shows your own playtime (global and for the current project/server).

/playtime toplist

Displays the top 20 players with the most playtime for the current project/server.

/playtime <playername>

Shows the playtime of the specified player (global and for the current project/server).

How to Connect to MongoDB

Create a MongoDB cloud Account:

Make sure you have a MongoDB cloud Account and a existing Mongodb
MongoDB Cloud

Configure the Plugin:

Open the config.yml file
Set the following options:
mongodb_uri: The connection string for your MongoDB server (e.g., mongodb+srv://:@xx.xxxxxxx.mongodb.net/?retryWrites=true&w=majority&appName=Database).

database_name: The name of the database to use.

collection_name: The name of the collection where playtime data will be stored.

project_name: The name of your project/server (used for per-project statistics).

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Cardinal Ice Boats Server Optout

价格:0 墨喵币
下载量:0

查看详情
Crazy Pig

价格:0 墨喵币
下载量:0

查看详情
Naturalized Animals

价格:0 墨喵币
下载量:0

查看详情
Ultraviolet End

价格:0 墨喵币
下载量:0

查看详情