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

KillChat Extension CC 1.0.2

Counter Kill and death For CustomChat

Use KillChat in CustomChat
You must first install and install CustomChat KillChat in the Plugins folder.
Start your server and it is not over xD

CustomChat Open the folder in your plugins folder and then open the config.yml



You will find this
PHP:
---
chat-format'{WORLD_NAME}:[{FACTION}][{PurePerms}][{PREFIX}]<{DISPLAY_NAME}> {MESSAGE}'
if-player-has-no-factionNoFaction
enable
-formattertrue
disablechat
false
default-player-prefix: Default
CustomChat options'{Kills} | {Deaths} | {Money}'
if-player-has-no-jobunemployed
Enable Support Money
false
CustomJoin
'@player joined the server ! Iksaku is Awesome'
CustomLeave'@player leave the server ! Iksaku is Awesome'
...
The only important thing is to set KillChat
PHP:
---
chat-format'{WORLD_NAME}:[{FACTION}][{PurePerms}][{PREFIX}]<{DISPLAY_NAME}> {MESSAGE}'
enable-formattertrue
disablechat
false
CustomJoin
'@player joined the server ! Iksaku is Awesome'
CustomLeave'@player leave the server ! Iksaku is Awesome'
...
only is this line can be changed.
This is not to say the other lines removed!


You want to add the counter KillChat discution the room?
very simple!
Just add this

PHP:
{Kills# Indicating the person you have killed scores
{Deaths# Indicating the number of times you are dead
Now you'll add it to the Chat-Format line
PHP:
chat-format'{WORLD_NAME}:[{FACTION}][{PurePerms}][{PREFIX}]<{DISPLAY_NAME}>[{Kills}]|[{Deaths}] {MESSAGE}'
After you removed the Chat-Format elements to overload length.
You also put it where you want to use tags to well specified


You can also add at the CustomJoin.
like here

PHP:
CustomJoin'@player joined the server ! Iksaku is Awesome'
CustomLeave'@player leave the server ! Iksaku is Awesome'
The elements to insert are TODO
Code:
--
@Faction
@PurePerms
@Kills
@Deaths
---
Then to add here:
it is possible to add any options but it will overload the discution.


PHP:
CustomJoin'@player joined the server ! Iksaku is Awesome'
CustomLeave'@player leave the server ! [@Kills]|[@Deaths]'
and He is ready to use!
Advertisement