Skip to main content
Version: 4.0.x

🪪 Giving yourself permissions

Dedicated server

Giving yourself OP

You can give yourself OP:

  • Permission Level 2 (Gamemaster): allows you to use all enabled commands.
  • Permission Level 3 (Admin): allows you to configure the mod and perform other administrative actions.
warning

This is not the recommended approach. A better and more flexible option is LuckPerms, which lets you grant yourself only the permissions you need.

LuckPerms

Command

Use this command to grant yourself a permission:

  • /lp user <your_nickname> permission set <permission_id> true

See the information about permission IDs and some examples below.

info

For more information about LuckPerms commands, see the LuckPerms documentation.

Web Editor

  1. Make sure you are on the server. This will make you appear in the Web Editor.
  2. Run /lp editor. This command will generate a link. Open it in your browser.

luckperms-web-editor-link

  1. Find yourself in the Users tab, then start adding permissions. In this example, I gave myself the ability to configure the mod and manage active cooldowns.

luckperms-web-editor-link

warning

NeoForge was used in the example. Permission IDs vary by platform. Fabric equivalents from the screenshot are:

  • helpful_commands.command.hc.config
  • helpful_commands.command.hc.config.*
  • helpful_commands.command.hc.cooldowns
  • helpful_commands.command.hc.cooldowns.*
  1. Click the Apply button once you are finished.
info

For more information about the Web Editor, see the LuckPerms documentation.

Permission IDs

You can search for needed permission ID in this documentation. Here a few examples:

  • Configuration: helpful_commands.command.hc.config.* (requires helpful_commands.command.hc.config)
  • Cooldown management: helpful_commands.command.hc.cooldowns.* (requires helpful_commands.command.hc.cooldowns)
  • Use /fly command: helpful_commands.command.fly
  • Use /fly command on other players: helpful_commands.command.fly.others (requires helpful_commands.command.fly)
  • Add warps: helpful_commands.command.warp.add (requires helpful_commands.command.warp)
  • Teleport to homes: helpful_commands.command.home.tp (requires helpful_commands.command.home)

This should provide a general overview of how permissions work in Helpful Commands.

tip

If you are using Fabric, you can grant yourself the helpful_commands.* permission.

This permission grants full access to Helpful Commands: every enabled command, configuration and other administrative actions will be available without having to manually assign permissions for each command/argument.

danger

This is a very powerful, yet dangerous permission. Make sure you only grant it to players you fully trust.

Verifying

Check if you can use the /hc cooldowns command. Then, type /hc config. If you've done everything correctly, you should see the following output:

hc-config

Singleplayer

Although you can't use LuckPerms to manage permissions, you can open your world to LAN with cheats enabled. This allows you to use all enabled commands, configure the mod, and perform other administrative actions.