Custom Commands with no perms

Started by Juplicate on

Topic category: Help with modding (Java Edition)

Last seen on 00:16, 29. Jun 2022
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Commands with no perms

I wanna make it so I can do a command on any server without op, a mod that lets me play songs to myself with a command. I need at least permission level 1 on servers to use this, is there a way to make command not require a permission level?

Last seen on 14:00, 14. Nov 2023
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just change the command…
Sun, 08/09/2020 - 11:18

Just change the command level to 0 in the command's parameters...

Last seen on 00:16, 29. Jun 2022
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried it wont let me :/
Sun, 08/09/2020 - 12:48

I tried it wont let me :/

The level 1 for permissions…
Sun, 08/09/2020 - 16:42

The level 1 for permissions is like the 0. Everyone should be able to use your command.

Last seen on 20:24, 25. Aug 2020
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Op level 1 is still an op…
Tue, 08/25/2020 - 20:24

Op level 1 is still an op level that needs to be given. If you want it to be available for everyone, don't include a level check in the procedure(if you're using 2020.3 or older. As for 2020.4, you can do this for now:		return LiteralArgumentBuilder.<CommandSource>literal("example").requires(s -> s.hasPermissionLevel(2)) with ".requires(s -> s.hasPermissionLevel(2)" selectedDelete the part of the code highlighted in the image

When finished, it should look something like this:

		return LiteralArgumentBuilder.<CommandSource>literal("example"))

I think the devs should look into this because it is definitely an issue. Maybe add a checkbox to enable the permission level check?