mirror of
https://github.com/Shiewk/SModeration.git
synced 2026-04-28 05:54:16 +02:00
Update to version 1.3.0
This commit is contained in:
@@ -25,6 +25,7 @@ The most important ones are:
|
|||||||
- /smod
|
- /smod
|
||||||
- /unmute & /unban
|
- /unmute & /unban
|
||||||
- /invsee & /enderchestsee
|
- /invsee & /enderchestsee
|
||||||
|
- /vanish
|
||||||
|
|
||||||
## Permissions
|
## Permissions
|
||||||
This plugin uses Bukkit permissions for commands and other actions.
|
This plugin uses Bukkit permissions for commands and other actions.
|
||||||
|
|||||||
+15
-51
@@ -1,53 +1,17 @@
|
|||||||
# SModeration commands
|
# SModeration commands
|
||||||
|
|
||||||
### /smod
|
| Command | Description | Permission |
|
||||||
The /smod command just opens the SMod menu. It takes no arguments.
|
|----------------------------------------|------------------------------------------------------------------------------|---------------------|
|
||||||
### /mute
|
| /smod | Opens the SMod menu. | smod.menu |
|
||||||
The /mute command is used to mute players.
|
| /mute \<player> \<duration> \<reason?> | Mutes a player so that they can't type in chat for the specified duration. | smod.mute |
|
||||||
|
| /ban \<player> \<duration> \<reason?> | Bans a player so that they can't join the server for the specified duration. | smod.ban |
|
||||||
It requires 2 arguments:
|
| /kick \<player> \<reason?> | Kicks a player from the server. | smod.kick |
|
||||||
- Player name
|
| /modlogs <player\|uuid> | Lists a player's active punishments in chat. | smod.logs |
|
||||||
- Duration
|
| /unmute <player> | Clears a player's mute status. | smod.unmute |
|
||||||
|
| /unban <player> | Clears a player's ban status. | smod.unban |
|
||||||
If you want to, you can also add a **reason**.
|
| /invsee \<player> inventory | Views another player's inventory. | smod.invsee |
|
||||||
|
| /invsee \<player> equipment | Views another player's equipment (armor and offhand). | smod.invsee |
|
||||||
For example, if you want to mute a player for breaking server rules, just use **/mute playername 1h 30min Breaking server rules.**
|
| /enderchestsee <player> | Views another player's ender chest. | smod.enderchestsee |
|
||||||
|
| /vanish | Toggles vanish mode so that other players can't see you're online. | smod.vanish |
|
||||||
The player will be muted for 1 hour and 30 minutes with the reason "Breaking server rules.".
|
| /vanish toggle \<player> | Toggles vanish mode for another player. | smod.vanish |
|
||||||
|
| /vanish list | Lists all vanished players. | smod.vanish.see |
|
||||||
Muted players can still join the server, but can't use the chat.
|
|
||||||
### /ban
|
|
||||||
The /ban command works the same as the /mute command, with one important difference:
|
|
||||||
|
|
||||||
Banned players **can't even join** the server until the ban expires.
|
|
||||||
### /kick
|
|
||||||
The /kick command is a bit different. It does not require a duration because kicks are instant. Instead, you can use the command like this: **/kick playername reason**
|
|
||||||
### /modlogs
|
|
||||||
The /modlogs command can be used when the /smod menu is unavailable. It displays information about a player in chat instead of a menu.
|
|
||||||
|
|
||||||
Example: **/modlogs playername** shows you a message in chat that tells you whether the player is muted or banned.
|
|
||||||
### /unmute & /unban
|
|
||||||
The /unmute and /unban commands only take one argument, the player name.
|
|
||||||
|
|
||||||
The specified player will then be unmuted or unbanned.
|
|
||||||
### /invsee
|
|
||||||
The /invsee command can be used to view the inventory of another player.
|
|
||||||
|
|
||||||
It takes one argument: the player name.
|
|
||||||
The player has to be online.
|
|
||||||
### /enderchestsee
|
|
||||||
The /enderchestsee command can, similarly to /invsee, be used to view the ender chest of another player.
|
|
||||||
|
|
||||||
It takes one argument: the player name.
|
|
||||||
The player has to be online.
|
|
||||||
|
|
||||||
### /vanish
|
|
||||||
The /vanish command is used to toggle vanish mode.
|
|
||||||
|
|
||||||
In vanish mode, other players (who don't have the necessary permissions) can't see that you're online.
|
|
||||||
|
|
||||||
To toggle vanish mode for yourself, use **/vanish**.
|
|
||||||
|
|
||||||
To toggle vanish mode for someone else, use **/vanish <playername>**.
|
|
||||||
|
|
||||||
Vanish status is not saved, so you re-appear when you leave the server.
|
|
||||||
|
|||||||
+20
-18
@@ -1,21 +1,23 @@
|
|||||||
# SModeration permissions
|
# SModeration permissions
|
||||||
- **smod.mute**: Allows the player to mute other players.
|
| Permission | Description |
|
||||||
- **smod.preventmute**: Prevents the player from being muted (if they are online).
|
|---------------------------|------------------------------------------------------------------|
|
||||||
- **smod.ban**: Allows the player to ban and kick other players.
|
| smod.mute | Allows the player to mute other players. |
|
||||||
- **smod.preventban**: Prevents the player from being banned (if they are online).
|
| smod.preventmute | Prevents the player from being muted (if they are online). |
|
||||||
- **smod.kick**: Allows the player to kick other players.
|
| smod.ban | Allows the player to ban and kick other players. |
|
||||||
- **smod.preventkick**: Prevents the player from being kicked (if they are online).
|
| smod.preventban | Prevents the player from being banned (if they are online). |
|
||||||
- **smod.menu**: Allows the player to use the SModeration menu.
|
| smod.kick | Allows the player to kick other players. |
|
||||||
- **smod.notifications**: Allows the player to be notified when a punishment is issued.
|
| smod.preventkick | Prevents the player from being kicked (if they are online). |
|
||||||
- **smod.unmute**: Allows the player to unmute other players.
|
| smod.menu | Allows the player to use the SModeration menu. |
|
||||||
- **smod.unban**: Allows the player to unban other players.
|
| smod.notifications | Allows the player to be notified when a punishment is issued. |
|
||||||
- **smod.logs**: Allows the player to view mod logs.
|
| smod.unmute | Allows the player to unmute other players. |
|
||||||
- **smod.invsee**: Allows the player to view other players inventories.
|
| smod.unban | Allows the player to unban other players. |
|
||||||
- **smod.invsee.modify**: Allows the player to view and modify other players inventories.
|
| smod.logs | Allows the player to view mod logs. |
|
||||||
- **smod.invsee.preventmodify**: When giving this permission to a player, prevents their inventory from being modified.
|
| smod.invsee | Allows the player to view other players inventories. |
|
||||||
- **smod.enderchestsee**: Allows the player to view other players ender chests.
|
| smod.invsee.modify | Allows the player to view and modify other players inventories. |
|
||||||
- **smod.enderchestsee.modify**: Allows the player to view and modify other players ender chests.
|
| smod.invsee.preventmodify | Prevents the player's inventory from being modified. |
|
||||||
- **smod.vanish**: Allows the player to enter and leave vanish mode.
|
| smod.enderchestsee | Allows the player to view other players ender chests. |
|
||||||
- **smod.vanish.see**: Allows the player to see vanished players
|
| smod.enderchestsee.modify | Allows the player to view and modify other players ender chests. |
|
||||||
|
| smod.vanish | Allows the player to enter and leave vanish mode. |
|
||||||
|
| smod.vanish.see | Allows the player to see vanished players |
|
||||||
|
|
||||||
All of these permissions are granted by default if the player is a server operator.
|
All of these permissions are granted by default if the player is a server operator.
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
pluginVersion = 1.2.1
|
pluginVersion = 1.3.0
|
||||||
Reference in New Issue
Block a user