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

Add vanish command and permissions

This commit is contained in:
Shy
2024-07-23 17:23:05 +02:00
parent 7d94c782b8
commit bf476c7a4b
5 changed files with 165 additions and 3 deletions
+13 -1
View File
@@ -71,6 +71,12 @@ commands:
- ecs
permission: smod.enderchestsee
description: Views the ender chest of another player.
vanish:
usage: "§cUsage: /vanish <player>"
aliases:
- smvanish
permission: smod.vanish
description: Toggles vanish mode which prevents other players from seeing you're online
permissions:
smod.mute:
default: op
@@ -125,4 +131,10 @@ permissions:
description: Prevents the player from being muted (if online)
smod.preventban:
default: op
description: Prevents the player from being muted (if online)
description: Prevents the player from being muted (if online)
smod.vanish:
default: op
description: Allows the player to use /vanish
smod.vanish.see:
default: op
description: Allows the player to see vanished players