Ordered Player List 图标

Ordered Player List

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.1.6+26.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/ordered-player-list
资源信息

Minecraft 版本: 26.2

平台: fabric quilt

标签: management utility

资源介绍

Ordered Player List

Config

{
  // Every how many ticks order changes should be checked and updated
  "updateRate": 5,
  // Display prefix metadata above the player
  "displayPrefix": true,
  // Display suffix metadata above the player
  "displaySuffix": true,
  // A list of comparisons, applied top to bottom.
  // In this example, rank weight will be checked first, then people with same rank weight will be sorted by playtime...
  "order": [
    {
      "key": "weight",
      "reversed": true,
      "mode": "integer",
      "type": "metadata"
    },
    {
      "placeholder": "player:statistic",
      "argument": "play_time",
      "reversed": true,
      "mode": "integer",
      "type": "placeholder"
    },
    {
      "placeholder": "player:pos_y",
      "reversed": false,
      "mode": "double",
      "type": "placeholder"
    },
    {
      "placeholder": "player:statistic",
      "argument": "deaths",
      "reversed": false,
      "mode": "integer",
      "type": "placeholder"
    },
    {
      "placeholder": "player:name",
      "reversed": false,
      "mode": "string",
      "type": "placeholder"
    }
  ]
}

(displayPrefix and displaySuffix have been removed in all versions for Minecraft 1.21.2 and higher.)

Comparisons

Comparisons allow to define how players should be ordered in the player list. They are applied top to bottom. That means
if a comparison was evaluated to be equal for two players, the next one down will be used to determine player order instead.

It may sometimes be beneficial to interpret data as an integer or a floating point number, instead of string comparisons.
Parsing modes are used to tell the mod how it should interpret a string to apply the correct comparison method. Available parsing modes are integer, string, double, long and boolean!

There are currently two different comparison types available:

Metadata

Useful for player comparison based on metadata from mods like luckperms

{
  // Metadata key that should be checked against
  "key": "<key>",
  // Whether the comparison should be reversed
  "reversed": false,
  // Parsing mode
  "mode": "<mode>",
  "type": "metadata"
}

Placeholders

Allows for player comparison using placeholders

{
  // Placeholder id (without %)
  "placeholder": "<placeholder>",
  // Optional argument used in placeholders
  "argument": "<argument>",
  // Whether the comparison should be reversed
  "reversed": false,
  // Parsing mode
  "mode": "<mode>",
  "type": "placeholder"
}
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Enchanted Bare Bones

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

查看详情
Simple Magnet

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

查看详情
Epic Fight - ExCap

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

查看详情
TriQue API

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

查看详情