欢迎加入!

注册后,您将能够与我们社区的其他成员进行讨论、分享和私信。

无论您是想寻求帮助、分享经验,还是结识志同道合的朋友,我们都期待您的参与!一起探索更多精彩内容吧。

立即注册! 加入群聊
  • 所有的免费插件都是同步外网更新,所有都是最新版!
猜数字

同步更新 猜数字 同步更新

没有下载权限
购买会员

依赖​

技能树 - 可选

ServerRewards - 可选

经济学 - 可选

XPerience - 可选

战斗通行证 - 可选

信息​

此插件添加了一个事件,玩家必须尝试在两个固定数字之间猜测随机生成的数字。获胜者将获得奖品(SkillTree、XPerience、Battlepass、Economics、ServerRewards、Items 或 Run Commands)

Screenshot-2024-07-01-211214.png
Screenshot-2024-07-01-211301.png
Screenshot-2024-08-15-073018.png


聊天命令​

  • /gtn start-- 使用配置文件中设置的默认数字启动基本事件
  • /gtn start <min> <max>-- 使用设置的数字开始活动
  • /gtn end-- 结束当前事件
  • /guess <number>-- 提交猜测
  • /top-- 打开 Top 10 获奖者的 UI 排行榜(可在配置中更改命令)

控制台命令​

  • gtn start-- 使用配置文件中设置的默认数字启动基本事件
  • gtn start <min> <max>-- 使用设置的数字开始活动
  • gtn end-- 结束当前事件
  • gtn_wipe-- 手动清除数据文件(在服务器擦除时自动擦除)

权限​

此插件使用权限系统。要分配权限,请使用 。要删除权限,请使用 。oxide.grant <user or group> <name or steam id> <permission>oxide.revoke <user or group> <name or steam id> <permission>
  • guessthenumber.enter- 拥有此权限的玩家可以参加活动
  • guessthenumber.admin- 具有此权限的玩家可以使用 /gtn 命令(管理功能)

配置​

设置和选项可以在目录下的文件中进行配置。建议使用编辑器和验证器,以避免格式问题和语法错误。GuessTheNumberconfig
{
"Announce Settings": {
"Game Tip Duration": 20,
"Prefix": "[<color=#abf229>Guess The Number</color>] ",
"Show all Guess Attempts to chat": 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
}
}

地方化​

默认消息位于目录下的文件中。要添加对其他语言的支持,请创建一个新的语言文件夹(例如 对于德语),请将默认语言文件复制到新文件夹,然后自定义消息。GuessTheNumberlang/ende
{
"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>"
}
作者
xiaoguan
下载
1
查看
21
首次发布
最后更新

评分

0.00 星 0 星

来自xiaoguan的更多资源

后退
顶部