Payout
A simple mod that allows server admins to automatically give players items at definable intervals. This mod is highly-configurable.
介绍

Payout
A simple mod that allows server admins to automatically give players items at definable intervals.
Introduction
Payout is a simple yet highly-configurable mod that allows server owners and admins to routinely pay items to the server’s playerbase.
Configuring Payout
Payout’s config is located at world/serverconfig/payout-server.toml.
What you’ll see when you first open the config.
[general]
#The item to give players
item = "minecraft:diamond"
#How many items to give
#Range: 1 ~ 64
count = 1
#Interval in milliseconds between payouts
#Range: 1000 ~ 9223372036854775807
intervalMillis = 60000
#Sound event ID to play on payout
payoutSound = "minecraft:entity.player.levelup"
#Volume of payout sound
#Range: 0.0 ~ 10.0
payoutVolume = 1.0
#Should payout play a sound?
playPayoutSound = true
#Should the server send a toast packet to connected clients during payout?
showToast = true
#What should the title of the toast say?
toastTitle = "You got paid!"
#What should the title of the toast say?
toastDescription = "Thanks for playing!"
Definitions
| Name | Type | Required | Description | Default Value | Example Value |
|——————-|———-|———-|———————————————————————————————–|—————————————-|——————————|
| item | String | No | The item to give players. Must be a valid item ID. | "minecraft:diamond" | "minecraft:emerald" |
| count | Integer | No | How many items to give. Range: 1 ~ 64 | 1 | 5 |
| intervalMillis | Long | No | Interval in milliseconds between payouts. Range: 1000 ~ 9223372036854775807 | 60000 (60 seconds) | 120000 (2 minutes) |
| payoutSound | String | No | Sound event ID to play on payout. Must be a valid sound resource location. | "minecraft:entity.player.levelup" | "minecraft:entity.cat.purr"|
| payoutVolume | Float | No | Volume of the payout sound. Range: 0.0 ~ 10.0 | 1.0 | 0.5 |
| playPayoutSound | Boolean | No | Whether the payout should play a sound. | true | false |
| showToast | Boolean | No | Whether the server should send a toast packet to connected clients during payout. | true | false |
| toastTitle | String | No | The title text of the toast shown on payout. | "You got paid!" | "Daily Reward!" |
| toastDescription| String | No | The description text of the toast shown on payout. | "Thanks for playing!" | "Come back tomorrow!" |
Commands
| Command | Syntax | Description |
|————————–|—————————————————-|—————————————————————————–|
| Set Reward Item | /payout setItem <item> <quantity> | Sets the item and quantity given to players on each payout. |
| Set Interval | /payout setTime <h,m,d> <duration> | Sets the payout interval using hours (h), minutes (m), or days (d). |
| Debug Trigger | /payout debug trigger | Manually triggers a payout immediately. |
| Debug Reset | /payout debug reset | Resets the config back to defaults. |
| Debug Config Path | /payout debug config | Shows the current config file path and active values. |
| Reload Config | /payout reload | Reloads the payout-server.toml config file. |
| Status | /payout status | Shows current payout settings (reward, interval, time remaining, sounds, toasts). |
| Set Payout Sound | /payout setPayoutSound <sound_id> <volume> | Sets the sound event ID and volume for payout notifications. |
| Toggle Sound | /payout setPlayPayoutSound <true,false> | Enables or disables payout sound playback. |
| Toggle Toasts | /payout setShowToasts <true,false> | Enables or disables showing toast notifications to clients. |
| Set Toast Title | /payout setToastTitle <text> | Sets the title text of the toast notification. |
| Set Toast Description| /payout setToastDescription <text> | Sets the description text of the toast notification. |
常见问题
Payout 支持哪些 Minecraft 版本?
Payout 支持 Minecraft Java 版 1.20.1–1.20.6,共 6 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Payout 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分