St3ix Docs

Permissions

The three AFKPlus permission nodes, plus the reward and kill tiers you name in config.yml.

Built-in nodes

NodeDefaultUnlocks
afkplus.shoptrue/afk shop and /shards shop.
afkplus.adminopZone wand, areas, shop editor, boosters, reload, and pay confirmation for another player.
afkplus.shards.adminop/afk admin shards, give, take, set, and balance.

afkplus.shop is true for everyone unless your permission plugin sets it to false. The two admin nodes follow op. A player can hold afkplus.shards.admin without afkplus.admin. Those commands still live under /afk admin.

Nodes you define

AFK payout tiers are not hardcoded. Reward.Permissions in config.yml lists them. The first permission the player has wins. Operators have every permission, so put the strongest tier first.

The sample file uses:

  • afkplus.reward.fast: 30 seconds, 1 shard
  • afkplus.reward.double: 60 seconds, 2 shards

Players with neither node use Reward.Seconds and Reward.Amount.

Player-kill payouts work the same way under Kills.Players.Permissions. The sample tier is afkplus.kill.hunter for 10 shards. Rename the node if you want a different one. The plugin does not register these nodes in plugin.yml. Your permission plugin creates them when you grant them.

Suggestions

Put afkplus.reward.double above afkplus.reward.fast in Rewards if operators should get the larger payout. Grant afkplus.kill.hunter only after you turn Kills.Enabled on under Kill rewards.

On this page