Giter Site home page Giter Site logo

captainchat's Introduction

CaptainChat

This plugin uses deprecated events, do not use it if you are not using a plugin that requires it. This is only available to provide compatibility support for MYOA's chat functions. Releases are available here. There will most likely be no updates.

Config

The config file is located at plugins/CaptainChat/config.yml. The default file looks like this:

Global:
  Format: '&7[&a+senderName&7]: +message'
  AccessNode: captainchat.global
Local:
  Format: '&7[L] +senderName: +message'
  AccessNode: captainchat.local
  Range: 50

Global/local nodes should probably be given to every player. If you are running a small server no additional setup is required. Variables are defined below in channel configuration.

Channel Config

If you want extra channels, create a file at plugins/CaptainChat/channels.yml. The format for these channels is similar to the config.yml

Admin:
  Name: 'Admin'
  Format: '&7[&4+senderName&7]: +message'
  AccessNode: captainchat.admin

You can create as many channels as you want. Players with the given permissions node will be able to join/leave the channel as they wish. The variables that can be specified in the config are as follows:

+senderName - Player's display name
+worldName - World's name that the chatting player is currently in
+channelName - Channel's name
+prefix - Player's prefix defined based on their group in PeX
+message - Chat message
&[a-f0-9] - Minecraft chat colors

captainchat's People

Contributors

gochuonpire avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.