
FishingTournament 是一个插件,让管理员和版主能够更轻松地组织钓鱼活动。
下载 - 请报告错误!
前置要求
你需要一个较新版本的 CraftBukkit。所有最新构建均可在此处下载。 你必须安装最新版本的 WorldEdit,因为钓鱼区域的选取是由该插件完成的。Vault 也是必需的!!
安装方法
安装非常简单:将 FishingTournament.jar 放入你的 plugins 目录中,然后重启或重载服务器。配置文件和默认语言文件(en_US.yml)位于 FishingTournament 目录中。 可用的语言文件:fr_FR.yml、pl_PL.yml(感谢 Holls1!)。
功能特性
- 允许你定义(和删除)用于比赛的钓鱼区域。你需要使用 WorldEdit 来进行区域选择!
- 你可以使用简单的命令为获胜者和参与者设置奖励。
- 你可以在指定区域内启动钓鱼活动。在此区域内捕获的所有鱼都会被计数。
- 另一个命令允许你停止正在进行的比赛并显示得分。
- 你可以随时通过另一个命令再次显示上次比赛的得分。
- 管理员和版主有一个命令可以重置统计数据(但当你停止服务器或开始新比赛时,统计数据会自动重置)。
- 最后还有一个命令用于停止比赛并发放奖励。
- 你可以设置鱼的限制或时间限制以自动结束比赛。
- 支持 MySQL 存储统计数据(有关更多信息,请参阅配置部分)。
- 你也可以配置每周比赛。
指令
- /fish define <area> - 在使用 WorldEdit 进行选择后定义钓鱼区域。你不需要用 WorldEdit 将整个水域定义为你的钓鱼池。只需选择玩家必须站立才能计入捕获量的区域即可。保存在配置文件中。
- /fish remove <area> - 移除指定的区域。
- /fish list - 获取已定义的钓鱼区域列表。
- /fish go <area> - 在指定区域启动钓鱼比赛。如果定义了时间限制或鱼的限制,它将自动停止。
- /fish stop - 停止正在进行的比赛并显示每个玩家的得分。
- /fish stats - 显示上次比赛的得分。
- /fish reset - 重置统计数据。当你停止服务器时,统计数据会自动重置。
- /fish listrew - 获取已定义的奖励列表。
- /fish addrew <name> <itemid> <amount> <data> - 添加奖励。 如果要让所有参与比赛的玩家都获得奖励,请将名称设为"participation"。例如:/fish addrew JungleWood 5 32 3 将给予 32 块丛林木!此外,如果你想给予金钱作为奖励,可以将 "itemid" 设为 "0"!保存在配置文件中。
- /fish remrew <name> - 移除奖励。
- /fish setfishlimit <limit> - 设置鱼的限制。保存在配置文件中。
- /fish settimelimit <limit> - 设置时间限制(分钟)。保存在配置文件中。
权限节点
默认情况下,你必须拥有 op 权限才能使用所有指令。但由于使用了 Vault,因此大多数常用的权限系统都可以与 FishingTournament 配合工作。以下是这些指令的权限节点:
- ft.*:
- ft.define - /fish define
- ft.remove - /fish remove
- ft.list - /fish list
- ft.go - /fish go
- ft.stop - /fish stop
- ft.stats - /fish stats
- ft.reset - /fish reset
- ft.listrew - /fish listrew
- ft.addrew - /fish addrew
- ft.remrew - /fish remrew
- ft.setfishlimit - /fish setfishlimit
- ft.settimelimit - /fish settimelimit
配置
在比赛期间,当玩家钓到鱼时,会向所有玩家发送一条消息。你可以通过在配置文件的 "messages" 部分中将 "messagewhenfishcaught" 参数设置为 "false" 来禁用它。(默认为 "true")。
- 每周比赛: 要启用每周钓鱼比赛,你需要设置时间限制和/或鱼的限制! 这里涉及的配置文件部分是 "weeklytournaments"。以下是默认值:
weeklytournaments_enabled: false // 这意味着每周锦标赛默认是禁用的... weeklytournaments: example: area: nameofarea // 钓鱼区域的名称... day: 5 // 0 = 星期日, 1 = 星期一, 5 = 星期五... hour: 21 min: 30 example2: area: nameofarea2 day: 0 hour: 17 min: 0
- MySQL 支持:
目前,该系统会发送数据库表
last_statistics中的最新统计数据。但此功能默认处于禁用状态。您必须使用以下 SQL 文件 导入last_statistics表,然后编辑以下配置部分以进行设置:
mysql: enabled: false host: localhost port: '3306' dbname: fishingtournament username: admin password: admin
以下是使用该表中信息的网页示例:网页示例
请随时提出建议或评论!

FishingTournament is a plugin which lets admins and moderators organize more easily fishing events.
Download - Please report bugs!
Prerequisites
You need a recent build of craftbukkit. All recent builds are downloadable here. You have to install the latest version of WorldEdit, because the selection of the fishing areas is done by this plugin. Vault is required too!!
Installation
The installation is quite simple: place FishingTournament.jar in your plugins directory and restart or reload your server. The configuration file and the default language file (en_US.yml) are situated in the FishingTournament directory. Language files available: fr_FR.yml, pl_PL.yml (thanks to Holls1!).
Features
- Allows you to define (and remove) fishing areas for tournaments. You need WorldEdit to do the selections!
- You can define rewards for the winner and for participation with simple commands.
- You can start fishing events in a defined area. All the fish caught in this area are counted.
- Another command allows you to stop the tournament in progress and shows the scores.
- You can at any time show again the scores of the last tournament with another command.
- Then, admins and moderators have a command to reset the stats (But the stats are automatically reset when you stop the server or when you start a new tournament).
- Another command is finally used to stop the tournament and give the rewards.
- You can add a fish limit or a time limit to automatically end the tournament.
- MySQL support for stats (see configuration section to learn more about it).
- You can configure weekly tournaments too.
Commands
- /fish define <area> - To define a fishing area after having made a WorldEdit selection. You don't have to WorldEdit Define an entire region of water as your fishing pool. Just the area the player needs to be standing in order to qualify for catches. Saved in the config file.
- /fish remove <area> - To remove a specified area.
- /fish list - To get a list of the fishing areas defined.
- /fish go <area> - To start a fishing tournament in the specified area. If a time limit or a fish limit has been defined, it will stop automatically.
- /fish stop - To stop the tournament in progress and show the score of each player.
- /fish stats - To show the scores of the last tournament.
- /fish reset - To reset the stats. The stats are automatically reset when you stop the server.
- /fish listrew - To get a list of the defined rewards.
- /fish addrew <name> <itemid> <amount> <data> - To add a reward. Type "participation" as name if you want the reward to be given to all the players who are participating to the tournament. Example: /fish addrew JungleWood 5 32 3 will give 32 blocks of Jungle wood! What's more, you can type "0" as "itemid" if you want to give money as reward! Saved in the config file.
- /fish remrew <name> - To remove a reward.
- /fish setfishlimit <limit> - To set a fish limit. Saved in the config file.
- /fish settimelimit <limit> - To set a time limit (minutes). Saved in the config file.
Permissions nodes
By default, you must be op to use all the commands. But Vault is used so that the most used permission systems work with FishingTournament. Here are the permission nodes for the commands:
- ft.*:
- ft.define - /fish define
- ft.remove - /fish remove
- ft.list - /fish list
- ft.go - /fish go
- ft.stop - /fish stop
- ft.stats - /fish stats
- ft.reset - /fish reset
- ft.listrew - /fish listrew
- ft.addrew - /fish addrew
- ft.remrew - /fish remrew
- ft.setfishlimit - /fish setfishlimit
- ft.settimelimit - /fish settimelimit
Configuration
During a tournament, when a player catches a fish, a message is sent to all the players. You can disable it by setting "false" to the "messagewhenfishcaught" parameter in the configuration section "messages" of the configuration file. (it is "true" by default).
- Weekly tournaments: To enable weekly fishing tournaments, you need to set a time limit and/or a fish limit ! The configuration file section concerned here is "weeklytournaments". Here are the default values:
weeklytournaments_enabled: false // It means that weekly tournaments are disabled by default... weeklytournaments: example: area: nameofarea // The name of the fishing area... day: 5 // 0 = Sunday, 1 = Monday, 5 = Friday... hour: 21 min: 30 example2: area: nameofarea2 day: 0 hour: 17 min: 0
- MySQL support: For now, the system sends the last stats in the table "last_statistics" of the database. But it is disabled by default. You must import the table "last_statistics" with this SQL file and then edit this configuration section to set it up:
mysql: enabled: false host: localhost port: '3306' dbname: fishingtournament username: admin password: admin
And here is an example of a web page using the informations from this table: Web example
Don't hesitate to make suggests or remarks!
下载 FishingTournament
下载 FishingTournament
下载 FishingTournament
下载 FishingTournament
下载 FishingTournament
下载 FishingTournament
下载 FishingTournament
下载 FishingTournament
下载 FishingTournament
下载 FishingTournament
如果您未使用奖励系统,则无需更新!
已修复: 现在给予奖励可以正常工作。感谢 Kolgrath 报告此问题!如果您在之前的版本中设置了奖励,则必须在配置文件中删除每个奖励的撇号(')。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
评论 0
登录后参与评分
还没有评论,来抢沙发吧