Friend or Foe for Fabric
此 Fabric 模组让你能够还原《Friend or Foe》YouTube 系列视频中的几乎所有内容,该系列共有四位成员:SB737、ClownPierce、Quiff 和 Mini。他们的一些机制与原版游戏体验有所不同。本模组(简称 ForF)旨在为你和朋友带来这些新特性和玩法改动。
包含内容
- 仅需在服务器端安装
- 玩家无需在客户端安装
- 提供配置文件,允许你自定义大部分新增内容
- 位于服务器的配置文件夹中。(默认路径:
config/forf-config.json5)
- 位于服务器的配置文件夹中。(默认路径:
- 新的玩家追踪道具
- 在设定的时间后自动失效
- 指向目标玩家或其在当前维度穿过的传送门
- 生命值系统,直到玩家耗尽为止
- 可自定义生命值数量
- 可配置初始生命值以及用于更改任何玩家生命值的命令
- 允许玩家在生命值耗尽后以可配置的 gamemode 进行观战
- 首杀奖励
- 首位获得击杀的玩家将获得一本经验修补书
- 可自定义生命值数量
- 限制条件
- 禁止村民交易
- 禁止金苹果合成配方
- 末地船内没有鞘翅
- 唤魔者不再掉落图腾
- 爆炸伤害削弱
- 除引爆者外,所有玩家受到的爆炸伤害将减少配置的百分比
- 末影珍珠冷却时间增加
- 末影珍珠的充能时间是可配置的(默认为 7 秒,原版为 1 秒)
- 你可以在配置文件中禁用任何限制
- PvP 计时器,持续时间随机
- 可通过命令轻松启用或禁用
- 服务器刺客
- 一名拥有不同初始生命值的玩家
- 在服务器上时自动将 PvP 模式切换为在线状态
- 无法从其他玩家处获得生命值
本模组力求遵循官方《Friend or Foe》规则 详见此处。
使用方法
超级简单的分步安装指南
- 搭建 Minecraft 服务器
- 安装 Friend or Foe 及其依赖项
- 从 Modrinth 或 CurseForge 下载与你 Minecraft 版本对应的最新 Friend or Foe 版本
- 从 Modrinth 或 CurseForge 下载与你 Minecraft 版本对应的最新 Fabric API 版本
- 将步骤 3 和 4 中下载的 2 个 jar 文件放入服务器的
mods文件夹- 如果你使用服务器托管服务商,通常可以通过其文件管理器完成此操作
- 如果你是自行搭建,可以在与服务器 jar 文件相同的文件夹中找到
mods文件夹
- 启动服务器
- 如果你使用服务器托管服务商,通常可以通过其控制面板完成此操作
- 如果你是自行搭建,可以通过运行服务器 jar 文件来启动它
- 编辑你的 Friend or Foe 配置文件
- 停止服务器
- 在你喜欢的文本编辑器或服务器托管服务商的文件管理器中打开配置文件
- 配置文件位于与服务器 jar 文件相同的文件夹中
- 仔细查看所有选项并按需进行修改
- 保存文件
- 启动 Friend or Foe
- 启动服务器
- 对每位你想一起游玩的玩家运行
/forf join命令- 如果需要,也可以在末尾附加目标玩家(
/forf join [players])(即使玩家不在线也有效)
- 如果需要,也可以在末尾附加目标玩家(
- 运行
/forf start命令(需要 op 等级 3)以设置一切- 由 op 人员运行或在服务器控制台中运行
- 享受游戏吧!
该模组使用起来相当简单。安装后,你必须至少启动一次以生成配置文件。然后你可以根据喜好对其进行修改。
配置中所有选项设置完毕后,保存文件。在此操作前/期间,让所有你想要一起游玩的玩家登录并运行 /forf join 命令。如果需要,管理员(op)也可以在命令末尾追加目标玩家列表(/forf join [players])。如果你希望在 Friend or Foe 已经开始后加入某位玩家,请以管理员身份运行 /forf join [players] late <lives>,此时这些玩家无需在线。当所有人都已加入后,你可以运行 /forf start 命令(需要 op 等级 3)来初始化游戏。如果任何时候你需要停止 Friend or Foe,请运行 /forf stop 命令。
计时器
你可以在配置文件中设置随机范围。如果愿意,也可以禁用计时器。它在运行 /forf start 后自动开始。若要手动更改,可使用 /forf pvp (on|off) [minutes]。如果不提供分钟数参数,计时器将选择一个随机时长。
生命值
生命值按玩家单独存储。你可以在配置中设置初始生命值数量。每次死亡扣除 1 点生命,直到归零。生命值为 0 的玩家将无法加入游戏,除非在配置中启用了旁观者模式。
生命值命令
格式如下:
/forf lives set <players> <amount> - 你必须拥有 op 等级 3 或更高才能执行此命令。这将把指定玩家的生命值精确设置为设定值。(可用于手动发放额外生命值的任务。)该命令也支持对离线玩家生效。
/forf lives give <player> <amount> - 任何玩家都可以运行此命令将自己的生命值给予其他玩家。这适用于交易等情况(例如 SB737 给 ClownPierce 一条命)。此命令要求两名玩家均在线。
玩家追踪器
玩家追踪器可通过 4 颗钻石、2 颗绿宝石、2 个末影之眼和 1 个指南针合成。 使用此配方。 默认情况下,它将在 1 小时后过期。右键点击以打开选择 GUI,即可追踪任意你选择的玩家。选中玩家后,追踪器会更新到该玩家的位置,或者他们在当前维度中最后使用的传送门位置(严格来说,它指向的是该玩家在该维度中的最后已知位置,因此如果他们被传送或死亡,它会指向事件发生时的位置)。如果被追踪的玩家离线,指南针指针会随机旋转。玩家追踪器完全通过服务端实现,使用了 Polymer 库。
服务器刺客
你可以运行 /forf assassin set <player> 将某位玩家设为服务器刺客。当他们加入时,PVP 模式会自动切换为在线状态。他们也将拥有不同数量的初始生命值(默认为 1,可在配置中修改)。其他玩家无法向刺客赠送生命值。如果你想清除服务器刺客,请运行 /forf assassin clear。
缺失功能
- 额外生命值任务 - 目前暂无计划。你可以使用
/forf lives set命令手动完成 - 出生点结构 - 我手头没有现成的结构文件,且将其放置在世界中需要大量工作。 如果需要,请使用 litematica 或创造模式
- 不重载区块 - 没有客户端模组的情况下无法实现
- Forge 和插件移植版 - 如果有足够多的人请求移植,我可能会为其他平台移植此模组。目前暂无计划
- 防止玩家在未全部上线的情况下登录的系统(阻止像原版剧集那样的刷分行为) - 未来可能会添加
- 服务器刺客 - 开发中
获取支持与贡献
欢迎提交 issue 或 pr。我很乐意修复你可能遇到的任何错误。
你也可以制作 一个 翻译 pr.
如果需要更多帮助,请加入 Discord 服务器。
致谢
需要 Fabric API
Forf 利用 sgui library 用于玩家追踪器的 GUI
包含 Server Translations API
包含 Polymer 用于追踪器功能
Jankson JSON parser 用于配置文件解析
Friend or Foe for Fabric
This fabric mod allows you to recreate almost everything in the Friend or Foe YouTube series that has 4 members: SB737, ClownPierce, Quiff, and Mini. They have some alterations that differ from the regular vanilla experience. The Friend or Foe mod, forf for short, aims to add those new features and gameplay changes for you to enjoy with your friends.
What is included
- Only required on the server
- Players do not need to install on their clients
- A config that allows you to customize much of what is added
- Can be found in your servers config folder. (Default:
config/forf-config.json5)
- Can be found in your servers config folder. (Default:
- A new player tracker item
- Expires automatically after configured time
- Points to the targeted player or the portal they went through in the current dimension
- Lives system that will decrease a life until player runs out
- Customize amount of lives
- Configure starting amounts as well as commands to change any player's lives
- Allow players who run out to spectate in a configurable gamemode after they run out
- Rewards for the first kill
- The first player to get a kill earns a mending book
- Customize amount of lives
- Restrictions
- No villager trading
- No golden apple recipes
- No elytra in the end ships
- No totems drop from evokers
- Explosions are nerfed
- Every player except the player who detonated will take a configured percentage less damage from the explosion
- Ender Pearl cooldowns are increased
- The time taken to recharge an ender pearl is configurable (default is 7 seconds, vanilla is 1 second)
- You can disable any of the restrictions from the config
- PvP Timer that runs for random amounts of time
- Enable or disable it easily with commands
- Server Assassin
- A player that will start with a different number of lives
- Automatically changes the pvp mode to online when on the server
- Cannot receive lives from other players
This mod tries to follow everything written in the official Friend or Foe rules written here.
How to use
Super simple installation step by step
- Set up a Minecraft server
- You can use either a server host or host it yourself
- If you are hosting it yourself, you can use this tutorial
- Download and install the latest Fabric Loader for servers from here
- Most server hosts can do this automatically for you, if you need help installing on a server host look through their documentation or look up how to install Fabric on your server host
- If you're self-hosting it then replace the server jar you downloaded in step 1 with this new jar file
- Install Friend or Foe and it's dependencies
- Download the latest Friend or Foe version for your Minecraft version from Modrinth or CurseForge
- Download the latest Fabric API version for your Minecraft version from Modrinth or CurseForge
- Put the 2 jar files you downloaded in step 3 and 4 into your server's
modsfolder- If you are using a server host, you can usually do this through their file manager
- If you are self-hosting, you can find the
modsfolder in the same folder as the server jar
- Start up your server
- If you are using a server host, you can usually do this through their control panel
- If you are self-hosting, you can start it up by running the server jar file
- Edit your Friend or Foe config file
- Stop your server
- Open the config file in your favorite text editor or in your server host's file manager
- You can find the config file in the same folder as the server jar
- Carefully look through all the options and edit them however you want
- Save the file
- Start Friend or Foe
- Start up your server
- Run the
/forf joincommand on every player you want to play with- You can also append the target player(s) at the end if desired (
/forf join [players]) (This works even with player who are not online)
- You can also append the target player(s) at the end if desired (
- Run the
/forf startcommand (op level 3 required) to set everything up- Either have an op run it or run it on the server console
- Enjoy!
The mod is fairly simple to use. After installing, you must start it up at least once to generate the config file. You can then change that according to how you like it.
Once everything in the config has been set to what you like, save the file. After/while doing this, have every player
you would like to play with log on and run the /forf join command. An op can also append the target player(s) at the
end if desired (/forf join [players]). If you would like to join a player after Friend or Foe has already started then
run /forf join [players] late <lives> as an op and the players do not need to be online. Once everyone has joined, you
can then run the /forf start command (op level 3 required) to set everything up. If at anytime you need to stop Friend
or Foe, run the /forf stop command.
Timer
You can set the randomness range in the config. The timer can also be disabled if so desired. It automatically starts
after /forf start is run. To manually change it, you can use /forf pvp (on|off) [minutes]. Without the minutes
argument the timer will pick a random amount.
Lives
Are stored per-player. You can set how many one will start with in the config. Every death will remove 1 life until you reach 0. A player on 0 lives will not be able to join unless spectators is enabled in the config.
Lives Commands
Format is as follows:
/forf lives set <players> <amount> - You must be an op level 3 or higher to run this command. This will set the
players' lives to exactly the amount you set. (Useful for manual extra lives quest.) It will also work on offline
players.
/forf lives give <player> <amount> - Any player can run this command to give their lives to another player. This is
useful for deals and such (Like how SB737 gives a life to ClownPierce). This command requires both players to be online.
Player Tracker
The player tracker can be crafted using 4 diamonds, 2 emeralds, 2 eyes of ender, and 1 compass. It uses this recipe. By default, it will expire after 1 hour. It will track any player of your choice by right-clicking to open a selection GUI. After selecting a player it will update to the tracked players location or the position of the portal they last used in your current dimension (Technically it points to their last known position in that dimension so if they get teleported or die it will point to the position where they were when that happened). If the tracked player goes offline, the compass will spin randomly. The player tracker works fully server-side by using the Polymer library.
Server Assassin
You can set a player to be the server assassin by running /forf assassin set <player>. The assassin will change the
pvp mode to online whenever they join. They will also start out with a different number of lives (default is 1, you can
change this in the config). Other players cannot give lives to the assassin. If you would like to clear the server
assassin, run /forf assassin clear.
Missing features
- Extra lives quests - Not currently planned. You can do this manually with the
/forf lives setcommand - Spawn Structure - I don't have the actual structure as well as it would take a lot of work to place it in the world. Just use litematica or creative mode if you need this
- No Reloading Chunks - Not possible without a client mod
- Forge and Plugin ports - If enough people request a port, then I may port this mod for other platforms. Not currently planned
- A system to prevent players from logging on without all the forf players online (Stop people from grinding like it is in the real series) - May be added in the future
- Server Assassin - In development
Getting support and contributing
Feel free to file an issue or pr. I would be happy to fix any bugs you may encounter.
If you want you could make a translation pr.
If you need any more help please join the Discord Server.
Credits
Requires Fabric API
Forf utilizes the sgui library for the player tracker gui
Server Translations API is included
Polymer is included for the tracker
Jankson JSON parser is used for config
下载 Friend or Foe
下载 Friend or Foe
下载 Friend or Foe
下载 Friend or Foe
下载 Friend or Foe
下载 Friend or Foe
下载 Friend or Foe
下载 Friend or Foe
下载 Friend or Foe
下载 Friend or Foe
- 修复
- 修复 ForF 在 1.21.1 中无法使用的问题
构建信息
- 文件名:
forf-1.2.2+1.21.1.jar - SHA-256:
30553164e0717f2927df519bcc2dbf1c1d88ba4e948a3cfde95e6560edc55fd4 - 构建来源:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