bukkure.player

broadcast

(broadcast format & args)

Broadcast a message to all players

broadcast-permission

(broadcast-permission permission format & args)

Broadcast a message to all players with a given permission

command-permissions

(command-permissions)

defined-permissions

(defined-permissions)

event-player

macro

(event-player event-name)

find-permission

(find-permission name)

Finds permissions starting with a given name

give

(give player material-key & [qty])

Give an item to a player

has-permission

(has-permission player permission)

Check if a player has a permission - this does an implicit (get-player player), so you can pass in a String, Player, Event (that has .getPlayer), InventoryView, etc. (see get-player protocol)

HasPlayer

protocol

members

get-player

(get-player this)

permission-attach-all!

(permission-attach-all! plugin)

permission-attach-player!

(permission-attach-player! plugin player)

Attach a player to a plugin for permission handling - clj-minecraft handles this automatically, so you shouldn’t need to.

permission-attachments

permission-detach-all!

(permission-detach-all!)

permission-detach-player!

(permission-detach-player! player)

Detach a player from permission handling - clj-minecraft handles this automatically, so you shouldn’t need to.

send-msg

(send-msg player fmt & args)

set-permission

(set-permission player permission allow-type)

This uses the bukkure permission handling to set a permission. This is very simplistic and really for basic permission setting so that you don’t need another plugin for the basic permission management - allow-type can be :allow, :disallow or :release - :disallow actively disallows a permission, where :release just unsets it and lets possibly another plugin set it again.