跳转至

Settings\PlayTimeRewards.yml 中文注释版🔗

本页为 CMI 插件在线时长奖励系统配置说明,对应配置文件 Settings/PlayTimeRewards.yml。 可配置多个奖励条目,玩家在线时间达到设定值后即可获得对应奖励。 键名支持两种计时方式:PayEvery(周期性发放)与 PayFor(累计达到该时长后发放一次)。


hourly1(每小时奖励)🔗

DisplayName"&7Hourly reward"

奖励在菜单或提示中显示的名称

AutoClaimtrue

达到条件后是否自动领取该奖励

Description(描述列表)

奖励描述

Description:
- "&2Get reward for every hour you are online"
- "&2Free heal and 20 bucks into your pocket"

PayEvery3600

每间隔多少秒发放一次奖励(3600 秒 = 1 小时)

Commands(命令列表)

发放奖励时执行的命令

Commands:
- asConsole! cmi heal [playerName] -s
- asConsole! cmi money give [playerName] 20

daily1(每日奖励)🔗

DisplayName"&7Daily reward"

奖励在菜单或提示中显示的名称

AutoClaimtrue

达到条件后是否自动领取该奖励

Description(描述列表)

奖励描述

Description:
- "&2Get reward for every 24 hours of playtime"
- "&22000 bucks into your pocket!"

PayEvery86400

每间隔多少秒发放一次奖励(86400 秒 = 24 小时)

Commands(命令列表)

发放奖励时执行的命令

Commands:
- asConsole! cmi money give [playerName] 2000

1hour(累计 1 小时奖励)🔗

DisplayName"&fOne hour reward"

奖励在菜单或提示中显示的名称

AutoClaimfalse

达到条件后是否自动领取该奖励

Description(描述列表)

奖励描述

Description:
- "&2Get reward for 1 hour you have been online"
- "&2500 bucks into your pocket!"

PayFor3600

在线时间累计达到该秒数后发放一次奖励(3600 秒 = 1 小时)

Commands(命令列表)

发放奖励时执行的命令

Commands:
- asConsole! cmi money give [playerName] 500

6hour(累计 6 小时奖励)🔗

DisplayName"&f6 hour reward"

奖励在菜单或提示中显示的名称

AutoClaimfalse

达到条件后是否自动领取该奖励

Description(描述列表)

奖励描述

Description:
- "&2Get reward for 6 hour's you have been online"
- "&22 000 bucks into your pocket!"

PayFor21600

在线时间累计达到该秒数后发放一次奖励(21600 秒 = 6 小时)

Commands(命令列表)

发放奖励时执行的命令

Commands:
- asConsole! cmi money give [playerName] 2000

12hour(累计 12 小时奖励)🔗

DisplayName"&f12 hour reward"

奖励在菜单或提示中显示的名称

AutoClaimfalse

达到条件后是否自动领取该奖励

Description(描述列表)

奖励描述

Description:
- "&2Get reward for 12 hour's you have been online"
- "&25 000 bucks into your pocket!"

PayFor43200

在线时间累计达到该秒数后发放一次奖励(43200 秒 = 12 小时)

Commands(命令列表)

发放奖励时执行的命令

Commands:
- asConsole! cmi money give [playerName] 5000

24hour(累计 24 小时奖励)🔗

DisplayName"&f24 hour reward"

奖励在菜单或提示中显示的名称

AutoClaimfalse

达到条件后是否自动领取该奖励

Description(描述列表)

奖励描述

Description:
- "&2Get reward for 24 hour's you have been online"
- "&215 000 bucks into your pocket!"

PayFor86400

在线时间累计达到该秒数后发放一次奖励(86400 秒 = 24 小时)

Commands(命令列表)

发放奖励时执行的命令

Commands:
- asConsole! cmi money give [playerName] 15000

7days(累计 7 天奖励)🔗

DisplayName"&f7 day reward"

奖励在菜单或提示中显示的名称

AutoClaimfalse

达到条件后是否自动领取该奖励

Description(描述列表)

奖励描述

Description:
- "&2Get reward for 7 days you have been online"
- "&250 000 bucks into your pocket!"

PayFor604800

在线时间累计达到该秒数后发放一次奖励(604800 秒 = 7 天)

Commands(命令列表)

发放奖励时执行的命令

Commands:
- asConsole! cmi money give [playerName] 50000

30days(累计 30 天奖励)🔗

DisplayName"&f30 day reward"

奖励在菜单或提示中显示的名称

AutoClaimfalse

达到条件后是否自动领取该奖励

Description(描述列表)

奖励描述

Description:
- "&2Get reward for 30 days you have been online"
- "&2500 000 bucks into your pocket!"

PayFor2592000

在线时间累计达到该秒数后发放一次奖励(2592000 秒 = 30 天)

Commands(命令列表)

发放奖励时执行的命令

Commands:
- asConsole! cmi money give [playerName] 500000