关于 Bot Purge Event

支持经济和服务器奖励

如果需要,您可以同时使用 or 和两者,也可以同时设置为 false。

活动

挑战您的玩家,让他们在活动期间争夺最多的 NPC/机器人击杀数。

得分最高的玩家将获得战利品和吹嘘的权利。

特征

爆头 “Crunch” 让您的玩家知道是时候干掉一些机器人了。

排行榜跟踪器,计算您的顶级玩家的击杀数,并倒计时。

(击杀计数器位于指南针的右侧。

实施 Tie breaker 以随机决定获胜者,延迟 Dramatics 😉

最后,获胜者将获得您在表格中指定的任何战利品。(配置中的皮肤和自定义名称)

现在,您可以奖励他们 Economics 余额或 Server Rewards Points。

命令

/purge – 手动启动事件

/PurgeEnd – 手动结束

/BotKills – 如果需要,跟踪杀戮,参与时 counter 也会在 UI 上。

Start 和 end 可以从 Rcon 执行

 

HUD 用户

服务器 HUD新诺讯Rust插件网

 

HUD 配置添加

您的颜色和 Icon 口味可能不同。

随意更改它。

,
    {
      "Hook OnEventStart": "OnBotPurgeEventStart",
      "Hook OnEventStop": "OnBotPurgeEventEnd",
      "Name": "BotPurgeEvent",
      "Active color": "#f02020",
      "Icon": "https://cdn.discordapp.com/attachments/1131387423838961747/1149341840391278642/BOTPURGEEVENTICON.png",
      "Color": "#A020F0",
      "Enable": true
    }

 

HUD .cs 文件自定义事件添加

 

        private void OnBotPurgeEventStart() => OnEventTouch(System.Reflection.MethodBase.GetCurrentMethod().Name);
        
        private void OnBotPurgeEventEnd() => OnEventTouch(System.Reflection.MethodBase.GetCurrentMethod().Name);

 

运行命令

 

使用 {id} 定位获胜的玩家。

 

Config ex.

{
  "BotPurgeEndCommand": "purgeend",
  "BotPurgeStartCommand": "purge",
  "ChatCountdownEnabled": true,
  "ChatCountdownInterval(Minutes)": 1,
  "EconomicRewards": 1000,
  "EnableEconomicRewards": true,
  "EnableLootTable": true,
  "EnableScheduledEvents": true,
  "EnableServerRewards": true,
  "EnableStartSFX": true,
  "EnableWinnerCommands": true,
  "EventDuration(Seconds)": 600,
  "LeaderboardUIAnchorMax": "0.5 1",
  "LeaderboardUIAnchorMin": "0.5 1",
  "LeaderboardUIOffsetMax": "450 0",
  "LeaderboardUIOffsetMin": "250 -150",
  "MaximumTimeBetweenEvents(Seconds)": 7200,
  "Minimum Players To Start": 2,
  "MinimumTimeBetweenEvents(Seconds)": 3600,
  "RandomItemsMax": 3,
  "RandomItemsMin": 1,
  "ServerRewards": 1000,
  "WinnerCommands": [
    {
      "Command": "inventory.giveto {id} stones 100"
    },
    {
      "Command": "inventory.giveto {id} wood 100"
    }
  ],
  "WinnerRewards": [
    {
      "maxQuantity": 5,
      "minQuantity": 1,
      "name": "Blood Money",
      "shortname": "paper",
      "skinid": null
    },
    {
      "maxQuantity": 15,
      "minQuantity": 5,
      "name": "",
      "shortname": "scrap",
      "skinid": null
    }
  ]
}

 

郎 ex.

 

{
  "EventStarted": "[<color=#880808>BOT PURGE EVENT</color>] The Bot Purge Event has started! <color=#884808>Kill</color> as many bots as you can!",
  "EventAlreadyRunning": "[<color=#880808>BOT PURGE EVENT</color>] The Event is already running.",
  "EventNotRunning": "[<color=#880808>BOT PURGE EVENT</color>] The Event is not currently running.",
  "NoPermissionStart": "[<color=#880808>BOT PURGE EVENT</color>] You don't have permission to start the Bot Purge Event.",
  "NoPermissionEnd": "[<color=#880808>BOT PURGE EVENT</color>] You don't have permission to end the Bot Purge Event.",
  "ManuallyEnded": "[<color=#880808>BOT PURGE EVENT</color>] The Event was manually Ended.",
  "NoParticipants": "[<color=#880808>BOT PURGE EVENT</color>] The Event has ended! Unfortunately, no one participated.",
  "CountdownText": "[<color=#880808>BOT PURGE EVENT</color>] The Bot Purge Event will end in <color=#880808>{0}</color> minute(s).",
  "TieMessage": "The Bot Purge Event has ended! There was a tie among <color=#880808>{0}</color> players with <color=#880808>{1}</color> kills.",
  "TieWinnerMessage": "The winner was randomly selected: <color=#880808>{0}</color> with <color=#880808>{1}</color> kills!",
  "WinnerAnnounce": "[<color=#880808>BOT PURGE EVENT</color>] {0}",
  "HasEnded": "The Bot Purge Event Has Ended!",
  "EndMessage": "\n\nThe Bot Purge Event has ended!\n\nThe winner is <color=#880888>{0}</color> with <color=#884808>{1}</color> kill(s)!",
  "RewardMessage": "\n<color=#880848>{0}</color> <color=#888808>x</color> <color=#088848>{1}</color>",
  "EconomicRewardMessage": "\n<color=#880888>{0}</color> received <color=#bb9b65>$</color><color=#85bb65>{1}</color>!",
  "ServerRewardsMessage": "\n<color=#880888>{0}</color> also received <color=#85bb65>{1}</color><color=#bb9b65> RP</color>!",
  "PlayerEarnedMessage": "\n<color=#880888>{0}</color> earned:\n{1}"
}
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。