作者说明:
这是我编写的首个插件,专为我在为几位朋友运营的生还者服务器而设计。它远未达到我最初设想的 robust 村庄基础设施标准,主要是因为我并不想完全重写所有核心的 Minecraft 村庄代码和村民行为……但我认为它已经实现了足够的功能。自从几个月前它达到让我相当满意的版本以来,大多数时候我只进行重大 Bug 修复或 Bukkit 升级。
这也是我第一次尝试 Java 编程。因此,代码在某些地方可能略显混乱。如果你想深入研究我是如何实现这些功能的,或者 Fork 它并添加新功能(或修复 Bug!),请查看 GitHub 上的 Git 仓库。除非我预料到会有 Pull Request,否则你可能需要更强烈地催促我合并功能。另外,如果你看了代码后并没有被吓退,我们非常欢迎一位共同维护者加入项目。我相信我的某些用户会感激你的贡献! ;)
- James
目标
使 NPC 村庄(及其扩张与防御)成为游戏中更不可或缺的一部分。
安装与文档
- 这里有很多详细信息,且几乎保持最新!快去看看吧!
关于 Bukkit 版本的重要提示:
此插件直接调用核心 Minecraft 类,因此只能在相应的 Bukkit 版本上运行。你不能在 1.7.2 服务器上运行 UVVillagers for CB1.6.4,反之亦然。从 2014 年 1 月起,如果最新版本的小版本号没有推荐构建版(例如,在撰写本文时,1.7 仅有开发版、Alpha 版和 Beta 版可用),我将为每次更新发布该插件的两个副本:
- 一个用于当前的推荐构建版(当前为 1.6.4-R2.0)
- 一个用于最近最稳定的构建版(当前为 Beta 1.7.2-R0.2)。
如果需要更多帮助,请随时联系我。
基本功能
- 追踪玩家与村庄的人气值。
- 进入村庄时显示问候语。
- 根据人口和人气的维持与防御情况,从你维护并防御的村庄获得每日贡品。
- 更加精彩的僵尸围攻。
- 奖励那些在僵尸围攻中保护村民的玩家。
详情
- 村庄:村庄扩展了核心 Minecraft NPC 村庄的功能,包括:
- 村庄以发现它们的第一位玩家命名(在安装插件后),并且可以由在该村庄中人气最高的玩家重命名。
- 按村庄和玩家划分的声望,分为可配置的层级。
- 向用户报告物理大小、人口等信息。
- 在进入村庄、村庄被遗弃等情况下显示通知。
- 可通过 /uvv 命令获取有关村庄的信息。
- 村庄会在每天黎明时分,根据玩家的声望和村庄的人口,向附近的玩家支付可配置的每日贡品。
- 围攻:僵尸围攻扩展了核心 Minecraft 僵尸围攻功能,并得到了显著增强和可配置化。
- 任何生物都有可能生成。是的,包括凋灵和末影龙。
- 追踪围攻统计数据,击杀属于围攻部分的生物会为被围攻的村庄增加声望。
目前支持的功能:(版本 1.3.8)
- Citizens 支持
- 配置文件!(所有值和百分比概率均可更改!)
- 可配置的消息!
- 接近村庄时宣布村庄人口和声望。
- 僵尸围攻可以生成各种疯狂的东西。
- 用我们的机制覆盖核心僵尸围攻机制。
- 按需生成围攻。
- 村庄-玩家声望追踪
- 村民贡品!(接收贡品的玩家必须在黎明时分恰好位于村庄附近)
- 每天黎明时分,每个附近村庄每 20 名村民提供 0-3 个绿宝石贡品。
- 每 20 名村民额外奖励 1 个绿宝石贡品。
- 前一晚击杀僵尸围攻中的生物,每击杀一个额外奖励 1-2 个绿宝石贡品。
- 基于当前声望的倍数
- Dynmap 支持现已集成
- 多世界支持
- 通过在一定半径内分散生成点,防止典型的僵尸围攻规避策略(如使用悬浮平台)。
- 现在可以选择除绿宝石以外的物品作为贡品!
- 从市长处收集贡品,而不是让它凭空出现(需要 CB 1.5.1)
- 设置贡品是从市长处收集还是直接出现在你的物品栏中
- 可配置的最小村庄规模
- 如果声望太低,阻止村民购买物品
- 在极低声望下铁傀儡产生敌意
- 覆盖核心人气效果(如果是因为你的声望太低导致铁傀儡攻击,则取消攻击)
- 宝箱贡品
- 更好的市长留存率
- 使用 /uvv setserver 命令设置服务器拥有的村庄
已知 Bug
- 部分使用 Dynmap 的用户会出现空指针异常(自 1.2.5 版本已正确捕获,但仍不确定根本原因……对于某些用户,即使在创建新标记时标记已创建,Dynmap 仍返回 null)
- 市长有时会传送至被占据的方块中,导致窒息。这个问题现在可能已得到解决。
祝您玩得愉快!请在评论中或 GitHub 仓库 提交您的错误报告、可利用的漏洞以及建议!
Note from the author:
This was my first plugin, built for use on the survival server I run for a few friends. It's far from the robust village infrastructure I originally envisioned, mainly because I didn't want to completely rewrite all of the core minecraft village code and villager behavior... but I think it accomplishes enough. Since it reached a point that I'm fairly happy with several months ago, most of the time the only updates I do are to address major bugs or bukkit upgrades.
This was also my first foray into Java. As such, the code can be a bit of a mess in places. If you want to poke around to see how I did what I did, or fork it and add functionality (or fix bugs!) check out the git repository on GitHub. You might have to poke me extra hard with pull requests merging functionality back in unless I'm expecting them. And hey, if you've looked at the code and aren't completely turned off by it, a co-maintainer would be welcomed to the project. I'm sure some of my users would appreciate your contributions! ;)
- James
The Goal
To make NPC Villages (and the expansion and defense thereof) a more integral part of the game.
Installation and Documentation
- Lots of details here, and it's almost up to date! Go go go!
Important note on bukkit versions:
This plugin hits core minecraft classes, and thus can be only run on the appropriate bukkit versions. You can't use UVVillagers for CB1.6.4 on a 1.7.2 server, or vice versa. Starting January 2014, if there is not a recommended build for the latest minor bukkit version (for example, at the time of this writing, 1.7 only has dev, alpha, and beta builds available) I will publish two copies of this plugin for each update I do:
- One for the current Recommended Build (Currently 1.6.4-R2.0)
- One for the most stable recent build (currently Beta 1.7.2-R0.2).
If you need more than this, feel free to contact me.
Basic Features
- Player popularity tracking with villages.
- Greeting displayed on entering villages.
- Receive daily tributes from villages that you maintain and defend, based on population and popularity.
- Extra-awesome zombie sieges.
- Rewards for defending villagers from zombie sieges.
Details
- Villages: Villages expand the core minecraft NPC Village functionality to include:
- Villages are named after the first player to discover them (after installing the plugin), and can be renamed by whomever is most popular with the village.
- Per-village-per-player reputation, broken down into configurable tiers.
- Information about physical size, population, etc is reported to users.
- Notifications are displayed upon entering a village, a village being abandoned, etc.
- Commands to get information about villages are accessible via /uvv
- Villages will pay nearby players a configurable daily tribute every day at dawn based on the players' reputation and the village's population.
- Sieges: Zombie Sieges expand on the core minecraft Zombie Siege functionality, and are strongly enhanced and configurable.
- Any mob can potentially spawn. Yes, including withers and ender dragons.
- Siege statistics are tracked, and killing mobs that are part of a siege grants reputation with the village under siege.
Currently working: (version 1.3.8)
- Citizens support
- Configuration files! (All values and % chances can be changed!)
- Configurable messages!
- Village population and reputation announced upon nearing a village.
- Zombie Sieges can spawn all sorts of crazy stuff.
- Override core Zombie Siege mechanic in favor of ours.
- Spawn a siege on-demand.
- Village-Player reputation tracking
- Villager tributes! (Player receiving tribute must be near the village at exactly dawn)
- 0-3 emerald tribute per 20 villagers in nearby villages every day at dawn.
- 1 emerald tribute bonus per 20 villagers.
- 1-2 emerald tribute bonus per zombie siege kill during the previous night.
- multiplier based on current reputation
- Dynmap support is now integrated
- Multiworld support
- Some prevention of typical zombie siege avoidance tactics (like using floating platforms) by spreading spawns out over a radius.
- Can now select items other than emeralds for tribute!
- Collecting tribute from a mayor instead of it magically appearing (requires CB 1.5.1)
- Set whether tribute is collected from the Mayor or appears directly in your inventory
- Configurable minimum village size
- Preventing villager purchases if your reputation is too low
- Iron Golem aggro on extremely low reputation
- Overriding core popularity effects (cancel iron golem attack if it's caused by your reputation being too low)
- Chest tribute
- Better mayor retention
- Server-owned villages with /uvv setserver
Known Bugs
- Null exception thrown for some people using dynmap (properly caught since 1.2.5, still not sure of root cause... for some people dynmap is returning null when creating new markers, even though the marker is created)
- Mayors sometimes teleport into occupied blocks, suffocating them. This might be addressed now.
Enjoy! Post your bugs, exploitable aspects, and suggestions in comments here or at the GitHub repo !
下载 UVVillagers
下载 UVVillagers
下载 UVVillagers
下载 UVVillagers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UVVillagers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UVVillagers
下载 UVVillagers
下载 UVVillagers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UVVillagers
下载 UVVillagers
基于 1.7.9-R0.3 构建
已更新文件中的数值。耶。
未经充分测试。:(
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
AbAcc AbAcc 是一款适用于 Minecraft 服务器的管理插件,可简化玩家作弊检测与举报管理工作。工作人员可以发起并管理对可疑玩家的检查流程,并在检查完成后将其释放。
评论 0
登录后参与评分
还没有评论,来抢沙发吧