mirror of
https://github.com/plexusorg/ExampleModule.git
synced 2025-07-15 18:24:02 +00:00
Update for newest version of Plex
This commit is contained in:
parent
291bea232f
commit
ff765efd2d
5 changed files with 13 additions and 9 deletions
|
@ -2,7 +2,6 @@ package dev.plex.command;
|
|||
|
||||
import dev.plex.command.annotation.CommandParameters;
|
||||
import dev.plex.command.annotation.CommandPermissions;
|
||||
import dev.plex.rank.enums.Rank;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
@ -10,7 +9,7 @@ import org.jetbrains.annotations.NotNull;
|
|||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@CommandParameters(name = "examplemodule", description = "An example command provided by Plex's example module")
|
||||
@CommandPermissions(level = Rank.OP, permission = "plex.module.command")
|
||||
@CommandPermissions(permission = "plex.module.command")
|
||||
public class ExampleCommand extends PlexCommand
|
||||
{
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue