Giter Site home page Giter Site logo

chatfx's Introduction

ChatFX

ChatFX is a plugin for Pocketmine-MP to let players who are given the permission change their chat colors.

Usage

  • Main command is /cfx OR /chatfx
  • Permission for the UI - (required) in order to be able to pick anything: chatfx.cfx
  • All colors permission: chatfx.cfx.*
  • One word colors permissions: chatfx.cfx.red - chatfx.cfx.white - chatfx.cfx.blue.....
  • Two word colors permissions: chatfx.cfx.darkgreen - chatfx.cfx.darkred - chatfx.cfx.lightpurple.....
  • It also stores the color you pick until the server either restarts or you set it back to white!

Contributing

You may open issues with suggestions, I also appreciate feedback on the project, it is my first one to put out on for public, hopefully it's useful!

Color suported:

  • White (chatfx.cfx.white)
  • Black (chatfx.cfx.black)
  • Dark Blue (chatfx.cfx.darkblue)
  • Dark Green (chatfx.cfx.darkgreen)
  • Dark Aqua (chatfx.cfx.darkaqua)
  • Dark Red (chatfx.cfx.darkred)
  • Dark Purple (chatfx.cfx.darkpurple)
  • Gold (chatfx.cfx.gold)
  • Gray (chatfx.cfx.gray)
  • Dark Gray (chatfx.cfx.darkgray)
  • Blue (chatfx.cfx.blue)
  • Green (chatfx.cfx.green)
  • Aqua (chatfx.cfx.aqua)
  • Red (chatfx.cfx.red)
  • Light Purple (chatfx.cfx.lightpurple)
  • Yellow (chatfx.cfx.yellow)
  • Rainbow (chatfx.cfx.rainbow)
  • GERMANYYYYYYYYYYY (chatfx.cfx.germany)
  • Pingpong (chatfx.cfx.pingpong)

What the plugin does in pictures

Image Image Image

chatfx's People

Contributors

alacksch avatar inxomnyaa avatar

Stargazers

 avatar Vei avatar BalkanDev avatar  avatar Ben avatar

Watchers

 avatar

Forkers

inxomnyaa

chatfx's Issues

[Suggestion] Permissions

I really want only certain players to be able to use certain types of colors.
Could you add a permission for cfx and all the colors.

Internal Server Error

When [x] was clicked on the form ui.

[10:31:33] [Server thread/CRITICAL]: #0 plugins/ChatFX.phar/src/Alacksch/ChatFX/Commands/ChatFXCommand(40): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[51] Trying to access array offset on value of type null, string[89] phar:///home/container/plugins/ChatFX.phar/src/Alacksch/ChatFX/Commands/ChatFXCo, integer 40, array[3])
[10:31:33] [Server thread/CRITICAL]: #1 plugins/ChatFX.phar/src/Alacksch/ChatFX/libs/jojoe77777/FormAPI/Form(46): Alacksch\ChatFX\Commands\ChatFXCommand->Alacksch\ChatFX\Commands\{closure}(object JackMD\NameSpaceRemover\CustomPlayer, NULL )
[10:31:33] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/Player(3676): Alacksch\ChatFX\libs\jojoe77777\FormAPI\Form->handleResponse(object JackMD\NameSpaceRemover\CustomPlayer, NULL )
[10:31:33] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(259): pocketmine\Player->onFormSubmit(integer 15, NULL )
[10:31:33] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket(49): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)
[10:31:33] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[10:31:33] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)
[10:31:33] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[10:31:33] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/Player(3323): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[10:31:33] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[10:31:33] [Server thread/CRITICAL]: #10 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 136.158.11.7 46421, object raklib\protocol\EncapsulatedPacket, integer 0)
[10:31:33] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[10:31:33] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[10:31:33] [Server thread/CRITICAL]: #13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[10:31:33] [Server thread/CRITICAL]: #14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
[10:31:33] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1633516293.0831)
[10:31:33] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
[10:31:33] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
[10:31:33] [Server thread/CRITICAL]: #18 pmsrc/src/pocketmine/PocketMine(314): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[10:31:33] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/PocketMine(344): pocketmine\server()
[10:31:33] [Server thread/CRITICAL]: #20 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[10:31:33] [Server thread/INFO]: [StaffChat] [Staff] xKurt21 disconnected```

Individual Color Permission Don't Work

The Individual Per-Color Permissions such as chatfx.cfx.white - chatfx.cfx.blue don't have any functionality,
at least when set to a PurePerms Group. This plugin would be perfect if this worked.

[Suggestion] Config

Could you add a config to enable/disable colors and to edit the messages?

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.