此插件是 OnTime 的配套插件,提供了一种基于告示牌(sign)的方案,用于展示特定玩家和服务器榜首玩家的 OnTime 数据。它还支持 OnTime 的“商店”奖励功能,让玩家能够自主控制所获得的 OnTime 奖励。使用 OnSign 需要 MySQL 数据库。
V2.0.x 的重要说明
要使用此最新版本的 OnSign,必须将 OnTime 插件也升级到 V4.1.2 或更高版本。
玩家告示牌
对于指定的玩家,告示牌上可以显示该玩家的名称以及以下任意组合(最多三项)信息:
- 状态(在线、离线或暂离)
- 上次登录或登出的日期/时间(玩家进出时会更新)
- 上次登录的日期/时间(仅在每次登录时更新)
- 在服务器上的总游戏时长(OnTime)
- 当天的总游戏时长
- 当周的总游戏时长
- 当月的总游戏时长
- 为服务器投下的总票数
- 当天投下的总票数
- 当周投下的总票数
- 当月投下的总票数
- 为服务器带来的总推荐人数
- 当天带来的总推荐人数
- 当周带来的总推荐人数
- 当月带来的总推荐人数
- 当前的“忠诚度”积分总数
前十榜单
对于指定的某项数据,该插件会在告示牌上显示排名、玩家名称及其当前得分。这些告示牌每天更新一次,或由管理员设定的间隔时间更新。以下数据可以在“榜首”告示牌上显示:
- 在服务器上的总游戏时长(OnTime)
- 当天的总游戏时长
- 当周的总游戏时长
- 当月的总游戏时长
- 为服务器投下的总票数
- 当天投下的总票数
- 当周投下的总票数
- 当月投下的总票数
- 为服务器带来的总推荐人数
- 当天带来的总推荐人数
- 当周带来的总推荐人数
- 当月带来的总推荐人数
- 当前的“忠诚度”积分总数
这类告示牌直接链接到由管理员定义的 OnTime 奖励。当玩家点击此类 OnSign,且其拥有的 积分 或游戏内货币余额达到要求时,他们将获得该奖励,并从其 积分 或经济余额中扣除配置的相应费用。请点击 [此处] 了解更多关于 OnTime 商店奖励的信息。
告示牌设置
有关信息和告示牌的设置以及其他插件相关信息,请查看插件页面选项卡,或点击此处。
其他插件集成
OnSign 与 OnTime 的版本兼容性
- OnSign v1.0.0 兼容 OnTime v3.8.1 或更早版本
- OnSign v1.1.0 仅兼容 OnTime v3.8.2 - v3.9.0
- OnSign v1.2.0 或更高版本仅兼容 OnTime v3.9.1 - v3.10.3
- OnSign v1.3.0 或更高版本仅兼容 OnTime v3.11.0 - v3.13.2
- OnSign v2.0.0 或更高版本仅兼容 OnTime v4.1.2 或更高版本
命令
此命令将重新加载 config.yml,从数据库重新加载告示牌数据,并刷新所有告示牌。
安装
- 将 OnSign.jar 放入你的 plugin 文件夹
- 将 OnTime.jar 放入你的 plugin 文件夹 确保你运行的是正确版本的 OnTime!
- 将 vault.jar 放入你的 plugin 文件夹
- 重启服务器 / 重载插件
- 编辑 plugins/OnSign/config.yml 以配置你的 MySQL(必需)数据库访问信息
6. 如果修改了 config.yml,请重启服务器 / 重载插件
完成!
更改日志
如需完整的更改日志,请点击此处。
V2.0.2
基于 Spigot/Bukkit V1.8.1;Java7;Vault 1.5.2 编译/测试
修复
- V2.0.1 中添加的修复未能涵盖所有可能情况。此次第二次更新提供了针对工单 #21 的完整修复方案。
V2.0.1
基于 Spigot/Bukkit V1.8.1;Java7;Vault 1.5.2 编译/测试
修复内容
- 修复了 OnSign 在某些服务器上未自动更新 MySQL 数据库 'uuid' 列的问题。(工单 #21)
V2.0.0
基于 Spigot/Bukkit V1.8.1;Java7;Vault 1.5.2 编译/测试
增强功能
- 使插件兼容 MC v1.8,添加了对用于玩家识别的 UUID 的支持
- 增加了对 'vanishNoPacket' 插件的支持,当玩家处于“隐身”状态时,告示牌上标记为“离线”的玩家将保持该状态(工单 #15)
修复内容
- 修复了告示牌上的“登录/登出”显示,确保在每次玩家成功登录和登出时正确更新(无工单)
- 在 OnSign 启动时增加了延迟,以确保 OnTime 能够先完成其初始化过程(无工单)
- 解决了从告示牌商店购买“升级排名”可能导致对同一排名多次扣费的问题。(工单 #17)
新增命令
This companion plugin to OnTime provides a sign based solution to share an individual player's and the server's top player's OnTime data. It also supports OnTime "shop" Rewards, which give players control over the OnTime Rewards they receive. A MySQL database is required to use OnSign.
Important Notes on V2.0.x
In order to use this latest version of OnSign, the OnTime plugin must also be upgraded to V4.1.2 or later.
Player Signs
For a specified player, the player's name and any combination of up to three of the following can be shown on a sign:
- status (online, offline, or AFK)
- date/time of last login or logout (changes when players come and go)
- date/time of last login (only changes on each login)
- total play time (OnTime) on the server
- total play time for the current day
- total playtime for the current week
- total playtime for the current month
- total votes cast for the server
- total votes cast for the current day
- total votes cast for the current week
- total votes cast for the current month
- total referrals made to the server
- total referrals made for the current day
- total referrals made for the current week
- total referrals made for the current month
- current 'loyalty' point total
Top "Ten"
For a specified piece of data, the plugin will show the position on the list, the name of the player, and their current score. These signs are updated every day, or at an interval specified by the administrator. The following data can be shown on the "top" signs:
- total play time (OnTime) on the server
- total play time for the current day
- total playtime for the current week
- total playtime for the current month
- total votes cast for the server
- total votes cast for the current day
- total votes cast for the current week
- total votes cast for the current month
- total referrals made to the server
- total referrals made for the current day
- total referrals made for the current week
- total referrals made for the current month
- current 'loyalty' point total
These signs are linked directly to an OnTime Reward defined by an admin. When a player clicks on this type of OnSign, and they have the required balance of Points or in-game money, they will receive that reward and have deducted from their points or econ balance, the configured cost. Please [click here] to learn more about OnTime Shop Rewards.
Sign Setup
For information and setting up signs, and other plugin information please see the plugin pages tab, or click here.
Other Plugin Integration
- Vault: OnSign uses the Vault plugin to provide support to various permission plugins. The Vault.jar MUST be installed in your plugins directory in order to use OnSign.
- OnTime: OnSign sources most of the data displayed from the OnTime plugin. This OnTime.jar MUST be installed in your plugins directory in order to use OnSign.
OnSign and OnTime version compatibility
- OnSign v1.0.0 will work with OnTime v3.8.1 or earlier
- OnSign v1.1.0 will ONLY work with OnTime v3.8.2 - v3.9.0
- OnSign v1.2.0 or later will ONLY work with OnTime v3.9.1 - v3.10.3
- OnSign v1.3.0 or later will ONLY work with OnTime v3.11.0 - v3.13.2
- OnSign v2.0.0 or later will ONLY work with OnTime v4.1.2 or later
Commands
This command will refresh all signs.
This command will reload the config.yml, reload from the database the sign data, and refresh all signs.
Installation
- Place OnSign.jar in your plugin folder
- Place OnTime.jar in your plugin folder Make sure you are running the correct version of OnTime!
- Place vault.jar in your plugin folder
- Restart your server / Reload Plugins
- Edit plugins/OnSign/config.yml to setup your MySQL (required) database access
- See insructions for config settings in the generated file or here
6. Restart your server / Reload Plugins if config.yml is modifed
That's it!
Change Log
For the complete change log, please click here.
V2.0.2
Compiled/Tested with Spigot/Bukkit V1.8.1; Java7; Vault 1.5.2
Fixes
- The fix added in V2.0.1 did not address all possible scenarios. This second update provides a complete fix for Ticket #21
V2.0.1
Compiled/Tested with Spigot/Bukkit V1.8.1; Java7; Vault 1.5.2
Fixes
- Fixed issue with OnSign not auto-updating the MySQL database 'uuid' column for some servers. (Ticket #21)
V2.0.0
Compiled/Tested with Spigot/Bukkit V1.8.1; Java7; Vault 1.5.2
Enhancements
- Made plugin compatible with MC v1.8, adding support for UUIDs for player identification
- Added support for 'vanishNoPacket' plugin, leaving players marked as 'offline' on signs when 'vanished' (Ticket #15)
Fixes
- Fixed 'login/logout' display on signs to properly update each successful player login and logout (No Ticket)
- Added a delay to OnSign startup, so OnTime is sure to complete its initiation first (No Ticket)
- Addressed issue where 'rank up' purchases from a sign shop could result in multiple charges for one rank. (Ticket #17)
New Commands
This command will refresh/update all signs.
评论 0
登录后参与评分
还没有评论,来抢沙发吧