Git Product home page Git Product logo

bukkitgreentext's Introduction

BukkitGreentext

Add greentext functionality to a Bukkit/Spigot server.

Greentext usage example

Okay but why?

I didn't find other greentext plugins all that featureful, so I set out to make my own (originally just for my own personal server). My plugin supports orangetext, is permissions-based, has convenient commands to disable or enable per-player or globally, &c.β€”all of which are entirely optional features. And if that isn't enough, hop on over to the issue tracker to voice your suggestion.

Usage

Download the plugin JAR from the Spigot project page and drop it in the plugins/ directory of your Minecraft server.

Any message starting with the greater-than sign, >, is made green, whilst any message ending with the opposite < is made orange. Players can avoid making anything starting with > green by prepending a space, i.e. >, or by using /greentext [on|off].

Configuration

To avoid automatic greenification of angry emotions, e.g. >:C, or Japanese-style emoticons such as >_>, exceptions for : and _ are specified in the config file. Custom exceptions are allowed as well, naturally.

Greentext can be either enabled or disabled upon startup. In the case the parameter enabled-by-default is set true, each player must manually enable the plugin with /greentext on. Additionally, orangetext, an obscure feature used probably once, can be disabled via config.

If you want to take advantage of 1.16’s full RGB support and use 4chan-accurate colors in chat, set use-hex-colors as true.

Permissions

If check-for-permissions is set true in the config file, give players the desired permissions to enable use of the plugin:

  • greentext.chat.*: all features
  • greentext.chat.green: greentext
  • greentext.chat.orange: orangetext
  • greentext.toggle: toggle ability to use features
  • greentext.toggle.others: toggle others' ability to use features

Notes

Why so much debug logging?

I'm really bad at Java, and I need to know what's going on when I debug my subpar code.

Will you support Beta 1.7.3 or earlier?

Working on it.

Some to-do

  • Toggle orangetext separately from greentext
  • Support for reply reference (>>31337) and board reference (>>>/out/)

Contributing

Tab characters for indentation; spaces for alignment. Just look through the code and assimilate it.

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.