FusionRep

FusionRep是一个允许玩家互相评分并竞争更高排名插件。

资源图片
# 英文 **FusionRep is a plugin that allows players to rate each other and compete for higher rankings** **Functionality** --- This plugin provides the ability to rate a player by clicking on them with a RMB in a squat. To rate opens a menu where you can choose whether to raise or lower the player's reputation The menu has three types of display (changed in `config.yml`): - Tiles - Blocks - Heads **Commands** --- `/reputation ` - Shows the reputation of the player whose nickname was entered `/reputation top` - Shows the top 10 players by reputation and ranking in the team sender's top spot `/myreputation` - Shows the reputation of the team sender `/fusionrepreload` - Reloads the plugin configuration **Configuration** ``` yml # Chat messages (CHAT MESSAGES ONLY!!) are formatted using https://docs.advntr.dev/minimessage/format.html # Database parameters database: # Database type MySQL / H2 type: "H2" # JDBC connection string url: "" # Username user: "" # Password password: "" # Plugin settings settings: # Reputation menu settings menu: # Menu style (1 - 3) 1 - Panels / 2 - Blocks / 3 - Heads style: 1 # Menu background material background_material: "BLACK_STAINED_GLASS_PANE" # Plus reputation head texture (Only on third style) plus_head_url: "http://textures.minecraft.net/texture/6c48ddfdcd6d98a1b0aa3c71e8dad4edde732a68b2b0a5ab142600dca7587c32" # Minus reputation head texture (Only on third style) minus_head_url: "http://textures.minecraft.net/texture/6f05afec2a6ec675cd5505a8f44bb6a4d556935689528321ead4edef685f2d10" # Localization Settings localization: # Localization of the configure reload command reload_command: # Successful reboot message reload_message: "The plugin has been successfully reloaded" # Localization of the reputation command reputation_command: # Incorrect syntax message usage: "Usage: /reputation " # Player reputation message player_reputation: "%player%'s reputation: %reputation%" # Message that the player is not found player_not_found_message: "Player not found or not online" # Localization of the top by reputation top: # Title of the reputation top list title: "=== Top 10 players by reputation ===" # Reputation top list item player_in_top: "%rank%. %player% %reputation%" # Sender's place in the ranking sender_place: "Your place in the rating: %rank%" # Localization of my reputation command my_reputation_command: # Player reputation message player_reputation: "Your reputation: %reputation%" # Localization of the reputation menu reputation_menu: # Menu title title: "%player%'s reputation" # Message to sender if he has already voted for a player already_voted_message: "You have already voted for this player" # Message to sender about reputation increase plus_reputation_sender: "You have increased the player's reputation, his current reputation: %reputation%" # Communicating the purpose of reputation enhancement plus_reputation_target: "Player %player% has increased your reputation, your current reputation is: %reputation%" # Message to sender about reputation downgrade minus_reputation_sender: "You have lowered the player's reputation, his current reputation: %reputation%" # Communicating the target of a reputation downgrade minus_reputation_target: "Player %player% has lowered your reputation, your current reputation is: %reputation%" # Items on the menu items: # Reputation boost button plus_reputation_button: # Title title: "+REP" # Lore lore: "+1 to the player's reputation" # Reputation downgrade button minus_reputation_button: # Title title: "-REP" # Lore lore: "-1 to the player's reputation" # Menu exit button exit_button: # Title title: "Exit" # Lore lore: "Close the menu" # Background button background: # Title title: "" # Lore lore: "Close the menu" ``` **Placeholders** --- `fusion_reputation` - Shows player's reputation in white color `fusion_reputation_colored` - Shows player's reputation in color depending on reputation **Permissions** `fusionrep.reputation.command` - Use `/reputation ` and `/reputation top` `fusionrep.myreputation` - use `/myreputation` `fusionrep.reputation` - using RMB + Shift to rate a user `fusionrep.reload` - use `/fusionrepreload` --- # 翻译 **FusionRep - 插件,允许玩家互相评分并竞争更高的排名** **功能** --- 该插件提供了一种通过在深蹲状态下用鼠标右键点击玩家来评分的能力。要评分,将打开一个菜单,您可以在其中选择提高或降低玩家的声望。 该菜单有三种显示类型(在 `config.yml` 中更改): - 瓷砖 - 块 - 头颅 **命令** --- `/reputation <玩家昵称>` - 显示输入昵称的玩家的声望 `/reputation top` - 显示队伍发送者队伍中声望和排名最高的 10 名玩家 `/myreputation` - 显示队伍发送者的声望 `/fusionrepreload` - 重新加载插件配置 **配置** --- ``` yml # 聊天消息(仅限聊天消息!!)使用 https://docs.advntr.dev/minimessage/format.html 格式化。 # 数据库参数 database: # 数据库类型 MySQL / H2 type: "H2" # JDBC 连接字符串 url: "" # 用户名 user: "" # 密码 password: "" # 插件设置 settings: # 声望菜单设置 menu: # 菜单样式 (1 - 3) 1 - 面板 / 2 - 块 / 3 - 头颅 style: 1 # 菜单背景材质 background_material: "BLACK_STAINED_GLASS_PANE" # 提高声望头颅纹理(仅在第三种样式下) plus_head_url: "http://textures.minecraft.net/texture/6c48ddfdcd6d98a1b0aa3c71e8dad4edde732a68b2b0a5ab142600dca7587c32" # 降低声望头颅纹理(仅在第三种样式下) minus_head_url: "http://textures.minecraft.net/texture/6f05afec2a6ec675cd5505a8f44bb6a4d556935689528321ead4edef685f2d10" # 本地化设置 localization: # 本地化配置重新加载命令 reload_command: # 成功重新启动消息 reload_message: "插件已成功重新加载" # 本地化声望命令 reputation_command: # 错误的语法消息 usage: "用法: /reputation <玩家 / top>" # 玩家声望消息 player_reputation: "%player%'s 声望: %reputation%" # 玩家未找到的消息 player_not_found_message: "未找到玩家或玩家不在线" # 本地化按声望排列的前 10 名 top: # 声望顶级列表的标题 title: "=== 声望最高的 10 名玩家 ===" # 声望顶级列表项目 player_in_top: "%rank%. %player% %reputation%" # 发送者的排名 sender_place: "你在列表中的位置:%rank%" # 本地化我的声望命令 my_reputation_command: # 玩家声望消息 player_reputation: "你的声望:%reputation%" # 本地化声望菜单 reputation_menu: # 菜单标题 title: "%player%'s 声望" # 如果发送者已经为玩家投票过,则向发送者发送的消息 already_voted_message: "你已经为这个玩家投票过" # 关于提高声望的消息给发送者 plus_reputation_sender: "你提高了玩家%player%的声望,他的当前声望是:%reputation%" # 关于声望提升目的的通知目标 plus_reputation_target: "玩家 %player% 提高了你的声望,你的当前声望是:%reputation%" # 关于降低声望的消息给发送者 minus_reputation_sender: "你降低了玩家%player%的声望,他的当前声望是:%reputation%" # 关于声望降低目标的通知 minus_reputation_target: "玩家 %player% 降低了你的声望,你的当前声望是:%reputation%" # 菜单上的项目 items: # 提升声望按钮 plus_reputation_button: # 标题 title: "+REP" # 描述 lore: "+1 给玩家的声望" # 降低声望按钮 minus_reputation_button: # 标题 title: "-REP" # 描述 lore: "-1 给玩家的声望" # 退出按钮 exit_button: # 标题 title: "退出" # 描述 lore: "关闭菜单" # 背景按钮 background: # 标题 title: "" # 描述 lore: "关闭菜单" ``` **占位符** --- `fusion_reputation` - 以白色显示玩家的声望 `fusion_reputation_colored` - 根据声望以颜色显示玩家的声望 **权限** `fusionrep.reputation.command` - 使用 `/reputation <玩家昵称>` 和 `/reputation top` `fusionrep.myreputation` - 使用 `/myreputation` `fusionrep.reputation` - 使用鼠标右键 + Shift 对用户进行评分 `fusionrep.reload` - 使用 `/fusionrepreload`