服务器模组

服务器模组

一个简单的1.12.2服务器端基础功能类模组。

管理

ServerMod 是一个简单的 1.12.2 服务端类基础指令模组,添加了:

  • 传送(TPA),冷却时间可修改
  • 随机传送(RTP),冷却时间可修改
  • 返回指令,冷却时间可修改
  • 家系统,最大数量与冷却时间可修改
  • 玩家睡眠百分比,即使不是所有玩家都睡觉也能轻松跳过夜晚
  • 排行榜系统,目前包含游戏时长、生物击杀数、死亡次数与最后在线时间
  • 昵称系统,允许部分玩家设置聊天昵称(支持颜色!)
  • 供管理员查看的背包(invsee)与末影箱(endersee)
  • 可配置的消息,让它们成为你自己的风格

在游戏内使用 /servermod 查看指令

功能请求、问题反馈、交流讨论等请前往我们的 discord

# Configuration file

admin {
    # true / false [default: true]
    B:endersee=true

    # true / false [default: true]
    B:invsee=true
}

fun {
    # Used in nickname command [range: 1 ~ 8, default: 4]
    I:nick_min_length=4

    # true / false [default: true]
    B:nickname=true
}

stats {
    # true / false [default: true]
    B:leaderboard=true
}

teleportation {
    # Cooldown in seconds for /back command [range: 1 ~ 86400, default: 1800]
    I:back_cooldown=1800

    # Comma-separated list of commands that share a cooldown (e.g., home,tpa,rtp,back) [default: home,rtp,tpa,back]
    S:cooldown_share_group=home,rtp,tpa,back

    # true / false [default: false]
    B:back=false

    # Cooldown in seconds for /home command [range: 1 ~ 86400, default: 1800]
    I:home_cooldown=1800

    # Maximum number of homes a player can have [range: 0 ~ 100, default: 0]
    I:home_max=0

    # true / false [default: true]
    B:rtp=true

    # In seconds 1 - 86400 [range: 1 ~ 86400, default: 1800]
    I:rtp_cooldown=1800

    # If true /rtp works in all dimensions [default: false]
    B:rtp_dim=false

    # The dimension where RTP is allowed [range: -4096 ~ 4096, default: 0]
    I:rtp_dim_set=0

    # true / false [default: true]
    B:tpa=true

    # In seconds 1 - 86400 [range: 1 ~ 86400, default: 1800]
    I:tpa_cooldown=1800

    # Allow teleportation to player only in the same dimension [default: true]
    B:tpa_only_same_dim=true
}

util {
    # Link used in join message [default: https://www.curseforge.com/minecraft/mc-mods/servermod]
    S:join_link=https://www.curseforge.com/minecraft/mc-mods/servermod

    # Used when player joins the server [default: &eWelcome, &6{user}&e! Enjoy your stay!]
    S:join_message=&eWelcome, &6{user}&e! Enjoy your stay!

    # Used in chat formatting [default: {user} &8| &r{msg}]
    S:message_transcriber={user} &8| &r{msg}

    # true / false [default: true]
    B:sleep_perc=true

    # Between 1 - 100 % [range: 1 ~ 100, default: 33]
    I:sleep_perc_int=33
}

zlang {
    # Used in back command [default: &aTeleported to your last location.]
    S:back_success=&aTeleported to your last location.

    # Used in servermod ('help') command [default: &e/back &6Teleport to your last death / tp out location.]
    S:back_usage=&cNo previous location found.

    # Used in delhome command [default: &aHome '&e{name}&a' deleted!]
    S:delhome_deleted=&aHome '&e{name}&a' deleted!

    # Used in delhome command [default: &cNo home named '&e{name}&c' found!]
    S:delhome_not_found=&cNo home named '&e{name}&c' found!

    ... etc
}

希望它能用,看起来确实能!由 yesBad 用 💖 制作