插件介绍
玩家可以将 X 数量的废料放入赌池中,就有机会赢得一切
主要用途
主要用于gambling、scrap、prizes、奖励等服务端功能。 本插件由 Trey 发布,当前目录记录版本为 v1.2.2,uMod 累计下载 11,423 次。
适用场景
- PVE、活动服或任务玩法服务器
- 带经济、商店、礼包或奖励系统的服务器
功能分类
查看 uMod 官方英文简介
Players can enter X amount of scrap in to a gambling pot at the chance of winning everything
权限节点
globalgamble.depositRequired for players to deposit to the gambling pot
globalgamble.startRequired for players to start a new gambling pot on demand
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
配置说明
{ "Global Gamble Options": { "Chat Command": "globalgamble", "Frequency of GlobalGamble(minutes)": 60.0, "Duration of Deposit Window(minutes)": 10.0, "Remind Players of Active Gamble Every X Seconds": 120.0, "Minimum Online Players": 10, "Minimum Scrap Deposit": 100, "Commission Permissions": { "globalgamble.default": 0.3, "globalgamble.vip1com": 0.25, "globalgamble.vip2com": 0.2, "globalgamble.vip3com": 0.15, "globalgamble.vip4com": 0.1, "globalgamble.vip5com": 0.05 }, "Wipe Total Earnings List": true, "Chat Icon (Steam64ID)": 0 } }
官方配置示例
{
"Global Gamble Options": {
"Chat Command": "globalgamble",
"Frequency of GlobalGamble(minutes)": 60.0,
"Duration of Deposit Window(minutes)": 10.0,
"Remind Players of Active Gamble Every X Seconds": 120.0,
"Minimum Online Players": 10,
"Minimum Scrap Deposit": 100,
"Commission Permissions": {
"globalgamble.default": 0.3,
"globalgamble.vip1com": 0.25,
"globalgamble.vip2com": 0.2,
"globalgamble.vip3com": 0.15,
"globalgamble.vip4com": 0.1,
"globalgamble.vip5com": 0.05
},
"Wipe Total Earnings List": true,
"Chat Icon (Steam64ID)": 0
}
}{
"AdminHelp": "<color=#C0C0C0><color=#66B2FF>/globalgamble deposit <amount></color> - This will deposit X amount of scrap in to the global pot.\n\n<color=#66B2FF>/globalgamble start</color> - This will begin a new global gamble.</color>",
"GambleAlreadyActive": "<color=#C0C0C0>There is already a gamble currently running, wait for it to end before starting another one.</color>!",
"GambleBegin": "<color=#C0C0C0>A new scrap gamble has started, type <color=#66B2FF>/globalgamble</color> to enter.</color>",
"GambleReminder": "<color=#C0C0C0>There is currently a scrap gamble occuring!, type <color=#66B2FF>/globalgamble</color> to read more info.</color>",
"IncorrectFormat": "<color=#C0C0C0>That wasn't a correct deposit statement. Example: <color=#66B2FF>/globalgamble deposit 150</color></color>",
"InsufficientFunds": "<color=#C0C0C0>You don't have <color=#66B2FF>{0} scrap</color> to deposit!</color>",
"MinimumDeposit": "<color=#C0C0C0>The minimum deposit to enter is <color=#66B2FF>{0} scrap</color>!",
"NewDeposit": "<color=#C0C0C0><color=#FF6666>{0}</color> has just deposited <color=#66B2FF>{1} scrap</color>, bringing the total pot to <color=#66B2FF>{2}</color>!</color>",
"NewWinner": "<color=#C0C0C0><color=#FF6666>{0}</color> is the winner of the scrap gamble, with a commission of <color=#66B2FF>{1}</color>, receiving a total of <color=#66B2FF>{2} scrap</color>!",
"NobodyPlayed": "<color=#C0C0C0>Nobody played in the gamble, so nobody won!</color>",
"NoPermission": "<color=#C0C0C0>You do not have permission to use this.</color>",
"NormalHelp": "<color=#C0C0C0><color=#66B2FF>/globalgamble deposit <amount></color> - This will deposit X amount of scrap in to the global pot.</color>",
"NotGambleTime": "<color=#C0C0C0>There are currently no scrap gambles occuring, try again later.</color>",
"Prefix": "<color=#FF6666>[Global Gamble]</color>"
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。