Vote Stop Server 图标

Vote Stop Server

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.20.1-forge-0.0.7
本资源为搬运资源,原资源地址: https://modrinth.com/mod/vote-stop-server
资源信息

Minecraft 版本: 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6

平台: forge

标签: utility

资源介绍

Vote Stop Server

A Minecraft server-side MOD that allows players to stop the server through voting.

Introduction

Vote Stop Server is a Minecraft Mod that allows players to decide whether to shut down the server through voting. When the server needs to restart for maintenance or players want to end the current game session, a vote can be initiated for all online players to decide together.

Core Mechanism: Requires unanimous consent from all active (non-AFK) players to shut down the server, ensuring everyone's wishes are respected.

Features

  • Unanimous Consent — The server will only shut down when all active players vote in favor
  • AFK Detection — Low-overhead AFK monitoring that only tracks interaction events and chat events, determining AFK status solely based on tick timestamps
  • Server Startup Protection — Voting is disabled for a period of time after server startup
  • Extremely Low Performance Impact — Almost no performance cost
  • Almost Fully Configurable — All in-game messages can be customized through configuration files, AFK check intervals and broadcast intervals are configurable

Commands

Command Description
/tyj votestop yes Vote in favor of shutting down the server
/tyj votestop no Vote against shutting down the server (will immediately cancel the current vote)
/tyj votestop Same as /tyj votestop yes

Note: Any player voting against will immediately cancel the entire vote

How It Works

  1. Vote Initiation: A player types /tyj votestop to start a vote
  2. Condition Check: The system checks whether the server startup protection period has passed and whether there is already an ongoing vote
  3. Voting in Progress: Once the vote starts, the system periodically broadcasts the current number of yes votes and remaining time
  4. AFK Exclusion: The system automatically detects AFK players, counting only active players
  5. Result Determination:
    • Unanimous Approval → Server shuts down
    • Someone Votes Against → Vote is cancelled
    • Timeout Without Approval → Vote is cancelled
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Archivist

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

查看详情
Lexend Font

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

查看详情
Play Time Limit

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

查看详情
versionUpdatePrompt

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

查看详情