HispanoUtils
HispanoUtils 是一款面向 Paper 服务器的客户端 Fabric 模组:它接收来自服务器的数据,并在客户端渲染全屏过渡动画、普通动画(包括 GIF)以及可选的团队 HUD。服务器通过插件通道推送事件;繁重的视觉效果在客户端运行,不会增加原版服务器世界逻辑的游戏性负担。
✨ 功能介绍
- 全屏过渡效果:方块、淡入淡出、滑动、缩放、对角线扫过等——支持自定义颜色和时长。
- 服务器驱动动画:配套插件可触发针对单个玩家或全体玩家的动画。
- 团队 HUD(
/hteams):当服务器请求时,在客户端显示团队信息(适用于 PvP 活动、小游戏等场景)。
- 地图与活动展示:非常适合用于开场片头、区域切换、胜利/失败时刻,或在主题服务器上提供引导性视觉效果。
(Paper 插件还增加了箱子刷新命令和战利品表管理功能——这些纯为服务器端逻辑,客户端无需安装此模组即可使用。)
? 工作原理
HispanoUtils Paper 插件向客户端发送自定义负载(插件消息通信)。Fabric 模组解析这些数据并绘制用户界面:覆盖屏幕的过渡效果、动画以及团队 HUD 更新。服务器端的世界游戏玩法(物品栏、方块、实体等)保持原版状态;你所看到的“电影级”画面仅是客户端上的一个视觉层。
⚙️ 环境要求
- Minecraft:1.21.11(如果你发布其他版本线,请相应调整徽章)。
- Fabric Loader 和与你游戏版本匹配的 Fabric API。
- 客户端模组:HispanoUtils(本项目)。
- 推荐完整体验:在你的服务器上安装 HispanoUtils Paper 插件 —— 包含
/transition、/animation、/hteams 等命令。
如果没有插件,该模组在典型的地图/活动配置中将无法获取所需数据——如果你控制着服务器,建议同时安装两者。
? 开发者指南 (Paper)
其他插件可通过公开的服务端 API 进行集成:
import com.dysthy.hispanoutils.plugin.api.HispanoUtilsAPI;
HispanoUtilsAPI api = HispanoUtilsAPI.getInstance();
if (api != null && api.isAvailable()) {
api.sendTransition(player, "cube", "in=40 hold=10 out=30 color=#FF0000");
}
服务端命令:/transition、/transitionall、/animation、/animationall、/hteams。
MIT License
HispanoUtils
HispanoUtils is a client-side Fabric mod built for Paper servers: it receives data from the server and renders fullscreen transitions, animations (including GIFs), and an optional team HUD. The server pushes events via plugin channels; heavy visuals run on the client without adding gameplay load on the vanilla server world logic.
✨ What you can do
- Fullscreen transitions: cubes, fades, slides, zoom, diagonal sweep, and more — with customizable colors and timings.
- Server-driven animations: the companion plugin can trigger animations for one player or everyone at once.
- Team HUD (
/hteams): shows team information on the client when the server requests it (PvP events, minigames, etc.).
- Maps and events: great for intros, zone changes, win/lose moments, or guided visuals on themed servers.
(The Paper plugin also adds chest refill commands and loot table management — that is pure server-side logic and does not require this mod on the client.)
? How it works
The HispanoUtils Paper plugin sends custom payloads to clients (plugin messaging). The Fabric mod parses them and draws the UI: screen-covering transitions, animations, and team HUD updates. World gameplay (inventory, blocks, entities) stays vanilla on the server; what you see as “cinematic” is a visual layer on the client.
⚙️ Requirements
- Minecraft: 1.21.11 (adjust the badge if you ship another version line).
- Fabric Loader and Fabric API matching your game version.
- Client mod: HispanoUtils (this project).
- Recommended for the full experience: the HispanoUtils Paper plugin on your server — commands
/transition, /animation, /hteams, etc.
Without the plugin, the mod has nothing to consume for typical map/event setups — install both if you control the server.
? For developers (Paper)
Other plugins can integrate through the public server API:
import com.dysthy.hispanoutils.plugin.api.HispanoUtilsAPI;
HispanoUtilsAPI api = HispanoUtilsAPI.getInstance();
if (api != null && api.isAvailable()) {
api.sendTransition(player, "cube", "in=40 hold=10 out=30 color=#FF0000");
}
Server commands: /transition, /transitionall, /animation, /animationall, /hteams.
MIT License
评论 0
登录后参与评分
还没有评论,来抢沙发吧