Configuration
View the Configuration Files for Tags.
In order for players to use a certain tag, they'll need the cifytags.use.<id> permission if (permission: true
) is set for a particular tag.
## PlayerTags | Configuration File ##
## This configuration is default for v1.0.5 ##
settings:
debug: false
storage:
type: SQLITE
host: "localhost"
port: 3306
username: "root"
password: "password"
database: "playertags_data"
gui:
size: 45
show-no-perm: true
item:
has-perm: NAME_TAG
no-perm: BARRIER
tags: {}
Per-Tag Items
The plugin has support for allowing a custom item, name and lore per tag for extra customisation. In the below example, our tag by the id 'og' will show a diamond with its name and lore if they have permission - while if they don't, it'll show redstone.
tags:
og:
type: 'PREFIX'
prefix: '&b[&lOG&b]'
description: "Much OG, Much Wow"
permission: true
item:
has-perm:
item: DIAMOND
name: "&aOG Tag"
lore:
- '&7This tag is well.. og.'
no-perm:
item: REDSTONE
name: "&cOG Tag"
lore:
- '&cDarn.. no permissions.'
Placeholders
Since v1.1.9
you may specify 'placeholders' (or fake items) inside of your GUI to customise the appearance. Take the below example:
tags:
close:
placeholder: true
actions:
- '[CLOSE]'
- '[PLAYER] spawn'
- '[CONSOLE] msg %player% Action Example!'
item:
has-perm:
item: BARRIER
name: '&c&lCLOSE'
lore:
- '&7Close the GUI.'
Test:
prefix: '&7[Test]'
description: Default description for Test tag..
permission: true
slot: 1
Placeholder:
placeholder: true
permission: false
slot: 0
item:
has-perm:
name: '&7Placeholder #1'
item: STAINED_GLASS_PANE
data: 5
lore:
- '&7Hi!'
Placeholder2:
placeholder: true
permission: true
slot: 2
item:
has-perm:
name: '&7Hello Again!'
item: STAINED_GLASS_PANE
data: 6
lore:
- '&7This will show if you have'
- '&7the valid permission!'
The video (seen here) will be shown when using the plugin.
Last updated