Brohoof

Brohoof in Minecraft with the /) command!

This plugin implements the brohoof into Minecraft!

This plugins implements a simple brohoof. Just typing /) will result in (\, just like an alternative to /ping Pong! You can also brohoof other players with /) <name> [color] and reply with /)(\, with an optional setting it will also show up in public chat.

This is a just-for-fun plugin I made only in a few hours. It is my first plugin I ever made and I used this to learn how to create Bukkit plugins. I know every plugin creator could do the exact same thing just in a few minutes, but I decided to upload it here for those who don't, and to get used to Bukkit Dev in general. (edited description because apparantly a few took it too seriously)

Commands

  • /brohoof|/) - Server responds with (\
  • /brohoof|/) [name] [color] - Sends a broohoof to the specified player, when given with color
  • /brohoofreply|/)(\ - Sends a brohoof to the last player that sent you a brohoof
  • /brohoofconfig|/)c - Lists all config keys
  • /brohoofconfig|/)c [key] - Shows the value of a key
  • /brohoofconfig|/)c [key] reset - Resets key to default value
  • /brohoofconfig|/)c [key] toggle - Toggles value (only for boolean values of course)
  • /brohoofconfig|/)c [key] <delete|remove|clear> - Deletes the key, removing it from your config.yml
  • /brohoofconfig|/)c [key] [value] - Sets key to value

Permissions

  • brohoof.* - Gives you full acces to all commands
  • brohoof.brohoof - Allows to use /) without arguments (default: true)
  • brohoof.brohoof.other - Allows to use /) <name> (default: true)
  • brohoof.color - Allows you to color your hoof (default: true)
  • brohoof.brohoofreply - Allows you to use /)(\ (default: true)
  • brohoof.brohoofconfig - Allows to use /)c to edit config (default: op)

Config

You can currently change all messages in the config. See config.yml:

# reply to the normal /) (/brohoof) command without arguments
hoof: (\

# default hoof color (colorCode)
defaultColor: r

# Playername was not found (with /) <name>)
playerNotFound: '§4Sorry, there seems to be no player online with that name :('

# No permission for /) <name>
noPermissionOthers: '§4Sorry, you aren''t allowed to give other players a brohoof :('

# No permission for /) <name> <color> or /)(\ <color>
noPermissionColor: '§4Sorry, you aren''t allowed to color your hoof :('

# Console tries /)(\
notAPlayer: '§4Sorry %s, you can''t reply to a brohoof because you''re not a player :('

# Try responding with /)(\, but noone send a brohoof to respond to
noBrohoof: '§4Sorry, nobody gave you a brohoof yet, here have one: (\'
noBrohoof2: §6Try §e/) [player]§6 to give a brohoof to someone else!

# message format /) <name>
formatTo: 'To %s: %s/)'
formatFrom: 'From %s: %s(\'

# show two-person-brohoofs (/) [name] -> /)(\) in public chat
publicBrohoof: No

# message format for above, contains 4 strings (%s): color 1st player, 1st player name, color 2nd player, 2nd player name
publicBrohoofFormat: '%s%s /)%s(\ %s'

Download

Newest version: v0.4.3

About

This is my first plugin I ever programmed for Bukkit :D I got the idea for this plugin from a user who suggested a /) command which would reply (\, but there was no easy way to do this without a plugin. So I tried to implement this idea and then extended it a bit :D

The Brohoof Team

profile avatar
  • 1
    Projects
  • 1.3K
    Downloads