ExpireNoMore 图标

ExpireNoMore

作者:rebot | 分类:模组

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

Minecraft 版本: 1.21.9 1.21.10 1.21.11

平台: fabric

标签: management utility

资源介绍

ExpireNoMore

Logo of the mod

A Minecraft mod that increases the expiration time in a Minecraft server's usercache.json file.

More specifically, this mod makes it so that, every time the server is started or someone joins the server, the usercache.json file of the server is updated, so that whichever user's expireson date is less than 50 years away, will have their value increase by another 100 years.

Don't use the mod if you need the name to expire for whatever reason.

Warning: Make a backup of your usercache.json before running this mod

Note: This mod cannot recover previously removed/expired usercache. It can only save what currently exists.


Reason for this mod:

I wanted to see and compare the player statistics of the players on my server, and found a great project to do just that: https://github.com/pdinklag/MinecraftStats

It worked well, except for one part. It didn't show all the players stats.

Searching around, I found that this was because the player statistics are stored with the player's uuid as the filename.
Now, this would usually be fine, as the player's uuid can be easily converted into their username if it were an online server.
However, my server was in "offline" mode. So therefore, the uuid's could not be reversed.

Now usually, the names and uuids are stored in a file called usercache.json. Except, for some reason, every cache has an expiry time on it.
It had so happened that a few server members had not logged in for a long while, so their names weren't cached in that file. So the stats project could not display their names.

So to finally fix that, I decided to make this mod. I don't know if there is any reason for the expiration of names in the file. If you have a need for the expiry, do not use this mod.

About the mod

The 1.1.0 version of the mod should work on most fabric version(from 1.14.4 to the 1.21.8), and the 1.2.0 version working for 1.21.9-1.21.11, with atleast the fabric loader version being above 0.15.1

The minimum java requirement is java 8, although any higher version will work.

When you run the mod the first time, every username's expire time will increase by 100 years (as long as its not already more than 50 years away).

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Cursed Protocol Support

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

查看详情
Wynncraft Plus [LITE]

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

查看详情
flying-with-sword

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

查看详情
Nature's ZooVentures GUI

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

查看详情