Skip to content

katorlys/Spigot-MessageSender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Spigot-MessageSender

License Pull Requests Issues Lines

Introduction

Tired of writing message-sending codes every time you want to send information?
This code allows you to only code for one line to send messages and broadcasts without polluting the console.

PS: Supports color codes.

Usage

Replace "&" with "§" to fix color messages
If you don't want "&" to be replaced, please use "&&".

Messager.Color(String string);

Send message to a player

Messager.sendMessage(Player player, String message);

Send message to a command sender

Messager.senderMessage(Sender sender, String message);

Send message to all online players

Messager.broadcastMessage(String message);

Send message to console and all online players

Messager.broadcastMessageAll(String message);

Send title to a player

Messager.sendTitle(Player player, String title, String subtitle);

Send title to all online players

Messager.broadcastTitle(String title, String subtitle);

There are also Javadoc comments before every method.

About

Send messages and titles to one player or above.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages