How to use DanAndChat/How to configure channels

For now, please use this channels.yml file as an example of how to create channels. Channel-formatting can be found underneath the paste.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#THIS IS A YAML FILE. YOU CAN NOT USE TABS HERE. INSTEAD, USE 4 SPACES.
#Some editors (Like gedit(Linux)) can replace tabs with 4 spaces. Notepad++ can too, I think, but I haven't used Windows for a while.
#Define channels here.
channels:
    Global:
        #Define which worlds this channel is applicable in.
        worlds:
        - world
        - world_nether
        #Here you can ban players from the channel.
        banned-players:
        - Thisisabannedplayer
        #Here you can mute players from the channel, which means that they can read the chat, but not write.
        muted-players:
        - Daniel7638
        #The colour which comes if you put "&CHANNEL.COLOUR" in the formatting. To check which colours you can use, go to the forum thread at bukkit.org
        colour: white
        #Not used at the moment.
        short-name: g
        #Used when connecting to a channel. If not defined, it will default to the channel name.
        shortcut: g
        #Not used at the moment, and if you don't plan on using this as a roleplay-chat-plugin later on, then you can delete it.
        in-character-focused: false
        #Not used at the moment. However, when it works it will hide the channel in the list. Will later be group- and player-specific.
        hidden: false
        #Not used at the moment. Guess what it does.
        private: false
        #How far away people can see the messages, from the sender. -1 = global.
        range: -1
        #Whether this channel should be auto-joined when logging in. Banned players will not be able to join. This is not needed, if auto-focus: true. Defaults to: true
        auto-join: true
        #Whether this channel should be focused on, when logging in. Banned players will not be able to join. Defaults to: false
        auto-focus: true
        formatting: '&COLOUR.YELLOW[&COLOUR.GREENg&COLOUR.YELLOW]&COLOUR.WHITE<&PLAYER.DISPLAYNAME&COLOUR.WHITE>: &MESSAGE'
    Local:
        worlds:
        - DanAndLand
        - DanAndLand_nether
        banned-players:
        - Daniel7638
        colour: yellow
        short-name: l
        shortcut: l
        in-character-focused: false
        hidden: false
        range: 100
        formatting: '&PLAYER.NAME: &MESSAGE'
        #For formatting details, please go to the forum thread. 

Channel-formatting:
Every one of these must be prefixed with a "&".

CHANNEL:
CHANNEL.COLOUR
CHANNEL.NAME
CHANNEL.SHORTCUT

COLOURS:
COLOUR.BLACK
".DARK_BLUE
".DARK_GREEN
".DARK_AQUA
".DARK_RED
".DARK_PURPLE
".GOLD
".GRAY
".DARK_GRAY
".BLUE
".GREEN
".AQUA
".RED
".LIGHT_PURPLE
".YELLOW
".WHITE

PLAYER:
PLAYER.PREFIX
PLAYER.NAME
PLAYER.COLOUR (Only works if ColorMe is installed)
PLAYER.DISPLAYNAME
PLAYER.RPGPREFIX (Gets the prefix from RPGWorld)
PLAYER.HEALTH (Decipts the player's health, using coloured "|"'s!)


Comments

Posts Quoted:
Reply
Clear All Quotes