Commands & Permissions

Everything runs under one root command, /autopickup, with two subcommands. All of them are player commands; they can't be run from the console.

Commands

Command Description Permission
/autopickup Toggle auto-pickup on or off for yourself autopickup.toggle
/autopickup settings Show your status, the pickup radius and the pickup notification type autopickup.toggle + autopickup.settings
/autopickup reload Reload config.yml and messages.yml autopickup.toggle + autopickup.reload

Each player's toggle is saved to the database straight away and survives restarts and reconnects.

If autopickup.enabled is false in config.yml, /autopickup doesn't toggle anything and shows the "Plugin is disabled by administrator" title instead.

Who can run them

Hytale's command system only runs a command for players who have been granted its permission; there is no "everyone by default" for a command node. In practice:

  • Admins (the built-in admin group has *) can run every command.
  • Regular players need autopickup.toggle granted to their group before /autopickup works.
  • Subcommands also check the root command's node, so /autopickup settings and /autopickup reload each need autopickup.toggle as well as their own node.

A typical setup grants autopickup.toggle and autopickup.settings to the player group and leaves autopickup.reload to admins.

Permission nodes

Node Grants
autopickup.* Every node below
autopickup.toggle /autopickup, and is required for the subcommands
autopickup.settings /autopickup settings
autopickup.reload /autopickup reload

The pickup itself

Picking up items doesn't need any node granted. AutoPickup checks autopickup.toggle when an item would be picked up, but a player with no setting for it counts as allowed. Only an explicit deny (-autopickup.toggle) stops pickups for a player, even if their toggle is on.

To turn auto-pickup off for everyone at once, set autopickup.enabled: false instead. See Main Configuration.