特征:
- 追踪动物死亡
- 追踪玩家击杀数
- 追踪 NPC 击杀数
- 追踪捕获的鱼
- 追踪 战利品容器 销毁 / 战利品
- 追踪收获的动物
- 追踪 Corpse Harvested
- 跟踪玩家死亡
- 追踪自杀事件
- 跟踪收获计数
- 启用/禁用跟踪的选项
- 启用/禁用消息和消息间隔的选项
- 玩家统计数据、全局统计数据、前 10 名显示器、排行榜的 UI
- 用于外部数据存储的 WebRequests
- SQL 支持(有 2 个选项,请阅读 documentaion: https://umod.org/community/kill-records/36935-setting-up-using-sql))
聊天命令
播放器命令:(可以在配置中更改)- /krhelp- 显示聊天中的所有命令
- /pkills- 显示您的击杀记录 UI
- /pkills (playername)- 显示其他玩家的击杀记录 UI
- /pkillschat- 在聊天中显示您的击杀记录
- /pkillschat (playername)- 在聊天中显示其他玩家的击杀记录
- /topkills- 通过页面选择显示 top kills UI
- /topkillschat (entity)- 显示聊天中的最高杀戮
- /totalkills- 显示所有实体的全局击杀计数
- /totalkillschat- 在聊天中显示所有实体的全局击杀计数
- /killchat true/false- 打开/关闭聊天中的 Kill 消息
- /totalkills- 显示所有实体的全局击杀计数
- /leadkills- 显示 leaderboads UI
- /pstats- 显示您的收获记录 UI
- /pstatschat- 在聊天中显示您的收获记录
- /pstats (playername)- 显示其他玩家收获记录 UI
- /pstatschat (playername) - 在聊天中显示另一个玩家的收获记录
- /topstats- 显示顶级玩家收获统计 UI
- /krhelpadmin- 显示聊天中的所有管理员命令
- /killsweb- 通过 webrequest 发送数据
- /krbackup- 使用 SQL 时保存的数据文件
- /krsql update- 在 SQL 中更新您的记录
- /krsql check- 检查 SQL 以查看您的记录是否存在,如果不存在,则在启用 SQL 时创建
- /krsql checkall- 检查 SQL 以查看缓存中是否存在所有记录,如果不存在,则在启用 SQL 时创建
- /resetkillrecords- 清除并重置 Kill Records 中的所有玩家数据
权限
此插件使用权限系统。要分配权限,请使用 。要删除权限,请使用 。oxide.grant <user or group> <name or steam id> <permission>oxide.revoke <user or group> <name or steam id> <permission>- killrecords.admin-- 授予使用所有管理员聊天命令的权限
- killrecords.killchat-- 允许玩家打开/关闭 kill 消息
配置
设置和选项可以在目录下的文件中进行配置。建议使用编辑器和验证器,以避免格式问题和语法错误。KillRecordsconfig{
"Tracking Options": {
"Trackchicken": true,
"Trackboar": true,
"Trackstag": true,
"Trackwolf": true,
"Trackbear": true,
"Trackpolarbear": true,
"Trackshark": true,
"Trackhorse": true,
"Trackfish": true,
"TrackPlayer": true,
"Trackscientist": true,
"Trackdweller": true,
"Tracklootcontainer": true,
"Trackunderwaterlootcontainer": true,
"Trackbradhelicrate": true,
"Trackhackablecrate": true,
"Trackdeaths": true,
"Tracksuicides": true,
"TrackAnimalHarvest": true,
"TrackCorpseHarvest": true,
"TrackBradley": true,
"TrackHeli": true
},
"Player Chat Commands": {
"krhelp": "krhelp",
"pkills": "pkills",
"pkillschat": "pkillschat",
"topkills": "topkills",
"topkillschat": "topkillschat",
"totalkills": "totalkills",
"totalkillschat": "totalkillschat",
"leadkills": "leadkills",
"pstats": "pstats",
"pstatschat": "pstatschat",
"topstats": "topstats",
"totalstats": "totalstats",
"totalstatschat": "totalstatschat",
"killchat": "killchat"
},
"Admin Chat Commands": {
"krhelpadmin": "krhelpadmin",
"krweb": "krweb",
"krsql": "krsql",
"krbackup": "krbackup",
"krreset": "krreset"
},
"Harvest Options": {
"treescut": true,
"oremined": true,
"cactuscut": false,
"woodpickup": true,
"orepickup": true,
"berriespickup": true,
"pumpkinpickup": true,
"potatopickup": true,
"cornpickup": true,
"mushroompickup": true,
"hemppickup": true,
"seedpickup": true
},
"Order Options": {
"chickenpos": 1,
"boarpos": 2,
"stagpos": 3,
"wolfpos": 4,
"bearpos": 5,
"polarbearpos": 22,
"sharkpos": 6,
"horsepos": 7,
"fishpos": 19,
"playerpos": 8,
"scientistpos": 9,
"dwellerpos": 10,
"lootpos": 11,
"unlootpos": 12,
"bradhelicratepos": 13,
"hackablecratepos": 14,
"deathpos": 15,
"suicidepos": 16,
"corpsepos": 17,
"pcorpsepos": 18,
"bradleypos": 20,
"helipos": 21
},
"Chat & UI Options": {
"enableui": true,
"UseImageLibrary": true,
"ShowKillMessages": true,
"KillMessageInterval": 1,
"KillMessageLimit": 5000,
"enableuinotify": true,
"disablechats": true,
"uinotifytype": 4
},
"Web Request": {
"UseWebrequests": false,
"DataURL": "URL",
"SecretKey": "SecretKey"
},
"SQL": {
"UseSQL": false,
"FileType": 0,
"SQL Host": "HOST",
"SQL Port": 3306,
"SQL Database": "DATABASENAME",
"SQL Username": "DATABASEUSERNAME",
"SQL Password": "DATABASEPASSWORD"
}
地方化
默认消息位于目录下的文件中。要添加对其他语言的支持,请创建一个新的语言文件夹(例如 对于德语),请将默认语言文件复制到新文件夹,然后自定义消息。KillRecordslang/ende{
"players": "Players: {0}",
"noplayer": "Kill Records:\n No player found with: {0}",
"chicken": "Chickens: {0}",
"boar": "Boars: {0}",
"stag": "Stags: {0}",
"wolf": "Wolves: {0}",
"bear": "Bears: {0}",
"polarbear": "PolarBears: {0}",
"simpleshark": "Sharks: {0}",
"horse": "Horses: {0}",
"fish": "Fish: {0}",
"treecut": "Trees: {0}",
"oremined": "Ore Mined: {0}",
"cactuscut": "Cactus Cut: {0}",
"woodpickup": "Wood Pickup: {0}",
"orepickup": "Ore Pickup: {0}",
"berries": "Berries: {0}",
"seeds": "Seeds: {0}",
"mushroom": "Mushroom: {0}",
"corn": "Corn: {0}",
"potato": "Potato: {0}",
"pumpkin": "Pumpkin: {0}",
"hemp": "Hemp: {0}",
"dweller": "Dwellers: {0}",
"corpse": "Animals Harvested: {0}",
"pcorpse": "Bodies Harvested: {0}",
"loot": "Loot Containers: {0}",
"unloot": "Underwater Loot Containers: {0}",
"bradheliloot": "Brad/Heli Crates: {0}",
"hackloot": "Hackable Crates: {0}",
"bradley": "Bradley: {0}",
"heli": "Patrol Helicopter: {0}",
"bradleyapc": "Bradley: {0}",
"patrolhelicopter": "Patrol Helicopter: {0}",
"scientists": "Scientist: {0}",
"deaths": "Deaths: {0}",
"suicide": "Suicides: {0}",
"killchat": "Show chat kill messages {0}",
"chickenui": "Chickens",
"boarui": "Boars",
"stagui": "Stags",
"wolfui": "Wolves",
"bearui": "Bears",
"polarbearui": "PolarBears",
"sharkui": "Sharks",
"horseui": "Horses",
"fishui": "Fish",
"playerui": "Players",
"scientistui": "Scientists",
"dwellerui": "Dwellers",
"deathui": "Deaths",
"suicideui": "Suicides",
"lootui": "Loot Containters",
"wlootui": "Underwater Loots",
"bradheliui": "Brad/Heli Crates",
"hackableui": "Hackable Crates",
"bradleyui": "Bradley",
"treeui": "Trees",
"oreminedui": "Ore Mined",
"cactusui": "Cactus Cut",
"woodui": "Wood Picked Up",
"oreui": "Ore Picked Up",
"mushroomui": "Mushrooms",
"potatoui": "Potatos",
"pumpkinui": "Pumpkins",
"hempui": "Hemp",
"berriesui": "Berries",
"seedsui": "Seeds",
"cornui": "Corn",
"patrolhelicopterui": "Patrol Helicopter",
"corpseui": "Animals Harvested",
"pcorpseui": "Bodies Harvested",
"webrequestgood": "Kill Record Data Sent to Website:",
"webrequestbad": "Couldn't get an answer from Website!",
"webrequestdisabled": "WebRequest Disabled - Enable in Config file",
"totalkills": "Total Kills All Players",
"totalstats": "Total Harvests All Players",
"sqlupdate": "Your records have been manually updated in the database",
"sqlcheck": "Your records have been checked and updated in database",
"sqlcheckall": "All players have been checked and updated in database",
"datafilebackup": "Records have been manually saved to data file",
"datafilenotinuse": "DataFile not in use, config is set to SQL only",
"resetkills": "All Kill Records have been reset and plugin reloaded",
"KRHelp": "Kill Records by MACHIN3 \n/pkills - Open Kill Records UI \n/pkillschat - Show kill Records in chat \n/pkills (playername) - Open players Kill Records UI \n/pkillschat (playername) - Show players Kill Records in chat \n/topkills - Open top players UI \n/topkillschat (type) - Show top players list in chat \n/leadkills - Opens leaderboards UI \n/totalkills - Show global kill count for all entities \n/totalkillschat - Show global kill count in chat \n/killchat true/false - Enable/Disable Kill messages",
"KRHelpadmin": "Kill Records by MACHIN3 \n/krbackup - Manually saves records to datafile \n/krweb - Manually sends records over webrequest if webrequest enabled \n/krsql update - Manually updates your records to SQL if SQL enabled \n/krsql check - Checks SQL to see if your records exist, if not will create if SQL enabled \n/krsql checkall - Checks SQL to see if all records exist, if not will create if SQL enabled \n/resetkillrecords - Clears all kill record data for all players"
}