摘要
本插件的目标是在 Minecraft 中引入夺旗(CTF)玩法,同时不限制玩家的想象力。我不喜欢重复的、预设好的地图,也不希望玩家的能力被局限在只能利用 Minecraft 现有元素来制定策略。在大多数插件中,管理员会建造一张地图,设定两个基地,然后你们就在那里战斗。Open CTF 允许你在每次开始新游戏时选择一个全新的游戏区域!此外,你还可以自由选择基地在该区域内的位置,以向敌人隐藏它,并在通往基地的路上布置巧妙的陷阱。
流程
第一位加入游戏的玩家负责选择游戏区域。他们可以飞行并放置一个方块来标记区域的中心。他们无法修改世界。一旦区域确定,服务器上的所有人都可以选择队伍和职业。
现在双方队伍需要放置旗帜——一种彩色的羊毛块—— wherever they find it suitable 来建造各自的基地。基地围绕旗帜构建,并开始倒计时以标记建造阶段的结束。基地是不可破坏的。
建造阶段结束后,双方队伍需要通过右键点击来夺取敌方旗帜,并将其带回自己的基地。如果你携带旗帜,将无法再放置或破坏方块,但可以使用武器进行自卫。
目前,如果重启投票成功或执行 /reset 命令,游戏将结束。胜利条件仍在完善中。
职业
所有玩家都佩戴着彩色皮革头盔以示区分。当前可用的职业有:
- 战士
- 弓箭手
- 先锋
- 间谍
- 石剑
- 皮革甲
- 指向敌方基地的指南针
- 潜行时可隐身的能力
队伍/职业选择箱子看起来像这样:

命令
<arg> - 必要参数
[arg] - 可选参数
- /all <message> - 向所有队伍发送消息
- /ctf join - 从当前世界切换到 CTF 世界并参与游戏
- /ctf leave - 恢复最后的位置和物品栏并离开 CTF
- /score - 显示记分板
- /team - 更换队伍
- /vote restart - 启动新游戏投票
- /vote kick <name> [reason] - 启动踢出玩家投票
- /yes|/no - 投赞成票或反对票
所需权限:
- /config <setting> <value> - 更改设置
- /performance - 显示计算时间;用于调试目的
- /reset - 开始新游戏
安装
- 下载 OpenCTF.jar
- 下载 PatPeter 的 SQLibrary
- 将它们都放入你的 plugins 文件夹
- 启动服务器
特色功能
MySQL/SQLite 支持
得益于 PatPeter 的 SQLibrary v4.2,游戏统计数据会被本地保存到 SQLite 数据库中,或者可选地保存到 MySQL 数据库中。我计划创建一个简单的 Web 界面来展示如何呈现游戏统计、排名等更多内容。
可自定义的结构
Open CTF 使用 mcedit 格式的 schematic 文件来使各种对象可自定义。所以如果你不喜欢内置的基地,只需更改它们!创建你自己的基地并使用 WorldEdit 导出为 schematic 文件,或在 MCEdit 中进行相同操作。这里有一份关于如何自定义结构的说明。
配置
此插件具有许多可配置的数值,如重生时间、游戏区域维度和其他选项。我们正在努力使所有内容都可配置。
翻译
目前游戏中只有措辞不佳的英文消息。我们正在改进这一点。尽管如此,你可以自由更改通过插件发送的任何消息,并将其翻译成你的语言。所有消息都使用简单的颜色代码,你可以随意使用。
测试阶段
在此阶段,我想指出,这个插件相当复杂,尚未经过大量玩家的测试。如果你想测试它,请随时加入我们的服务器 dev.wrenchbox.de:25575 或下载 beta 版本并按照安装说明操作。
指标
为了统计各版本及插件本身的人气数据,我使用了 Metrics 插件。如果您不希望您的服务器被追踪,请在服务器上关闭 Metrics。
来自 Hidendra:
“作为服务器管理员,您有权质疑、欢迎或拒绝该服务。所有支持 Metrics 的插件都使用相同的退出机制,因此您可以随时选择停止共享数据。您可以向我提出任何问题,我会尽力解答——我对 Plugin Metrics / MCStats 持完全开放的态度,希望这能帮助您准确了解它是什么。”
可以通过编辑 plugins/Plugin Metrics/config.yml 并将 opt-out 改为 true 来退出该服务。如果该文件夹不存在,说明您没有安装任何启用 Metrics 的插件 :)
联系我们
如果您有任何问题或疑虑,欢迎通过 IRC 联系我们或在下方留言评论。
- 主机: irc.esper.net
- 频道: #wrenchbox
- 网页聊天
Summary
The goal of this plugin is to bring CTF to Minecraft without limiting the players imagination. I do not like reapeating, prebuilt maps and I do not like limiting the players abilities to create their own strategy from everything Minecraft offers. In most plugins an administrator builds a map, sets two bases and you have to fight in there. Open CTF allows you to choose a new game area everytime you play a new game! In addition you can freely choose the position of your base within this area to hide it from your enemies and place smart traps on the path to it.
Procedure
The first player who joins a game is supposed to choose a game area. They can fly around and have to place a block to mark the center of the area. They are not able to modify the world. As soon as the area is set everyone on the server can choose a team and class.
Both teams are supposed to build their bases now by placing the flag - a colored block of wool - wherever they find it suitable. A base is built around the flag and a countdown gets started to mark the end of the building phase. The bases are indestructible.
As soon as the building phase is over both team have to capture the enemy's flag by right clicking on it and carry it back to their own base. If you carry the flag you are not able place or break blocks anymore but you are able to defend yourself by using your weapons.
Currently, the game ends if a restart vote is succesful or a /reset is issued. Vicotry conditions are work in progress.
Classes
All players are marked with a colored leather helmet. Currently available classes are:
- Fighter
- Iron Sword
- Iron Armor
- Wooden Shovel
- Archer
- Bow with infinite Arrows
- Chain Armor
- Iron Axe
- Wooden Sword
- Pioneer
- Stone Sword
- Colored Leather Armor
- Iron Pickaxe
- Iron Shovel
- Spy
- Stone Sword
- Leather Armor
- Compass that points to enemy base
- Ability to get invisible while sneaking
This is how the team/class selection chest looks like:

