GithubHelp home page GithubHelp logo

rmjtromp / chatemojis Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 7.0 279 KB

Chat Emojis is a lightweight Minecraft Spigot server plugin that replaces emoticons with 'emojis'.

Home Page: https://www.spigotmc.org/resources/chatemojis.88027/

License: GNU General Public License v3.0

Java 100.00%
minecraft-plugin minecraft minecraft-server plugin spigot-plugin spigot bukkit bukkit-plugin emoji emoticon emoticons server

chatemojis's Introduction

ChatEmojis

Chat Emojis is a lightweight plugin that replaces emoticons with 'emojis'. ChatEmojis allows you to add your own emojis in the config file and supports multiple emoticons, random emoji selection, and regular expression capturing. Chat Emojis comes with 36 default emojis including all of the emojis on Hypixel.

Required Java Version: Java 8+

Commands

Command Description Permission
/emoji [list] [page] Shows list of emojis chatemojis.list
/emoji help Shows list of commands none
/emoji reload Reloads all emojis chatemojis.reload
/emoji version Shows the plugin's version none
/emoji settings Shows list of emojis chatemojis.admin

Permissions

Permission Node Default Description
chatemojis.list Everyone Allowes access to use /emoji [list]
chatemojis.use.* OP Permission to use all emojis
chatemojis.reload OP Allowes access to reload emojis
chatemojis.admin OP Allowes access to change plugin settings
chatemojis.* OP Permission to use all emojis and /emoji command

Emoji-Specific Permission: Ungrouped emojis permission is as easy as chatemojis.use.<name> Grouped emojis permission needs to include the path to the group (ex. chatemojis.use.<group-path>.<name>) If you still don't understand how to get emoji-specific permission- as a server operator you're able to hover over the emoji (in the /emoji list) to view the permission node for that specific emoji.

Dependencies

ChatEmojis does not hard-depend on any other plugins; Meaning none of these dependencies are required for ChatEmojis to work.

Please note that if you are using PlaceholderAPI, you must also install the PlaceholderAPI Extension corresponding to the placeholder you're trying to access, more about this can be found here.

How to create your own Emoji

A full tutorial and detailed explanation on how to create your own emoji can be found here.

Emoji List (Screenshot)

List of Emojis

Official Resouce Links

SpigotMC, MC-Market.

License

This project is subject to the GNU General Public License v3.0. This does only apply for source code located directly in this clean repository. For those who are unfamiliar with the license, here is a summary of its main points. This is by no means legal advice nor legally binding. You are allowed to

  • use
  • share
  • modify

this project entirely or partially for free and even commercially. However, please consider the following:

  • You must disclose the source code of your modified work and the source code you took from this project. This means you are not allowed to use code from this project (even partially) in a closed-source (or even obfuscated) application.
  • Your modified application must also be licensed under the GPL

Do the above and share your source code with everyone; just like we do.

chatemojis's People

Contributors

gurwi30 avatar rmjtromp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

chatemojis's Issues

Detecting emoticons without EssentialsX

