Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondDagger590 committed Jun 26, 2020
1 parent 6fe8d2c commit ce4dd71
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
@@ -1,22 +1,22 @@
#Prisma
# Prisma

###Purpose
### Purpose
Prisma is a new plugin that allows for developers to easily hook in and use custom color codes
provided from the colors.yml.

The idea behind Prisma is to allow for server owners to easily define new color codes using
RGB and Hex codes that they can then use on things such as plugin's language files, provided
they hook into prisma

###Server Owner Usage
### Server Owner Usage
To use Prisma, simply put the jar in your plugins folder, run the server once to generate the
colors.yml, and then you are free to add your custom color codes.

This will only work with plugins that hook into Prisma.

You will not be able to use color codes from vanilla usages such as b, a, 4, l, etc.

###Developer Implementation
### Developer Implementation
Adding support for Prisma is amazingly easy. All you need to do is place this method in a util
class such as a Methods class, and change your player.sendMessage()s to run through this method.
This method would provide vanilla and custom color code implementation, and if Prisma is absent,
Expand All @@ -31,4 +31,4 @@ would not break and just use vanilla coloring.
Prisma also provides over 100 colors in an enum called PrismaColor you can use as easily as so

player.sendMessage(PrismaColor.BISQUE + "BISQUE");
player.sendMessage(PrismaColor.BISQUE + "BISQUE");

0 comments on commit ce4dd71

Please sign in to comment.