Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Permissions

SBPrime edited this page Jul 12, 2014 · 3 revisions

The permissions are divided in to two groups: admin and user. The first one is used for managing the plugin (configuration, jobs etc.), the second one is used to allow access to block drawing functions.

Back to main page

User permissions

Image drawing

  • MCPainter.user.drawImage - this node allows the use of the Image command
  • MCPainter.user.drawHdImage - this node allows the use of the ImageHD command

Map drawing

  • MCPainter.user.drawMap - this node allows the use of the ImageMap command

Block drawing

  • MCPainter.user.drawBlock - this node allows the use of Block command.

Drawing jobs management

  • MCPainter.user.jobs - this node allows the use of Jobs command
  • MCPainter.user.purge - this node allows the use of Purge command

Statue Drawing

  • MCPainter.user.drawStatue.self - this node allows the use of the Statue, to draw his own statue
  • MCPainter.user.drawStatue.other - this node allows the use of the Statue to draw other players statue using the player name (the u:<playerName> variant)
  • MCPainter.user.drawStatue.file - this node allows the use of the Statue to draw a statue using a specified skin file

Mob statue drawing

  • MCPainter.user.drawStatue.mob.<name> - allows to draw <name> mob statue. Custom mobs defined in config file can provide other permission nodes.

Voxel renderer

  • MCPainter.user.renderModel - allows the use of the Render command, to draw a voxel 3d model

Size permissions

  • MCPainter.user.size.<WxH> - this node defines the maximum size of the image the user is allowed to draw. If this node is not found the maximum size defined in the configuration is used. Only nodes defined in maxSizeNodes section of the configuration are valid.

Example: //MCPainter.user.drawImage.size.80x60_ - by adding this node to the users permissions he will by able to draw images up to 80 pixels width and 60 height. If the user wants to draw a larger image he needs to use the crop or resize filters.

Filters

  • MCPainter.user.filter - allows the use of filter command
  • MCPainter.user.filter.crop - this node allows the use of image crop filter
  • MCPainter.user.filter.resize - this node allows the use of image resize filter
  • MCPainter.user.filter.grayscale - this node allows the use of color grayscale converting filter
  • MCPainter.user.filter.dithering - this node allows the use of color dithering converting filter

Palettes

  • MCPainter.user.palette.list - allows the user to list all available palettes
  • MCPainter.user.palette.change - allows the user to change his palette

Admin permissions

Those permission nodes should by given only to administrators.

Management

  • MCPainter.admin.test - grants the use of TestConfig command
  • MCPainter.admin.reload - grants the use of Reload command
  • MCPainter.admin.version - informs the user on login if the plugin is updated or not

Size permissions

  • MCPainter.admin.size.bypass - bypass the image maximum size limit

Drawing jobs management

  • MCPainter.admin.jobs - this node allows the use of Jobs command on another user
  • MCPainter.admin.jobs.all - this node allows the use of Jobs command on all users
  • MCPainter.admin.purge - this node allows the use of Purge command on another user
  • MCPainter.admin.purge.all - this node allows the use of Purge command on all users

Palettes

  • MCPainter.admin.palette.change - allows the admin to change other players palette

Clone this wiki locally