1
mirror of https://github.com/Shiewk/SModeration.git synced 2026-04-28 05:54:16 +02:00

Add Invsee command and permissions

This commit is contained in:
Shy
2024-06-18 18:01:13 +02:00
parent 1631f3bd32
commit e54f88fa5e
5 changed files with 131 additions and 1 deletions
+20 -1
View File
@@ -54,6 +54,14 @@ commands:
- spardon
permission: smod.unban
description: Unbans a banned player.
invsee:
usage: "§cUsage: /invsee <player>"
aliases:
- sinvsee
- smodinvsee
- invs
permission: smod.invsee
description: Views the inventory of another player.
permissions:
smod.mute:
default: op
@@ -80,4 +88,15 @@ permissions:
description: Allows the player to unban other players.
smod.logs:
default: op
description: Allows the player to view mod logs.
description: Allows the player to view mod logs.
smod.invsee:
default: op
description: Allows the player to view other players inventories.
smod.invsee.modify:
default: op
description: Allows the player to view and modify other players inventories.
children:
- smod.invsee
smod.invsee.preventmodify:
default: op
description: When giving this permission to a player, prevents their inventory from being modified.