免费插件

Guess The Number

猜数字

要求玩家猜出正确数字的活动

event奖励娱乐玩法economicsserverrewards

原作者:KrunghCrow · 查看 uMod 官方页面 ↗

插件介绍

要求玩家猜出正确数字的活动

Skill Tree- Optional

ServerRewards - Optional

Economics - Optional

XPerience - Optional

主要用途

主要用于event、奖励、娱乐玩法、economics等服务端功能。 本插件由 KrunghCrow 发布,当前目录记录版本为 v2.2.3,uMod 累计下载 16,461 次。

适用场景

  • PVE、活动服或任务玩法服务器
  • 带经济、商店、礼包或奖励系统的服务器
  • 希望改善玩家交互与日常体验的社区服务器

功能分类

event奖励娱乐玩法economicsserverrewards
查看 uMod 官方英文简介

An event that requires player to guess the correct number

权限节点

guessthenumber.enter - players with this permission can enter in events

guessthenumber.admin - players with this permission can use the /gtn commands (administration features)

授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke

指令说明

/gtn start

Start a basic event with the default numbers set in the config file

/gtn start <min> <max>

Start an event with the numbers set

/gtn end

End the current event

/guess <number>

Submit a guess

/top

Opens UI Leader Board for Top 10 Winners (command changeable in config)

配置说明

{ "Announce Settings": { "Game Tip Duration": 20, "Prefix": "[<color=#abf229>Guess The Number</color>] ", "Show all Guess Attempts to chat": false, "Show all Guess Attempts to GameTips": false, "SteamID": 0, "Use Chat Messages": false, "Use Game Tip Messages": true }, "Event Settings": { "Auto Event Repeat Time": 600, "Auto Events Enabled": false, "Default Number Max": 100, "Default Number Min": 1, "Event Length": 30, "Max Tries": 1 }, "LeaderBoard UI Settings": { "Command": "top" }, "Online Settings": { "Minimum amount of players to be online to start the game": "1" }, "Reward Battlepass Settings": { "Amount 1st currency (loss)": 10, "Amount 1st currency (win)": 20, "Amount 2nd currency (loss)": 10, "Amount 2nd currency (win)": 20, "Use Battlepass 1st currency": false, "Use Battlepass 2nd currency": false, "Use Battlepass on loss": false }, "Reward Command Settings": { "Command Name": "Display Name For Command Reward Message", "Command To Execute": "o.grant user {playerId} some.permission", "Use Command": false }, "Reward Economics Settings": { "Amount (loss)": 10, "Amount (win)": 20, "Use Economics": true, "Use Economics on loss": true }, "Reward Item Settings": { "Amount": 100, "Custom Display Name": "", "Item Shortname": "scrap", "Item Skin ID": 0, "Use Item": false }, "Reward ServerRewards Settings": { "Amount (loss)": 10, "Amount (win)": 20, "Use ServerRewards": false, "Use ServerRewards on loss": false }, "Reward SkillTree Settings": { "Amount (loss)": 50, "Amount (win)": 100, "Use SkillTree": false, "Use SkillTree on loss": false }, "Reward XPerience Settings": { "Amount (loss)": 50, "Amount (win)": 100, "Use XPerience": false, "Use XPerience on loss": false } }

官方配置示例

{
  "Announce Settings": {
    "Game Tip Duration": 20,
    "Prefix": "[<color=#abf229>Guess The Number</color>] ",
    "Show all Guess Attempts to chat": false,
    "Show all Guess Attempts to GameTips": false,
    "SteamID": 0,
    "Use Chat Messages": false,
    "Use Game Tip Messages": true
   },
  "Event Settings": {
    "Auto Event Repeat Time": 600,
    "Auto Events Enabled": false,
    "Default Number Max": 100,
    "Default Number Min": 1,
    "Event Length": 30,
    "Max Tries": 1
  },
  "LeaderBoard UI Settings": {
    "Command": "top"
  },
  "Online Settings": {
    "Minimum amount of players to be online to start the game": "1"
  },
  "Reward Battlepass Settings": {
    "Amount 1st currency (loss)": 10,
    "Amount 1st currency (win)": 20,
    "Amount 2nd currency (loss)": 10,
    "Amount 2nd currency (win)": 20,
    "Use Battlepass 1st currency": false,
    "Use Battlepass 2nd currency": false,
    "Use Battlepass on loss": false
  },
  "Reward Command Settings": {
    "Command Name": "Display Name For Command Reward Message",
    "Command To Execute": "o.grant user {playerId} some.permission",
    "Use Command": false
  },
  "Reward Economics Settings": {
    "Amount (loss)": 10,
    "Amount (win)": 20,
    "Use Economics": true,
    "Use Economics on loss": true
  },
  "Reward Item Settings": {
    "Amount": 100,
    "Custom Display Name": "",
    "Item Shortname": "scrap",
    "Item Skin ID": 0,
    "Use Item": false
  },
  "Reward ServerRewards Settings": {
    "Amount (loss)": 10,
    "Amount (win)": 20,
    "Use ServerRewards": false,
    "Use ServerRewards on loss": false
  },
  "Reward SkillTree Settings": {
    "Amount (loss)": 50,
    "Amount (win)": 100,
    "Use SkillTree": false,
    "Use SkillTree on loss": false
  },
  "Reward XPerience Settings": {
    "Amount (loss)": 50,
    "Amount (win)": 100,
    "Use XPerience": false,
    "Use XPerience on loss": false
  }
}
{
  "No Permission": "You cannot use this command!",
  "Event Already Active": "There is currently already an event that is active!",
  "Event Started": "A random number event has started, correctly guess the random number to win a prize!\nUse <color=#abf229>/guess <number></color> to enter between <color=#abf229>{0}</color> and <color=#abf229>{1}</color>",
  "Help Message": "<color=#abf229>/gtn start</color> (this will use the default min/max set in the config)",
  "Help Message1": "<color=#abf229>/gtn start <min number> <max number></color> (allows you to set custom min/max numbers)",
  "Help Message2": "<color=#abf229>/gtn end</color> (will end the current event)",
  "No Event": "There are no current events active",
  "Max Tries": "You have already guessed the maximum number of times",
  "Event Win": "<color=#abf229>{0}</color> has won the event! (correct number was <color=#abf229>{1}</color>)",
  "Battlepass Reward1": "For winning you are rewarded (BP1) : <color=#abf229>{0}</color>",
  "Battlepass loss Reward1": "Incorrect answer you get (BP1) : <color=#abf229>{0}</color>",
  "Battlepass Reward2": "For winning you are rewarded (BP2) : <color=#abf229>{0}</color>",
  "Battlepass loss Reward2": "Incorrect answer you get (BP2) : <color=#abf229>{0}</color>",
  "Economics Reward": "For winning you are rewarded $ <color=#abf229>{0}</color>",
  "Economics loss Reward": "Incorrect answer you get $ <color=#abf229>{0}</color>",
  "ServerRewards Reward": "For winning you are rewarded <color=#abf229>{0}</color> RP",
  "ServerRewards loss Reward": "Incorrect answer you get <color=#abf229>{0}</color> RP",
  "Wrong Number": "You guessed the wrong number\nGuesses remaining this round : ",
  "/guess Invalid Syntax": "Invalid syntax! /guess <number>",
  "Event Timed Out": "The event time has run out and no one successfully guessed the number!\nThe Number to guess was : <color=#abf229>{0}</color>",
  "Invalid Guess Entry": "The guess you entered was invalid! numbers only please",
  "Event Created": "The event has been succesfully created, the winning number is <color=#abf229>{0}</color>",
  "GTN console invalid syntax": "Invalid syntax! gtn <start/end> <min number> <max number>",
  "SkillTree Reward": "For winning you are rewarded <color=#abf229>{0}</color> XP",
  "SkillTree loss Reward": "Incorrect answer you get <color=#abf229>{0}</color> XP",
  "XPerience Reward": "For winning you are rewarded <color=#abf229>{0}</color> XP",
  "XPerience loss Reward": "Incorrect answer you get <color=#abf229>{0}</color> XP",
  "Item Reward": "For winning you are rewarded <color=#abf229>{0}</color>",
  "Command Reward": "For winning you are rewarded <color=#abf229>{0}</color>",
  "UI_TITLE": "Guess The Number",
  "UI_TOP_TEXT": "Top 10 Players",
  "UI_NO_PLAYERS": "Nobody Has Played Yet! :(",
  "UI_PLAYERS": "{0}. {1} - Wins: <color=#abf229>{2}</color>"
}

更新日志

最新版本: v2.2.3
最后版本发布: 2025-02-01
最后更新(条目): 2026-07-19

本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面

安装方法

  1. 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
  2. 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
  3. 将 .cs 文件放入服务器的 oxide/plugins 目录。
  4. 观察服务端控制台,确认插件编译并成功加载。
  5. 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。

使用前注意

  • Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
  • 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
  • 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
  • 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
来源说明

中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。