
CommandRewriter is a small plugin that allows you to assign custom texts to custom commands. That means that you can assign a list of rules to the command /rules for example.
You can use colors and define as many lines as you want. If the Minecraft chat does not contain as many chars as you need, you can directly edit the config.yml in /plugins/CommandRewriter/. Just reload after the editing.
Features
- Show the player a text if he executes a command
- Subcommand differentiation
- Colors
- Multiple lines
- In-Game configuration
- No complex configuration
Usage
Assigning a text to a command:
- Use the command /cr set to start the assistent
- The command has to be without the leading /
- The command can have arguments (/help 2 or /rules pvp)
- Now type the text you want to assign
- You can use color definitions like &6
- The symbol "|" marks a new line
Removing a text from a command:
List all assigned texts:
Reload the config:
Help:
Permissions
commandrewriter.seecmd
- Base permission required to see and use the command
commandrewriter.set
- Permission to assign messages to commands
commandrewriter.remove
- Permission to remove the assignment from a command
commandrewriter.list
- Permissions for listing all assigned texts
commandrewriter.reload
- Permissions for reloading the config
commandrewriter.pluginprefix
- If permission-required-for-plugin-prefix is enabled in config, this is the permission to still execute plugin-prefixed commands.
Default config
Code (YAML):
# CommandRewriter configuration. Use "/cr reload" to reload.
permission-required-for-plugin-prefix
: true
no-permission-message-for-plugin-prefix-commands
: You cannot use this command. Try
{1
}
Commands
:
{
}
Other
Jenkins CI:
https://s.janmm14.de/commandrewriter-ci/
Maven repo:
Code (XML):
<repositories>
<repository>
<id>janmm14-public
</id>
<url>https://repo.janmm14.de/repository/public/
</url>
</repository>
</repositories>
Code (XML):
<dependencies>
<dependency>
<groupId>me.minotopia
</groupId>
<artifactId>commandrewriter
</artifactId>
<version>1.9.1
</version>
<scope>provided
</scope>
</dependency>
</dependencies>
Thanks
Thanks to
HomerBond005 for making the original plugin:
https://dev.bukkit.org/projects/commandrewriter
Thanks to
MinoTopia (former german minecraft server).