Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Inactive CustomChat 5.0.0

SetPrefix with different option

How do I install this??
Drop in in your servers plugin folder!


how to use FactionsPro with CustomChat ?

You only need to place the two plugins in the plugins folder and CustomChat charge it needs to :

Config.yml :

PHP:
---
chat-format'{WORLD_NAME}:[{FACTION}][{PREFIX}]<{DISPLAY_NAME}> {MESSAGE}' #Tags Removed ^^
// The format cat can be changed according to your desire.
if-player-has-no-factionNoFaction
// It will display "NoFaction" when you will not have Faction.
// It will be useless if FactionsPro is not loaded
enable-formattertrue
// To activate the format or not, the goal is to let the plugin enabled
disablechatfalse
// We can give people the right to speak on the server,
default-player-prefix: Default
// It is chosen to be the Prefix by default.
...
how to MassiveEconomy with CustomChat ?

First you have to download and MassiveEconomy CustomChat.

Start the server.
Open config.yml in CustomChat file

PHP:
---
chat-format'{WORLD_NAME}:[{PurePerms}][{PREFIX}]<{DISPLAY_NAME}> {MESSAGE}'
if-player-has-no-factionNoFaction
if-player-has-no-jobunemployed
enable
-formattertrue
disablechat
false
default-player-prefix: Default
CustomChat options'{Kills} | {Deaths} |  [{Money}$]' # This is the code for MassiveEconomy
CustomJoin'@Player joined the server ! Iksaku is Awesome'
CustomLeave'@Player leave the server ! Iksaku is Awesome'
...
You must copy the piece of code that is shown above and copy it to the Chat-Format or as you want.
Keeping tags

PHP:
---
chat-format'{WORLD_NAME}:[{Money}$][{PurePerms}][{PREFIX}]<{DISPLAY_NAME}> {MESSAGE}'
if-player-has-no-factionNoFaction
if-player-has-no-jobunemployed
enable
-formattertrue
disablechat
false
default-player-prefix: Default
CustomChat options'{Kills} | {Deaths} |  [{Money}$]'
CustomJoin'@Player joined the server ! Iksaku is Awesome'
CustomLeave'@Player leave the server ! Iksaku is Awesome'
...
Here you must restart your server to be able to see your money when you talk




Chat format change
PHP:
chat-format'{WORLD_NAME}:[{TAGS}][{FACTION}][{PurePerms}][{PREFIX}]<{DISPLAY_NAME}> {MESSAGE}'
########################################
Displays the name or the world you are.
PHP:
chat-format'{WORLD_NAME}'
Displays the name of your faction ( Use FactionsPro )
PHP:
chat-format'{FACTION}'
Displays the grade with PurePerms
PHP:
chat-format'{PurePerms}'
Displays the selected prefix or by default
PHP:
chat-format'{PREFIX}'
Displays the selected tags or by default
PHP:
chat-format'{TAGS}'
Displays your Name
PHP:
chat-format'{DISPLAY_NAME} '
Displays Message
PHP:
chat-format'{MESSAGE}'


You can change the order of the Chat-Format

It is possible to do work on multiple online !
PHP:
\n
PHP:
chat-format'{WORLD_NAME}:[{FACTION}][{PurePerms}][{PREFIX}]<{DISPLAY_NAME}> \n{MESSAGE}'



Permissions

Code:
 setprefix:
  description: "sets prefix for player"
  permission: customchat.plugin.setprefix
defprefix:
  description: "sets default prefix for new players"
  permission: customchat.plugin.defprefix
delprefix:
  description: "set player's prefix to default"
  permission: customchat.plugin.delprefix
setnick:
  description: "sets player's nick"
  permission: customchat.plugin.setnick
delnick:
  description: "returns players's real name"
  permission: customchat.plugin.delnick
mute:
  description: "mute player from chat"
  permission: customchat.plugin.mute
unmute:
  description: "unmute player from chat"
  permission: customchat.plugin.unmute
disablechat:
  description: "disable chat for all players"
  permission: customchat.plugin.offchat
enablechat:
  description: "enable chat for all player"
  permission: customchat.plugin.onchat
Advertisement