SWRPG Commands Mod - ShortWlf/mcswrpg GitHub Wiki

Swrpgccommands Mod

The Swrpgccommands mod enhances server administration in Minecraft by allowing for the creation and management of custom commands.

Key Features

  • Custom Command Registration: The mod enables server administrators to define and register their own unique commands.
  • Configuration-Based Commands: Custom commands are loaded from a configuration file ("config/swrpgccommands.json"), allowing for easy modification and addition of commands without modifying the mod itself.
  • Op-Level Permissions: Command permissions can be configured, allowing certain commands to be restricted to server operators (ops).
  • Dynamic Command Reloading: The mod provides a command (/swrrefresh) to reload custom commands from the configuration file without requiring a server restart. This allows for live updates to command sets.
  • Command Action Customization: The "action" of each custom command, which defines what the command does, can be specified in the configuration. For non-op commands, the mod supports replacing "@p" with the executing player's name.
  • Default Command Configuration: The mod creates a default configuration file with example commands if one doesn't exist.