well404.Essentials 1.0.1

dotnet add package well404.Essentials --version 1.0.1
                    
NuGet\Install-Package well404.Essentials -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="well404.Essentials" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="well404.Essentials" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="well404.Essentials" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add well404.Essentials --version 1.0.1
                    
#r "nuget: well404.Essentials, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package well404.Essentials@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=well404.Essentials&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=well404.Essentials&version=1.0.1
                    
Install as a Cake Tool

well404.Essentials

Essentials —— 面向玩家的实用指令合集:回家、传送、传送点、礼包、睡觉投票、回到死亡点。

well404.Essentialswell404 OpenMod 插件家族 的一员。它面向玩家而非管理员, 把生存常用的便利指令集中到一个插件里,并为所有传送提供统一的「预热静止 + 可选经济收费 + 冷却」体验。

功能

  • /home:回到你设置的家;/home set 把当前位置设为家(单个家)。
  • /tp <玩家>:传送到某玩家。同队直接传送;不同队则发出请求,对方用 /tpa 接受或 /tpd 拒绝(请求会超时)。
  • /party:组队。/party invite <玩家> 发邀请,对方 /party accept 入队(绕过难用的 游戏内组队菜单);还有 /party deny/party leave/party kick/party(看成员)。 组队后队友之间 /tp 即可免确认直传。
  • /warp:传送点。/warp <名称> 传送,/warp set <名称> [冷却] 新建, /warp delete <名称> 删除,/warps 列出你有权限使用的传送点(指令格式参考 NewEssentials)。
  • /gift:免费礼包。/gift 列出你可领取的,/gift <id> 领取。每个礼包可设 crontab 刷新规则可选权限(做 VIP 专属礼包)。
  • /sleep:睡觉投票。在线玩家中达到设定比例(默认半数)即在白天/黑夜之间切换。
  • /back:回到上次死亡的地点,并获得可配置秒数的无敌时间。

传送通用规则(home/tp/warp/back 共用):传送前需静止预热若干秒(默认 5s,移动则取消)、 可设每条命令的冷却、以及可选的经济费用——仅当装了任一 IEconomyProvider(如 well404.Economy)时才扣费,默认全为 0(免费)。

装了 well404.WebPanel 时,上述所有设置项(传送规则、费用、tpa/sleep/back、传送点、礼包) 都可在 Web 界面里编辑。同时还会给玩家提供一个面向玩家的「实用工具」菜单(中英双语):玩家 游戏内输入 /menu(或 /menu essentials)即可在浏览器里设置家/回家/返回死亡点/传送到有权限的传送点、 向玩家发起传送请求并接受/拒绝来请、组队邀请/接受/退出/队长踢人、领取礼包、投票睡觉(沿用同样的冷却/收费/读条)。

安装

openmod install well404.Essentials

重启服务器或执行 openmod reload 后生效。Essentials 强制依赖经济或面板插件—— 没有它们也能正常工作(传送免费、无 Web 界面)。

命令

命令 别名 语法 说明
/home 传送回家
/home set 把当前位置设为家
/tp <玩家> 传送到玩家(同队直传,跨队发请求)
/tpa [玩家] 接受传送请求(最新的,或指定玩家的)
/tpd [玩家] 拒绝传送请求
/party 查看你的队伍成员
/party invite <玩家> 邀请玩家入队
/party accept [玩家] 接受入队邀请
/party deny [玩家] 拒绝入队邀请
/party leave 离开队伍
/party kick <玩家> 踢出队员(仅队长)
/warp <名称> 传送到传送点
/warp set <名称> [冷却秒] 新建传送点(管理)
/warp delete del <名称> 删除传送点(管理)
/warps 列出你能用的传送点
/gift [id] 列出可领礼包 / 领取指定礼包
/sleep 投票切换昼夜
/back 回到死亡点并短暂无敌

权限

OpenMod 会按命令路径自动派生命令权限(如 well404.Essentials:homewell404.Essentials:warp.set)。此外本插件使用这些自定义权限节点:

权限 作用
well404.essentials.warps.<名称> 使用某个传送点(每个传送点单独授权)
well404.essentials.cooldown.exempt 免除传送冷却
礼包的 permission 字段(自定义) 领取该 VIP 专属礼包

配置 (config.yaml)

teleport:
  warmupSeconds: 5        # 传送前静止秒数,0=瞬移
  cancelOnMove: true      # 预热期间移动则取消
  moveThreshold: 0.5      # 移动判定阈值(米)
  cooldownSeconds: 0      # 成功传送后的冷却,0=无
  costs:                  # 经济费用(需经济插件,默认 0=免费)
    home: 0
    tp: 0
    warp: 0
    back: 0
tpa:
  expirationSeconds: 30   # /tp 请求超时
party:
  inviteExpirationSeconds: 60  # /party 邀请超时
  maxMembers: 0           # 队伍人数上限,0=不额外限制
back:
  invincibilitySeconds: 5 # /back 落地后的无敌秒数
sleep:
  enabled: true
  requiredRatio: 0.5      # 通过所需的在线玩家比例
warps: []                 # /warp set 或 WebUI 维护
gifts: []                 # 礼包:id/name/permission/cron/items

gifts 示例:

gifts:
  - id: "daily"
    name: "Daily Supply"
    permission: ""          # 留空=所有人
    cron: "0 0 * * *"       # 每天 0 点刷新(服务器本地时间)
    items:
      - itemId: 15
        amount: 2
  - id: "vip"
    name: "VIP Weekly Crate"
    permission: "well404.essentials.gift.vip"
    cron: "0 0 * * 1"       # 每周一刷新
    items:
      - itemId: 81
        amount: 1

well404 OpenMod 插件家族

插件 说明
well404.Economy 货币经济核心,全局 IEconomyProvider 供币
well404.Shop 物品商店,买卖物品 / 组合包,依赖 Economy
well404.WebPanel 通用 Web 管理面板,供各插件挂载可视化管理模块
well404.Essentials 面向玩家的实用指令:home/tp/warp/gift/sleep/back,经济收费可选

完整文档见 GitHub 仓库docs/

许可

CC BY-NC-SA 4.0 © well404

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 107 6/15/2026
1.0.0 103 6/15/2026