Commands
<arg> - necessary argument
[arg] - optional argument
- /all <message> - Send a message to all teams
- /ctf join - Switch from current world to CTF world and participate
- /ctf leave - Restore last location and inventory and leave CTF
- Permission: openctf.ctf (set by default)
- /score - Show a scoreboard
- /team - Change team
- /vote restart - Start a vote for starting a new game
- /vote kick <name> [reason] - Start a vote for kicking a player
- /yes|/no - Vote yes or no
Permissions necessary:
- /config <setting> <value> - Change settings
- /performance - Show computation time; for debugging purposes
- /reset - Start a new game
Install
- Download OpenCTF.jar
- Download PatPeter's SQLibrary
- Put them both into your plugins folder
- Start the server
Special Features
MySQL/SQLite Support
Thanks to PatPeter's SQLibrary v4.2, statistics of the game are saved locally into a SQLite database or optionally into a MySQL database. I am planning to create a simple web interface to show how one could present stats of the games, rankings and much more.
Customizable Structures
Open CTF uses schematic files in mcedit format to make various objects customizable. So if you do not like the bases included, just change them! Create your own bases and export them with WorldEdit as schematic files or do the same in MCEdit. Here is a description of how to customize structures.
Configuration
This plugin has many configurable values such as respawn time, dimension of the game area and other options. We are working on making everything configurable.
Translation
Currently there are only bad phrased english messages in the game. We are working on improving that. Despite that, you can freely change every message that is send through the plugin and translate it in your language for example. All messages use a simple color code you can use.
Beta Stage
At this point, I would like to point out that this plugin is quite complex and has not been tested by a larger amount of players yet. If you would like to test it, please feel free to join us at our server dev.wrenchbox.de:25575 or download the beta version and follow the installation instructions.
Metrics
In order to determine some statistics about popularity of versions and the plugin itself I am using the Metrics plugin. If you do not want your server to be tracked, please turn Metrics off on your server.
From Hidendra:
"As a server owner, you are free to question the service, welcome it, or deny it. All plugins that support Metrics use the same opt-out and as such you may opt out of further data at any time. You may ask myself any question and I will do my best to answer it - I am as open as possible with Plugin Metrics / MCStats and hope this will help you understand what exactly it is.
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true. If this folder does not exist, you do not have any metrics-enabled plugins installed :)"
Contact Us
If you have any questions or concerns feel free to contact us on IRC or leave a comment below.
- Host: irc.esper.net
- Channel: #wrenchbox
- Webchat
评论 0
登录后参与评分
还没有评论,来抢沙发吧