Custom Screens 图标

Custom Screens

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.1.1-BETA+26.X
本资源为搬运资源,原资源地址: https://modrinth.com/mod/custom-screens
资源信息

Minecraft 版本: 26.1 26.1.1 26.1.2

平台: neoforge

标签: game-mechanics management utility

资源介绍

If you have any feedback please, leave it here or in discord.


Custom Screens

Custom Screens lets you display fullscreen overlays and lightweight tips to players using simple preset files and commands. Define your own layouts, text, images, and timing through a simple configuration file.

ExampleScreen

ExampleTip


This mod may be used in modpacks and on servers. You must provide credit to the original authors.

This is the only official download source for this mod. You may share or distribute this mod on other websites or platforms only by linking to the official download page provided here. Re-uploading or redistributing the mod files themselves is not permitted.

Please be aware that downloads obtained from unofficial sources may be modified and could contain malicious software. For your security, always download this mod from the official source.


How to use [BETA Version]

The mod generates two config files after the first launch:

config/arcana/custom-screens-presets.json

This file defines each screen preset, including:

  • Preset name
  • Title and body text
  • Text position
  • Image and background (bg size, 64x64) (optional)
  • Image size
  • Display duration

    Note: If no image or background is specified, it will not be rendered.

config/arcana/custom-tips-presets.json

This file defines each screen preset, including:

  • Preset name
  • Title and body text
  • Text position
  • Display duration

To add another preset duplicate the example preset in the JSON file and modify it as needed. The example preset can also be removed.

Commands

All commands related to this mod are under the /cs command. These are:

  • /cs show-screen <targets> <showToOp> <shouldCloseOnEsc> <presetName>

    • targets — Players to target.
    • showToOp — Sends feedback to online operators. [true/false]
    • shouldCloseOnEsc — Allows players to close the screen with ESC. [true/false]
    • presetName — Preset key from the config file. [string]

      If used in single player the game will be paused for the duration of the screen.

  • /cs show-tip <targets> <showToOp> <title> <description> <position> <duration>

    • targets — Players to target.
    • showToOp — Sends feedback to online operators. [true/false]
    • title / description — written between ".
    • position — where the tip shows in the screen.
    • duration — number (in seconds).
  • /cs show-tip-preset <targets> <showToOp> <presetName>

    • targets — Players to target.
    • showToOp — Sends feedback to online operators. [true/false]
    • presetName — Preset key from the config file. [string]
  • /cs stop-screen <targets>

  • Tries to close the currently active screen or tip for the selected players.

    • targets — Players to target.

Custom text and images (via resource pack)

Images and text can be provided using a resource pack.

  • Text "arcana.customscreens.example_title":
    myresourcepack\assets\custom_screens\lang\en_us.json
  • Images:
    myresourcepack\assets\custom_screens\textures\gui\*.png 

    Important notes:

    • Background images will tile to fill the entire screen.
    • Only .png files are supported.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Mob Spawning Plus

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

查看详情
Cenozoic Kingdom

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

查看详情
DURA PULSE

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

查看详情
Vorpal Enchantment

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

查看详情