-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
This mod provides a set of in-game commands to manage regions and settings.
Commands in this mod are divided based on player permissions:
- Regular Players: Can only use commands to view or manage their own regions (regions where they are in the "Owners" group).
-
Server Admins (Operators): Players with permission level 2 or higher (usually given via the
/opcommand) have expanded privileges. They can view or delete any region, as well as change server-wide settings.
Important
Admins cannot change region settings! Even with full permissions, an admin cannot edit region borders, change rules, or modify groups. They can only view information (like owners and UUID) and delete the region if necessary.
Tip
If a command requires a region's UUID, you can find it when a command prints region data in the chat/console, the UUID will be in a special underlined field that you can simply click to copy!
Permission: All players
Description: Shows a list of all available commands and their basic usage in the chat.
Permission: All players
Description: Reloads the mod's configuration file.
-
When to use: You must run this command after making changes to the config file (e.g., in
config/privit.toml) so the server can apply the new settings without restarting.
Permission: All players
Description: Shows a list of regions in the chat where the player who typed the command is the owner.
Permission: Admin only
Description: Shows a list of regions owned by a specific player.
-
Example:
/privit regions Steve123
Permission: All players (with limits) / Admin (full access)
Description: Deletes a region by its unique ID (UUID).
- Regular Players: Can only delete regions where they are the owner.
- Admins: Can delete any region on the server.
-
Example:
/privit delete 123e4567-e89b-12d3-a456-426614174000
Permission: All players
Description: Instantly hides all visual grids that show Region borders around you. (This is a local setting; it only affects your screen).
Permission: All players (with limits) / Admin (full access)
Description: Changes the state of the visual grid for a specific region.
- Regular Players: Can only turn the grid on/off for their own regions.
- Admins: Can turn the grid on/off for any region on the server.
-
Example:
/privit grid 123e4567-e89b-12d3-a456-426614174000 on
Permission: All players (with limits) / Admin (full access)
Description: Shows detailed data about the region you are currently standing in (including its UUID and Owners).
- Regular Players: Can only use this command if they are standing inside their own Region.
- Admins: Can use this command inside any region on the server.
Tip
This is very useful if you need to find a region's UUID to delete it or change its grid. Remember, you can click the underlined UUID in the output to copy it!