Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # OpenRP Chat.
- # For modification requirements, notify me!
- # Made by Darwin Jonathan, 2020.
- # Placeholder list:
- # &(any color code) - 0-9, a-f.
- # {player$user} - Username of a player. e.g. untoldpotential.
- # {player$displayName} - Display name of a player. e.g. [prefix]~Darwin[suffix]
- # {message$msg} - The message of the player.
- # {channel$displayName} - The channel display-name setting.
- # {language$language} - The language that was used.
- # You can use any PlaceholderAPI value you want, as long as you have PAPI installed. (RECOMMENDED FOR VAULT PREFIXES/SUFFIXES)
- # You can use EmojiChat in any chat channels when talking in game, as long as you have EmojiChat installed & working.
- # Default is used if no chat command is sent.
- default: ic
- # Set to true if you want to also let players use the default chat channel's command.
- # In this config's case: /ic.
- default-can-be-used-as-command: false
- # This is the permission for others to bypass the cooldown.
- # Set to none or remove entirely to let nobody bypass cooldowns.
- bypass-cooldowns-perm: 'orpchat.cooldown.bypass'
- # This is the permission for others to use chat colors.
- # Set to none or remove entirely to let everyone use chat colors.
- chat-colors-perm: 'orpchat.colors.use'
- #Spy chat settings.
- spy:
- # display-style: when in spy mode, messages get replaced to this.
- default-style: '&8[SPY] &7{player$user} &fin &e{channel$displayName}&f: &7{message$msg}'
- # permission: leave empty or remove entirely to make it have no permission
- # in this case, that'd be a terrible idea, since anyone could spy on the chat.
- permission: 'orpchat.spy'
- #All channels must be placed under the 'channels' config section. You may add as many as you want.
- channels:
- # The configuration section name acts as the command. For Local, it's /l, for example.
- ic:
- # display-name: the way it looks when {channel$displayName} is used.
- display-name: '&8[&7IC&8]'
- # display-style: the way it looks in chat.
- display-style: '{player$displayName} &fwould say "{message$msg}&f"'
- # permission: leave empty or remove entirely to make it have no permission.
- # you can have more channels share the same permission.
- permission: 'orpchat.ic'
- # read-perm: leave empty or remove entirely to make reading that channel not have a permission.
- # you can have more channels share the same permission.
- read-perm: 'orpchat.ic.read'
- # range: the block radius this works with; leave empty to make it rangeless.
- # leave empty or remove entirely for none.
- range: 15
- # cooldown: the time in seconds to limit how often you can use this chat.
- # leave empty or remove entirely for none.
- # force-caps: replaces all lower-case text with upper-case text.
- # leave empty, remove entirely or set to false to ignore this option.
- # aliases: check for other variants of the same chat.
- # leave empty or remove entirely for none.
- # disable-colors: if disabled, it will simply not allow the use of color codes, even if you have the perm.
- # leave empty, remove entirely, or set to false to ignore this option
- # lang-replacement: if languages are enabled, it'll use this to replace a chat message.
- lang-replacement:
- known: '{player$displayName} &fwould say, in &e{language$language}&f, "{message$msg}&f"'
- unknown: '{player$displayName} &fwould say something in &e{language$language}&f.'
- ## Other Useful Channels, such as OOC channels.
- local:
- display-name: '&9[&bLocal&9]'
- display-style: '&9[&bL&9] &e{player$displayName}&b: {message$msg}'
- permission: 'orpchat.local'
- read-perm: 'orpchat.local.read'
- range: 15
- aliases:
- - looc
- - l
- global:
- display-name: '&4[&cGlobal&4]'
- display-style: '&4[&cG&4] &e{player$displayName}&c&l: {message$msg}'
- permission: 'orpchat.global'
- read-perm: 'orpchat.global.read'
- cooldown: 30
- disable-colors: true
- aliases:
- - gooc
- - ooc
- - g
- ## Chat Channel for Staff Members Example.
- sc:
- display-name: '&e[&6Staff&e]'
- display-style: '&e[&6Staff&e] &a{player$user}&e: {message$msg}'
- permission: 'orpchat.staff'
- read-perm: 'orpchat.staff.read'
- # LANGUAGE SETUP BELOW
- # If you don't want to use the languages expansion of OpenRP Chat, then just set this to false.
- use-languages: true
- # This is the language command.
- language-command:
- label: language
- aliases:
- - lang
- # This is the channel which gets replaced by the language command.
- lang-default: ic
- # This is the permission to be able to use /lang.
- use-langs-perm: "orpchat.languages"
- # This is the permission to be able to use /addlang, /addlanguuid, /removelang, /removelanguuid.
- modify-langs-perm: "orpchat.languages.admin"
- # This is the permission to bypass languages.
- bypass-langs-perm: "orpchat.languages.bypass"
- # Lets you use other channels, such as whispering, yelling etc. by appending the chat channel/alias after the language command.
- # /(languagecommand)(channel) (language) (text)
- # e.g. /languagewhisper Romanian Hello!
- extra-channels:
- - w
- - y
Add Comment
Please, Sign In to add comment