▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Payout
Payout

Payout

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

Оцените первым
64
0

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

NameTypeRequiredDescriptionDefault ValueExample Value
itemStringNoThe item to give players. Must be a valid item ID."minecraft:diamond""minecraft:emerald"
countIntegerNoHow many items to give. Range: 1 ~ 6415
intervalMillisLongNoInterval in milliseconds between payouts. Range: 1000 ~ 922337203685477580760000 (60 seconds)120000 (2 minutes)
payoutSoundStringNoSound event ID to play on payout. Must be a valid sound resource location."minecraft:entity.player.levelup""minecraft:entity.cat.purr"
payoutVolumeFloatNoVolume of the payout sound. Range: 0.0 ~ 10.01.00.5
playPayoutSoundBooleanNoWhether the payout should play a sound.truefalse
showToastBooleanNoWhether the server should send a toast packet to connected clients during payout.truefalse
toastTitleStringNoThe title text of the toast shown on payout."You got paid!""Daily Reward!"
toastDescriptionStringNoThe description text of the toast shown on payout."Thanks for playing!""Come back tomorrow!"

Commands

CommandSyntaxDescription
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 triggerManually triggers a payout immediately.
Debug Reset/payout debug resetResets the config back to defaults.
Debug Config Path/payout debug configShows the current config file path and active values.
Reload Config/payout reloadReloads the payout-server.toml config file.
Status/payout statusShows 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.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.20.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Ссылки


Создатели

Детали

Лицензия:
Опубликован:9 месяцев назад
Обновлён:9 месяцев назад
Главная