-
Notifications
You must be signed in to change notification settings - Fork 35
Configuration
Elikill58 edited this page Jan 11, 2022
·
1 revision
The default config is foundable here
The configuration is splitted in multiple parts.
The config-version should NEVER be changed. It's used to know if you have the good config or not.
The manager field is more explain in managers page.
Contains all options for the behavior itself :
-
placeholdersfor all words that will show an item -
name-formatto change how you see the item -
amount-formatto change how the amount is showed -
force-add-amountto show amount if only one item -
handconfig to manage the behavior when trying to show the hand-
disabledstate of the hand in chat -
name&tooltipare to change how the hand show in chat
-
-
limitmax amount of placeholders per message -
cooldowntime between 2 replacements
This is used to show warn, cancellation or in inventories.
Some messages :
-
deny-messagesent if showing hand is disabled -
reload-successsent when reloading -
cooldown-messagesent when waiting for the end of cooldown -
no-permissionsent if player don't have the permission -
limit-messagesent if the player reach the limit per message of placeholders -
join-updatesent when there is an update -
only-playerssent to console when trying to run player's command
The chatitem-cmd correspond to some options for the /chatitem command :
-
helpis the list of all messages for the help -
linkscontains all parts of the/chatitem linkmessage. Speciallylist. This is an example of one item in this "list" section :
1:
message: "\n&7- &eSpigotmc updates"
hover: "&6Click to go to spigot page !"
link: "https://www.spigotmc.org/resources/19064/"
Field hover & link are both optional, specially to show transition between 2 links.
Finally, the admin-inv contains all strings used in /chatitem admin inventory :
-
namethe name of inventory -
closethe name of closing inventory -
amount-lore&bool-loreare list showed to explain for enable/disable options or just amount (+1/-1) -
color-if-already-colored,deny-no-item,hand-disabled,limit-per-messageandcooldownare name of some items used for options -
managercontains all name and lore for all managers :both,auto,packet,chat,actual
This section contains all visuals name of material. You can use it to override default names.
It's mostly reserved to people who know what they are doing.