插件介绍
类似于警察的系统,用于开罚单和处以罚款。
This plugin makes it possible to issue tickets and impose fines. It's great for roleplay servers!
主要用途
主要用于fine、ticket、roleplay、police等服务端功能。 本插件由 McJackson164 发布,当前目录记录版本为 v1.1.4,uMod 累计下载 5,332 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
A police-like system to issue tickets and impose fines.
权限节点
ticketfines.issue --You can issue tickets to players.
ticketfines.demandYou can demand the payment of a ticket.
ticketfines.closeYou can close tickets.
ticketfines.editYou can edit the fine or the note of a ticket.
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
fineShows all possible commands.
fine listList all your unpaid tickets.
fine list <playerName>List all unpaid tickets of given player (requires permission ticketfines.demand, ticketfines.close or ticketfines.edit).
fine pay <ticketID>Pays the fine of the ticket with given ID. You can only pay your own tickets.
fine issue <playerName> <fine> <optional:note> -- Issues a ticket to given player. You can add a note if you want. Fine can be 0.
fine demand <ticketID>Demands the payment of the ticket with given ID. The player who got the ticket, has to be within the range, defined in the config.
fine close <ticketID>Closes the ticket with given ID.
fine edit <ticketID> <field> <newValue>Sets the field of ticket with given ID to newValue. Possible fields are FINE and NOTE.
相关依赖
- Economics
- Server Rewards
配置说明
{ "Enable fines (requires Economics OR Server Rewards OR custom currency item)": true, "Use 'Economics' plugin for payment (requires Economics)": false, "Use 'Server Rewards' plugin for payment (requires Server Rewards)": false, "Use custom currency for payment": true, "Custom Currency Item (requires 'Use custom currency' to be true. Use item shortname)": "scrap", "Enable automatic withdraw of fines (requires 'Enable fines' to be true)": false, "The demandent will receive a paid fine. (if false, the fine amount will be deleted)": true, "Maximum fine per ticket (default 1000.0)": 1000.0, "Currency (requires 'Use custom currency' to be true)": "Scrap", "Enable notes (descriptive note attached to a ticket)": true, "Tickets require note (tickets won't be issued without a note)": false, "Maximum note length (0 = unlimited)": 200, "Maximum distance in which you are able to demand a ticket (0 = unlimited)": 20 }
官方配置示例
{
"Enable fines (requires Economics OR Server Rewards OR custom currency item)": true,
"Use 'Economics' plugin for payment (requires Economics)": false,
"Use 'Server Rewards' plugin for payment (requires Server Rewards)": false,
"Use custom currency for payment": true,
"Custom Currency Item (requires 'Use custom currency' to be true. Use item shortname)": "scrap",
"Enable automatic withdraw of fines (requires 'Enable fines' to be true)": false,
"The demandent will receive a paid fine. (if false, the fine amount will be deleted)": true,
"Maximum fine per ticket (default 1000.0)": 1000.0,
"Currency (requires 'Use custom currency' to be true)": "Scrap",
"Enable notes (descriptive note attached to a ticket)": true,
"Tickets require note (tickets won't be issued without a note)": false,
"Maximum note length (0 = unlimited)": 200,
"Maximum distance in which you are able to demand a ticket (0 = unlimited)": 20
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。