St3ix Docs

Payments

Player-to-player shard transfers and the confirm screen you can turn off.

/shards pay <player> <amount> sends shards to an online player. The amount is a whole number of at least 1. You cannot pay yourself. If your balance is too low, nothing moves.

Shards.Pay: false in config.yml blocks this command only. AFK rewards, kill rewards, and /afk admin give still work. The player sees Minecraft.ShardsPayDisabled.

Confirm screen

The screen is three rows. The paper in the middle shows the amount and the target. Lime confirms. Red cancels and sends Minecraft.PayCancelled.

Shards.PayConfirm is the default for every player who has no personal entry. true opens the screen. false pays immediately.

A player turns it off for themselves:

/shards confirm disable

/shards confirm enable turns their own screen back on. An admin sets another player, online or already stored:

/afk admin confirm Steve disable

That command needs afkplus.admin and works from the console. It writes the player's UUID under Shards.PayConfirmPlayers in the live config.yml. You can also type a UUID or an exact name in that section by hand. A listed player uses their own value. Everyone else keeps Shards.PayConfirm. Saving the file can drop inline comments. /afk admin reload reads the section again.

Another plugin uses payConfirm(uuid, false) on AfkPlusApi. That call is described on API. AfkPlusApi.pay itself never opens this screen.

Suggestions

Leave Shards.PayConfirm on, and let a player run /shards confirm disable when they want to skip the screen. Set one person from the console with /afk admin confirm <player> disable. Shop confirms stay on each offer in the Shop.

On this page