Skip to content

Latest commit

 

History

History
90 lines (74 loc) · 17.8 KB

permissions.md

File metadata and controls

90 lines (74 loc) · 17.8 KB

🆗 Permissions

Permissions

{% hint style="danger" %} You must use a permission manager like LuckPerms which supports .* permissions notation.
Bukkit doesn't support this notation by default! {% endhint %}

What Permission
Allow using recipe, more info.

ia.user.recipe.PERMISSION

(or to give all crafting permissions just use ia.user.recipe.*)

See item in /ia GUI, more info.

ia.user.ia.seeitem.PERMISSION

(or to give all /ia permissions just use ia.user.ia.seeitem.*)

Search permission in /ia GUI. ia.user.ia.search
See category in GUI. Use the category permission, please check /ia GUI page.
Show /e book when using /e without arguments. ia.user.image.gui
Shows a tab list with emojis based on search term. ia.user.image.hints
Use emojis in chat. ia.user.image.chat
Use emojis in commands. ia.user.image.command
Use emojis in signs. ia.user.image.sign
Use emojis in books. ia.user.image.book
Use emojis in anvil rename field. ia.user.image.anvil
Use an emoji.

ia.user.image.use.<name>
Example: ia.user.image.use.heart

Use text-effects in chat. ia.user.text_effect.chat
Use text-effects in signs. ia.user.text_effect.sign
Use text-effects in books. ia.user.text_effect.book
Use text-effects in anvil rename field. ia.user.text_effect.anvil
Use a text-effect.

ia.user.text_effect.use.<effect>

Examples (full list here):

  • ia.user.text_effect.use.r
  • ia.user.text_effect.use.rw
Use the emote command (player emotes). ia.user.iaemote
Use an emote (player emotes).

ia.user.iaemote.use.<emote>

Example:

  • ia.user.iaemote.use.yes
  • ia.user.iaemote.use.*
Permission to see an HUD. ia.user.hud.show.<name>
Permission to see all HUD. ia.user.hud.show.*
Stops player huds values from increasing or decreasing based on events. ia.user.hud.bypass.triggers.*
Stops the player hud value from increasing or decreasing called by commands. ia.user.hud.bypass.commands.*
Stops the player hud value from increasing or decreasing called by API. ia.user.hud.bypass.api.*
Bypass kick on refuse resourcepack ia.resourcepack.bypasskick
Bypass player placed blocks can't drop loot ia.admin.bypassblockplaceloot
Break custom block

ia.user.block.break.<suffix>


Example:

permission_suffix -> break : iasurvival.ruby_block

Permission: ia.user.furniture.break.iasurvival.ruby_block

Place custom block

ia.user.block.place.<suffix>


Example:

permission_suffix -> break : iasurvival.ruby_block

Permission: ia.user.block.place.iasurvival.ruby_block

Break furniture

ia.user.furniture.break.<suffix>


Example:

permission_suffix -> break : example.red_chair

Permission: ia.user.furniture.break.example.red_chair

Place furniture

ia.user.furniture.place.<suffix>


Example:

permission_suffix -> break : example.red_chair

Permission: ia.user.furniture.place.example.red_chair

WorldGuard flags

{% content-ref url="../compatibility-with-other-plugins/compatible/worldguard-flags.md" %} worldguard-flags.md {% endcontent-ref %}

Example permissions setup

Permission Action
ia.user.ia open /ia menu
ia.user.ia.seeitem.* see all items in /ia menu
ia.user.iarecipe use /iarecipe command
ia.user.recipe.* use all recipes
ia.menu.seecategory.*

see all categories in /ia menu.
NOTE:
This can change based on the items pack you downloaded. Category permission usually starts with ia.menu.seecategory. but some developers may have changed it.

ia.user.image.gui use /e command to see emojis book
ia.user.image.hints suggest emojis when using /e and TAB complete
ia.user.image.chat replace emoji text :smile: etc in chat
ia.user.image.command replace emoji text :smile: etc in commands
ia.user.image.sign replace emoji text :smile: etc in signs
ia.user.image.book replace emoji text :smile: etc in books
ia.user.image.use.* access to all emojis

Where can I get categories permissions?

{% hint style="info" %} ItemsAdder default categories

Open the categories.yml file to read all the permissions to see categories.
The default ItemsAdder pack categories files are inside each namespace folder.
For example: contents/iasurvival/configs/categories.yml

For example if you want to make players see ALL the categories of default ItemsAdder you just have to give ia.menu.* permission. {% endhint %}

{% hint style="info" %} Addons categories

If you're installing an addon you may search for a categories.yml file inside contents/<ADDON NAME>/configs, usually they put the categories there, so you can find also their permissions. {% endhint %}

Creating my categories

To create your categories just read the tutorial

{% content-ref url="ia.md" %} ia.md {% endcontent-ref %}