steves-underwater-paradise / restart-server

Minecraft Fabric mod that adds a restart command to dedicated servers.
https://www.curseforge.com/minecraft/mc-mods/restart-server
GNU Lesser General Public License v2.1
6 stars 2 forks source link

Incompatible with luckperms #16

Closed vipaoL closed 1 year ago

vipaoL commented 1 year ago

I want to give permission to restart the server to moderators, but it seems like this mod doesn't support it. It isn't shown by autocomplete in luckperms' web editor. screenshot screenshot I tried to write something like "restartserver.commands.restart" manually, but it doesn't work.

As an example of mod which support privileges: https://github.com/Patbox/ArmorStandEditor/blob/1.20/src/main/java/eu/pb4/armorstandeditor/util/GeneralCommands.java

Steveplays28 commented 1 year ago

Ah, I see. I need to add .requires() to the command, I can add that.

Steveplays28 commented 1 year ago

Fixed in v1.2.0, thanks to @arnokeesman!

You can download the new version here: