MuchCraft

MuchCraft

About

MuchCraft provides Doge-style chat with use of a command, for example you can output something like the following in Minecraft chat:
Screenshot

MuchCraft supports Bukkit's SuperPerms, so should be compatible with any permissions system (e.g. PermissionsEx, etc).
In the absence of a permissions system MuchCraft will continue to work, using op status instead.

How to Use

To send a custom message, type the following:

/wow line one, line two, line three, ...

Each comma separated phrase (which can be multiple words) will then be automattically formatted into Doge-speak!

MuchCraft also supports random generation from predefined phrases - use:

/wow

To show help, use:

/wow help

To reload the config, use:

/wow reload

To get info on the plugin (version, links, etc):

/wow info

Configuration

The following parameters are configurable in config.yml:

  • spamDelay: Delay in seconds to prevent spam
  • customLines: Maximum number of lines permitted for custom messages
  • randomLines: Number of lines for randomly generated messages
  • full: Predefined full phrases to use
  • prefix: Phrase prefixes (such, so, very, etc.) to use
  • suffix: Phrase suffixes to use
  • colors: Colors to use - accepts regular Minecraft hex values (i.e. 0, 1, ...a, b, c, ...)
  • broadcastSender: Turns on broadcast of the command sender
  • broadcastMessage: Message to display command sender
    - Use %player% in place of the player's name
    - Use %x% where x is a Minecraft colour code to add colours
  • debug: Turns on debug messages

Randomly generated messages either take a predefined full message, or combine a prefix and suffix together. Add any amount of new entries to these lists to extend the phrase library!

Permissions

The permissions used by MuchCraft are:

  • muchcraft.custom: Ability to send custom messages (defaults to all)
  • muchcraft.random: Ability to send randomised messages (defaults to all)
  • muchcraft.info: Returns info on plugin (defaults to all)
  • muchcraft.nolimit: Removes line limit on custom messages (defaults to ops)
  • muchcraft.nospam: Exempts the player from spam prevention (defaults to ops)
  • muchcraft.reload: Ability to reload MuchCraft config(defaults to ops)

Changelog

1.3:
  • Added info command - returns the plugin version, links to bukkit and github, etc.
    - Requires permission muchcraft.info
  • Added reminder of other options if the player runs /wow with no arguments
    - Only displayed the first time the player runs the command
  • General code cleanup and misc tweaks
1.2:
  • Spam prevention - use new config option spamDelay to set required delay between commands in seconds
    - Bypass spam prevention using new permission node muchcraft.nospam
1.1:
  • Command sender can now be broadcast (editable in config)
  • Fixed bug where lines which were too long would cause an exception
  • Lines are now forced to be more separated - reduces clumping

MuchCraft is available now! If you're interested in following development, I regularly push changes to GitHub.

Any DogeCoin tips would be greatly appreciated - please send them to DCtQLSpz8GgyLG1XSymNrdYnZLQJLn6LqN

Feel free to leave a comment - Any suggestions are welcome!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit