Add greentext functionality to a Bukkit/Spigot server.
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.
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]
.
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.
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 featuresgreentext.chat.green
: greentextgreentext.chat.orange
: orangetextgreentext.toggle
: toggle ability to use featuresgreentext.toggle.others
: toggle others' ability to use features
I'm really bad at Java, and I need to know what's going on when I debug my subpar code.
Working on it.
- Toggle orangetext separately from greentext
- Support for reply reference (
>>31337
) and board reference (>>>/out/
)
Tab characters for indentation; spaces for alignment. Just look through the code and assimilate it.