Configuration

As of WorldChat 1.0, there is an extended configuration available for you.

config.yml

Default:

prefix:
  global: [G]
  default: "[%world%]"
  world:
    example: [E]
    prison: [P]
    creative: [C]
    survival: [S]
override: "!wc"

Note: The values for the worlds' prefixes in the default config are entirely optional. If you do not specify them, it uses the default option.

The default option has a variable that you can use: %world% , which is replaced with the world name.

The global option is shown in front of your message when you use the override (i.e. !wc, or whatever you specify in the config)

When you set a prefix for a specific world, it shows in front of chat when a message is sent from it.

shares.yml

Default:

examplegroup:
- world
- world_nether
- world_the_end

In the shares.yml, you can specify worlds that will share the chat between them.

That is, in the example above, if player A in world talks, then player B in world_nether or world_the_end will see the message, and vice versa.

NOTE: Players will not see each other's chat messages if they are either: in the same world, or their worlds are linked through the shares system.

Example:

namehere:
- world
- world_nether

acoolnamehere:
- world
- world_the_end

In the example above, players in world will see the chat messages of those in world_nether and world_the_end, but players in world_nether will not see the chat messages of players in world_the_end (and vice versa).


Comments

Posts Quoted:
Reply
Clear All Quotes