It would be nice to have the plugin detect emoticon structures in private messages without using EssentialsX, as the features it adds may be excessive. It would also be helpful to detect emoticon structures in any text, not just in chat, as it would be convenient for plugins like "MessageOverHead" (displays messages above a player's head).

[Request] Update to 1.20.6

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Please Update the plugin to the latest minecraft version

[BUG] /msg (emoji) turns all text after white.

Describe the bug
the issue at hand stims from turning the /msg color with EssX to Pink or (&d), upon doing so if you use an emoji during the message all text afterwards becomes white.

To Reproduce
Steps to reproduce the behavior:

  1. Change "msgFormat" to "msgFormat=\u00a76[\u00a7c{0}\u00a7d -> \u00a7c{1}\u00a76] \u00a7d{2}"
  2. Type /msg, Enter text then and emoji and then, more text.
  3. See error

Expected behavior
Should remain pink throughout the message.

Screenshots
Example

Server Jar & Version (please complete the following information):

  • Jar: PaperMC
  • Version: 1.19.2

Other Information
I also contacted EssX about this issue in hopes that I could resolve it via the messages_en.properties, they told me it was up to you.
Side note, I also tried to remove all color from all of the emoji's, this also did not help.

[BUG]

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
Why will appear after garbled input instructions
Screenshots
If applicable, add screenshots to help explain your problem.
2%H8WQCK0{ Z_93HYE `ES9

Server Jar & Version (please complete the following information):

  • Jar: [e.g. Spigot1.8.8]
  • Version: [e.g. 1.8.9]

Additional context
Add any other context about the problem here.

Limit for Emoji Use

Is your feature request related to a problem? Please describe.
Players on my server use the chat emojis to flood the chat with spam.

Describe the solution you'd like
It would be great to see a config option to limit the number of emojis that can be in a single message. It would be a global limit, insofar as the player cannot send X number of the same emoji and the player cannot send X number of different emojis in a singular message. My chat filter can limit the amount of times someone sends a similar message, but it doesn't catch the parsing of the emojis. If this was implemented, it would improve the spam situation on my server.

Thank you.

[Suggestion] allow emoji's to be placed on signs

Hi there,

It would be really cool if emoji's could be added to signs etc. There are other plugins that allow it, but they do not seem to be as good as this chatemoji. Feel free to let me know if you need a tester :D

[Request]

Is your feature request related to a problem? Please describe.
No, just a suggestion.

Describe the solution you'd like
I would like to suggest a DiscordSRV support. :)

Describe alternatives you've considered
Nothing.

Additional context
Discord SRV support for the emojis, so when a player does :java: the :java: symbol, it will be implemented to Discord.

Support for Anvil renamed item [Request]

Is your feature request related to a problem? Please describe.
No, it's not a problem, but I think is useful for some people using custom emojis in their own tools or items (IDK).

Describe the solution you'd like
Add support fur use emojis in the Anvil GUI at the moment to renaming an item.

Describe alternatives you've considered
I see an alternative in the plugin unemojis (maybe it will be renamed to another name) and its add this feature.

Additional context
https://www.spigotmc.org/resources/free-creative-glyphs.96402/update?update=515594

PSD: I used a translator to writing this. Sorry for bad sentences or other words.

[Request] DiscordSRV integration

Is your feature request related to a problem? Please describe.
People's Discord names and messages do not include the emoji, even if it is exactly the same as specified in the config file.

Describe the solution you'd like
It seems that DiscordSRV messages and names do not get noticed by the plugin and therefore, the text is not transferred to an emoji. Would be great if it could be fixed :)

[BUG]

Describe the bug
When an ordinary player with the Default group writes ⭐ or :dj: or something else into the chat, the star or DJ is not sent to the chat, but simply an empty space is sent. there is no message at all. But if a player with op status writes this in chat, then everything will be fine.
Default group has been granted the following rights:

chatemojis.use.hypixel.basic.*
chatemojis.use.hypixel.premium.*
chatemojis.use.hypixel.*
chatemojis.list
chatemojis.use.*

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Chat'
  2. Send ⭐ to chat
  3. and look at the empty space (error)
  4. See error

Expected behavior
Feedback with correction instructions

Screenshots
изображение_2023-11-08_001608719

Server Jar & Version (please complete the following information):

  • Jar: Paper
  • Version : 1.20.2

Additional context
nothing

[Request]

I would like an auto-update, so that I don't have to come back here and re-download the plugin :)

Wrong chat color after emoji

Hello! All the messages on my server are colored based on player ranks. Problem is when players use emoji the text after the emoji is white. Any fix to this?

Please update for 1.20 when possible

Describe the bug
ChatEmojis cannot be enabled on a 1.20 server

To Reproduce
Steps to reproduce the behavior:

  1. load server
  2. attempt to run a command

Screenshots
Capture

Server Jar & Version:

  • Jar: Paper
  • Version: 1.20

thanks!

Need help w/ config, plugin not loading.

Describe the bug
I'm not sure what I'm doing wrong, I probably messed up the config but when I load the server w/ emojis that I used (custom) the plugin doesn't load.

Server Jar & Version (please complete the following information):

Paper 1.19
1.19
See attatched below, I had to change the YML to TxT to be able to upload it here.
config.txt

Again, I probably messed something up, just wanna know.

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.