- 需要插件(可选)
-
原创 - ItemChineseNameAPI - 物品中文名称API
ItemChineseNameAPI 是本网站提供的可供其他插件调用的物品中文名称API。 用于其他插件获取物品名称的官方中文翻译。 本插件直接对接游戏官方汉化组的翻译,同步游戏官方物品名称翻译(即使是暂未应用到游戏中的翻译也会同步,即游戏中还是英文名的情况下)。数据源由本站提供。 各大开发者均可接入该插件,使用本插件提供的API。 API 通过Item获取中文名 string GetItem(Item) //传入Item 别名: string...rustsb.com
一个简单的击杀播报插件,显示在游戏界面右上角。支持自动获取武器中文名(需要ItemChineseNameAPI)。
支持自定义消息格式,支持显示 成长型武器 名称&等级。
支持自定义消息格式,支持显示 成长型武器 名称&等级。
配置文件
JSON:
{
"击杀消息显示时间(秒)": 7,
"最大显示消息数量": 5,
"消息字体大小": 14,
"UI位置 - 右上角坐标": "0.99 0.99",
"UI位置 - 左下角坐标": "0.70 0.85",
"玩家击杀消息": {
"击杀玩家": "<color=#00ff00>%攻击者%</color> 使用 <color=#ff0000>%武器%</color> 击杀了 <color=#ff9900>%受害者%</color> [%距离%米]",
"击杀NPC": "<color=#00ff00>%攻击者%</color> 使用 <color=#ff0000>%武器%</color> 击杀了 <color=#ff9900>%NPC%</color> [%距离%米]",
"击杀动物": "<color=#00ff00>%攻击者%</color> 使用 <color=#ff0000>%武器%</color> 击杀了 <color=#ff9900>%动物%</color> [%距离%米]",
"自杀消息": "<color=#ff9900>%玩家%</color> 选择了自杀",
"溺水死亡": "<color=#ff9900>%玩家%</color> 溺死了",
"跌落死亡": "<color=#ff9900>%玩家%</color> 摔死了",
"实体击杀": "<color=#ff9900>%玩家%</color> 死于 <color=#ff0000>%实体%</color>",
"辐射死亡": "<color=#ff9900>%玩家%</color> 死于辐射",
"饥饿死亡": "<color=#ff9900>%玩家%</color> 饿死了",
"摧毁坦克": "<color=#00ff00>%攻击者%</color> 使用 <color=#ff0000>%武器%</color> 从 <color=#ff9900>%距离%</color> 米外摧毁了坦克",
"击落武直": "<color=#00ff00>%攻击者%</color> 使用 <color=#ff0000>%武器%</color> 从 <color=#ff9900>%距离%</color> 米外击落了武直"
},
"NPC击杀消息": {
"NPC击杀玩家": "<color=#ff9900>%玩家%</color> 被 <color=#ff0000>%NPC%</color> 击杀",
"NPC击杀NPC": "<color=#ff0000>%攻击者NPC%</color> 击杀了 <color=#ff9900>%受害者NPC%</color>"
},
"输出击杀日志到服务器控制台": true,
"自动添加未知名称到配置文件": true,
"自定义名称": {
"武器名称": {
"Assault Rifle": "AK-47突击步枪",
"Bolt Action Rifle": "栓动步枪",
"Waterpipe Shotgun": "单管霰弹枪",
"LR-300 Assault Rifle": "LR-300突击步枪",
"rocket_basic": "火箭弹",
"Handmade SMG": "手工冲锋枪",
"rocket_hv": "高速火箭弹",
"M39 Rifle": "M39步枪",
"HMLMG": "自制轻机枪",
"Semi-Automatic Rifle": "半自动步枪",
"M249": "M249",
"High Caliber Revolver": "大口径左轮手枪",
"L96 Rifle": "L96狙击步枪",
"Machete": "大砍刀",
"Paddle": "桨",
"Legacy bow": "传统猎弓",
"Frontier Hatchet": "开拓者斧",
"MP5A4": "MP5A4",
"Prototype 17": "17型手枪",
"grenade.f1.deployed": "F1手榴弹",
"Spas-12 Shotgun": "Spas-12霰弹枪",
"Semi-Automatic Pistol": "半自动手枪",
"Mace": "狼牙锤",
"Minigun": "加特林",
"Assault Rifle - ICE": "AK-47突击步枪 - 冰",
"SKS": "SKS",
"militaryflamethrower.entity": "火焰喷射器",
"M4 Shotgun": "M4型霰弹枪",
"explosive.timed.deployed": "定时炸弹",
"Rock": "岩石",
"Bone Club": "骨棒",
"Hunting Bow": "猎弓"
},
"NPC名称": {
"scientist": "科学家",
"scientistnpc_roam": "科学家",
"scientistnpc_patrol": "科学家",
"scientistnpc_roamtethered": "科学家",
"scientistnpc_cargo": "货船科学家",
"scientistnpc_cargo_turret_any": "货船科学家",
"scientistnpc_cargo_turret_lr300": "货船科学家",
"scientistnpc_ch47_gunner": "CH47科学家",
"scientistnpc_arena": "科学家",
"scientistnpc_bradley": "坦克科学家",
"scientistnpc_bradley_heavy": "坦克重型科学家",
"scientistnpc_roam_nvg_variant": "夜视科学家",
"gingerbread_dungeon": "姜饼人",
"gingerbread_meleedungeon": "姜饼人",
"scarecrow_dungeon": "稻草人",
"scarecrow_dungeonnoroam": "稻草人",
"scarecrow": "稻草人",
"npc_tunneldweller": "隧道居民",
"npc_underwaterdweller": "水下居民",
"scientistnpc_peacekeeper": "维和科学家",
"scientistnpc_full_pistol": "科学家",
"scientistnpc_full_mp5": "科学家",
"scientistnpc_full_lr300": "科学家",
"scientistnpc_heavy": "重型科学家",
"npc_bandit_guard": "强盗营地守卫",
"scientistnpc_excavator": "巨挖科学家",
"scientistnpc_junkpile_pistol": "垃圾堆科学家",
"scientistnpc_oilrig": "油井科学家"
},
"实体名称": {
"autoturret_deployed": "自动炮塔"
},
"动物名称": {
"bear": "熊",
"chicken": "野鸡",
"boar": "野猪",
"stag": "鹿",
"wolf": "狼",
"wolf2": "狼",
"horse": "马",
"polarbear": "北极熊",
"zombie": "僵尸"
}
}
}