Skip to content

yawkat/cowsay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cowsay Maven Central

Cowsay plugin for bukkit and bungee.

MPL 2.0 License.

API

Cowsay.COWSAY.buildCowsayImage("abc", 44);

Plugin

Usage

/cowsay <message>

/cowthink <message>

Both commands accept arguments:

  • -p <regex> sends the message to all players matching that regex.
  • -i sets the regex to ignore-case.
  • -l sets the regex to literal mode.
  • -c <color> changes the color of the cow and the bubble. (for example -c §5)
  • -s <needle> replaces the given needle with § (the minecraft color character) in the text and in the bubble color arg.
  • -- to stop parsing parameters and treat everything following as text

If you end the parameter list with an argumentless parameter like -i or -l you either have to add an argument that will subsequently ignored or you have to use --.

Screenshots

Console

In-Game

Permissions

  • cowsay.cowsay: Give access to /cowsay
  • cowsay.cowthink: Give access to /cowthink
  • cowsay.color.cow: Allow players to use -c
  • cowsay.color.text: Allow players to use -s
  • cowsay.other: Allow players to use -p

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published