插件介绍
允许玩家掷数字来赢得更多金钱或积分
This plugin allow your player to bet some money/points to become a rich man or a naked guy ;).
111x is the number rolled by player where "x" mean a random number and the "1" after the double dot is the percent of win rate.
Example if a player place bet 100 with multiplier 4 and roll a 1111 he will win 100*(1/100)*4
The "-" " " are both bet multiplers.
主要用途
主要用于奖励、娱乐玩法等服务端功能。 本插件由 sami37 发布,当前目录记录版本为 v1.2.5,uMod 累计下载 12,006 次。
适用场景
- PVE、活动服或任务玩法服务器
- 带经济、商店、礼包或奖励系统的服务器
- 希望改善玩家交互与日常体验的社区服务器
功能分类
查看 uMod 官方英文简介
Allows players to roll number to win more money or points
权限节点
lottery.canuseAllows player to use the lottery
lottery.canconfigAllows player to configure the lottery
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
/lotOpen the lotery GUI
/lot addAdd NPC you are looking to the list of NPCs
/lot removeRemove NPC you are looking to the list of NPCs
相关依赖
- Economics
- Human NPC
- Server Rewards
配置说明
{ "Global": { "Jackpot": 50000, "JackpotMatch": 1058, "RollMaxRange": 9999, "RollMinRange": 9998, "WinRate": { "111x": 1, "222x": 10, "333x": 50, "444x": 10, "555x": 75, "666x": 5, "777x": 75, "888x": 56, "999x": 420, "99x9": 52, "99xx": 86, "9x99": 57, "9xxx": 86, "x999": 85 } }, "HumanNPC": { "Enabled": false, "npcID": [ "577616100" ] }, "ServerRewards": { "Enabled": true, "Jackpot": 10, "JackpotMatch": 1869, "Match": [ "111x", "222x", "333x", "444x", "555x", "666x", "777x", "888x", "999x", "99x9", "9x99", "x999", "99xx", "9xxx" ], "MinBet": 1, "MinBetJackpot": 100, "WinPoint": { "Match1Number": 1, "Match2Number": 2, "Match3Number": 3, "Match4Number": 4 } }, "UI": { "BackgroundMainColor": "0.1 0.1 0.1 1", "BackgroundMainURL": "http://wac.450f.edgecastcdn.net/80450F/kool1079.com/files/2016/05/RS2397_126989085.jpg", "BackgroundWinColor": "0.1 0.1 0.1 1", "BackgroundWinURL": "http://wac.450f.edgecastcdn.net/80450F/kool1079.com/files/2016/05/RS2397_126989085.jpg" } }
官方配置示例
{
"Global": {
"Jackpot": 50000,
"JackpotMatch": 1058,
"RollMaxRange": 9999,
"RollMinRange": 9998,
"WinRate": {
"111x": 1,
"222x": 10,
"333x": 50,
"444x": 10,
"555x": 75,
"666x": 5,
"777x": 75,
"888x": 56,
"999x": 420,
"99x9": 52,
"99xx": 86,
"9x99": 57,
"9xxx": 86,
"x999": 85
}
},
"HumanNPC": {
"Enabled": false,
"npcID": [
"577616100"
]
},
"ServerRewards": {
"Enabled": true,
"Jackpot": 10,
"JackpotMatch": 1869,
"Match": [
"111x",
"222x",
"333x",
"444x",
"555x",
"666x",
"777x",
"888x",
"999x",
"99x9",
"9x99",
"x999",
"99xx",
"9xxx"
],
"MinBet": 1,
"MinBetJackpot": 100,
"WinPoint": {
"Match1Number": 1,
"Match2Number": 2,
"Match3Number": 3,
"Match4Number": 4
}
},
"UI": {
"BackgroundMainColor": "0.1 0.1 0.1 1",
"BackgroundMainURL": "http://wac.450f.edgecastcdn.net/80450F/kool1079.com/files/2016/05/RS2397_126989085.jpg",
"BackgroundWinColor": "0.1 0.1 0.1 1",
"BackgroundWinURL": "http://wac.450f.edgecastcdn.net/80450F/kool1079.com/files/2016/05/RS2397_126989085.jpg"
}
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。