GithubHelp home page GithubHelp logo

diademiemi / embellish Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.42 MB

Configurable and simple to use command for Spigot servers to generate colour codes for text

Home Page: https://www.spigotmc.org/resources/embellish-easily-colour-text-with-hex-codes.99491/

License: GNU General Public License v3.0

Java 100.00%
minecraft minecraft-server spigot bungeecord hex-colors minecraft-color-parser

embellish's Introduction

Logo

Embellish

About

Embellish is a Spigot plugin to generate colour codes for string ingame. This allows players to quickly apply and preview hexadecimal colour codes to signs, their nickname or other things that take hex codes. Embellish is made for servers Minecraft 1.16 and above! Hex code support was only introduced in Minecraft 1.16, so this is required.
This plugin doesn't handle setting nicknames itself, but you can configure a button which allows players to easily set it from this plugin.

Showcase

Showcase

Permissions

  • embellish.help - Show the help message
  • embellish.reload - Reload the plugin config
  • embellish.use.solid - Set a solid colour
  • embellish.use.gradient - Set a gradient
  • embellish.use.pattern - Use main pattern command
  • embellish.use.pattern.stretch - Use the stretch pattern
  • embellish.use.pattern.repeat - Use the repeat pattern
  • embellish.use.pattern.gradient - Use the gradient pattern
  • embellish.use.preset - Use presets
  • embellish.use.preview - Just use the command to preview existing colours
  • embellish.listpresets - List all presets

Configuration

The default configuration of the plugin is:

# Config file for Embellish. This defines presets and defaults

# The command to use to set nicknames with a button
# Leave blank to disable: ""
nick-command: "/nick"

# This determines what the plugin detects as a nickname and shows the command button for
nick-length: 20

presets:
  rgb:
    type: repeat
    colours:
    - red
    - green
    - blue
  transpride:
    type: gradient
    colours:
    - aqua
    - pink
    - white
    - pink
    - aqua
  rainbow:
    type: stretch
    colours:
    - red
    - orange
    - yellow
    - green
    - blue
    - purple

For presets, at least one colour needs to be defined. And the type needs to be one of repeat, gradient or stretch.
The configuration file can be reloaded by running /embellish reload!
With nick-command, a player can set the result as a nickname by pressing a button if it doesn't contain spaces and the length doesn't exceed nick-length.

embellish's People

Contributors

diademiemi avatar

Watchers

 avatar

embellish's Issues

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.