Guest User

Chat Templates

a guest
Aug 9th, 2020
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 9.20 KB | None | 0 0
  1. templates {
  2.         # If true, Nucleus will select the most appropriate group template for a player when they send a chat message by checking all of the groups that a player has if the player does not have the "nucleus.chat.group" permission option set. If false, Nucleus will only look for the "nucleus.chat.group" option on players when they chat and will match that to the available group templates, if no match, Nucleus will apply the default template without checking actual permission groups.
  3.         #
  4.         # If your chat is lagging and you have group templates turned on, try setting this to false and giving your groups the appropriate "nucleus.chat.group" permission option.
  5.         check-permission-groups=true
  6.         # The default chat template if no group templates apply.
  7.         default {
  8.             # The default colour for a player's chat if the "chatcolour" permission option isn't set on the player or group. Takes the same input as the "namecolour" option set to "" to retain default behaviour (no change of colour). Do not include the "&" character.
  9.             default-chatcolour=""
  10.             # The default styles for a player's chat if the "chatstyle" permission option isn't set on the player or group. Takes the same input as the "chatstyle" option set to "" to retain default behaviour (no style). Do not include the "&" character. Multiple styles must be separated by commas.
  11.             default-chatstyle=""
  12.             # The default colour for a player's name if the "namecolour" permission option isn't set on the player or group. Takes the same input as the "chatcolour" option set to "" to retain default behaviour (no change of colour). Do not include the "&" character.
  13.             default-namecolour=""
  14.             # The default styles for a player's name if the "namestyle" permission option isn't set on the player or group. Takes the same input as the "namestyle" option, set to "" to retain default behaviour (no style). Do not include the "&" character. Multiple styles must be separated by commas.
  15.             default-namestyle=""
  16.             # Sets the prefix to a message. {{prefix}} - prefix (set as an option in a permission plugin), {{suffix}} - suffix (set as an option in a permission plugin), {{name}} - real name, {{displayname}} - display name
  17.             prefix="&7&l{{prefix:s}}{{displayname}}{{suffix}}&f: "
  18.             # Sets the suffix to a message. {{prefix}} - prefix (set as an option in a permission plugin), {{suffix}} - suffix (set as an option in a permission plugin), {{name}} - real name, {{displayname}} - display name
  19.             suffix=""
  20.         }
  21.         # Group templates override the default chat template based on the users group. Note that the group name is case sensitive.
  22.         # Weight matters, the player will use the highest weighted template in this list that matches a group they are in, including inherited groups. If the same weight is used on two or more entries, the group with the most parents will be used.
  23.         group-templates {
  24.             blaze {
  25.                 # The default colour for a player's chat if the "chatcolour" permission option isn't set on the player or group. Takes the same input as the "namecolour" option set to "" to retain default behaviour (no change of colour). Do not include the "&" character.
  26.                 default-chatcolour=""
  27.                 # The default styles for a player's chat if the "chatstyle" permission option isn't set on the player or group. Takes the same input as the "chatstyle" option set to "" to retain default behaviour (no style). Do not include the "&" character. Multiple styles must be separated by commas.
  28.                 default-chatstyle=""
  29.                 # The default colour for a player's name if the "namecolour" permission option isn't set on the player or group. Takes the same input as the "chatcolour" option set to "" to retain default behaviour (no change of colour). Do not include the "&" character.
  30.                 default-namecolour=""
  31.                 # The default styles for a player's name if the "namestyle" permission option isn't set on the player or group. Takes the same input as the "namestyle" option, set to "" to retain default behaviour (no style). Do not include the "&" character. Multiple styles must be separated by commas.
  32.                 default-namestyle=""
  33.                 # Sets the prefix to a message. {{prefix}} - prefix (set as an option in a permission plugin), {{suffix}} - suffix (set as an option in a permission plugin), {{name}} - real name, {{displayname}} - display name
  34.                 prefix="&c&l{{prefix:s}}{{displayname}}{{suffix}}&f: "
  35.                 # Sets the suffix to a message. {{prefix}} - prefix (set as an option in a permission plugin), {{suffix}} - suffix (set as an option in a permission plugin), {{name}} - real name, {{displayname}} - display name
  36.                 suffix=""
  37.                 # The weight of the template. A higher number will take priority over lower numbers when two templates could apply to the same player because they are in the both groups.
  38.                 weight=2
  39.             }
  40.             overgrow {
  41.                 # The default colour for a player's chat if the "chatcolour" permission option isn't set on the player or group. Takes the same input as the "namecolour" option set to "" to retain default behaviour (no change of colour). Do not include the "&" character.
  42.                 default-chatcolour=""
  43.                 # The default styles for a player's chat if the "chatstyle" permission option isn't set on the player or group. Takes the same input as the "chatstyle" option set to "" to retain default behaviour (no style). Do not include the "&" character. Multiple styles must be separated by commas.
  44.                 default-chatstyle=""
  45.                 # The default colour for a player's name if the "namecolour" permission option isn't set on the player or group. Takes the same input as the "chatcolour" option set to "" to retain default behaviour (no change of colour). Do not include the "&" character.
  46.                 default-namecolour=""
  47.                 # The default styles for a player's name if the "namestyle" permission option isn't set on the player or group. Takes the same input as the "namestyle" option, set to "" to retain default behaviour (no style). Do not include the "&" character. Multiple styles must be separated by commas.
  48.                 default-namestyle=""
  49.                 # Sets the prefix to a message. {{prefix}} - prefix (set as an option in a permission plugin), {{suffix}} - suffix (set as an option in a permission plugin), {{name}} - real name, {{displayname}} - display name
  50.                 prefix="&2&l{{prefix:s}}{{displayname}}{{suffix}}&f: "
  51.                 # Sets the suffix to a message. {{prefix}} - prefix (set as an option in a permission plugin), {{suffix}} - suffix (set as an option in a permission plugin), {{name}} - real name, {{displayname}} - display name
  52.                 suffix=""
  53.                 # The weight of the template. A higher number will take priority over lower numbers when two templates could apply to the same player because they are in the both groups.
  54.                 weight=3
  55.             }
  56.             torrent {
  57.                 # The default colour for a player's chat if the "chatcolour" permission option isn't set on the player or group. Takes the same input as the "namecolour" option set to "" to retain default behaviour (no change of colour). Do not include the "&" character.
  58.                 default-chatcolour=""
  59.                 # The default styles for a player's chat if the "chatstyle" permission option isn't set on the player or group. Takes the same input as the "chatstyle" option set to "" to retain default behaviour (no style). Do not include the "&" character. Multiple styles must be separated by commas.
  60.                 default-chatstyle=""
  61.                 # The default colour for a player's name if the "namecolour" permission option isn't set on the player or group. Takes the same input as the "chatcolour" option set to "" to retain default behaviour (no change of colour). Do not include the "&" character.
  62.                 default-namecolour=""
  63.                 # The default styles for a player's name if the "namestyle" permission option isn't set on the player or group. Takes the same input as the "namestyle" option, set to "" to retain default behaviour (no style). Do not include the "&" character. Multiple styles must be separated by commas.
  64.                 default-namestyle=""
  65.                 # Sets the prefix to a message. {{prefix}} - prefix (set as an option in a permission plugin), {{suffix}} - suffix (set as an option in a permission plugin), {{name}} - real name, {{displayname}} - display name
  66.                 prefix="&3&l{{prefix:s}}{{displayname}}{{suffix}}&f: "
  67.                 # Sets the suffix to a message. {{prefix}} - prefix (set as an option in a permission plugin), {{suffix}} - suffix (set as an option in a permission plugin), {{name}} - real name, {{displayname}} - display name
  68.                 suffix=""
  69.                 # The weight of the template. A higher number will take priority over lower numbers when two templates could apply to the same player because they are in the both groups.
  70.                 weight=4
  71.             }
  72.         }
Advertisement
Add Comment
Please, Sign In to add comment