promotional bannermobile promotional banner

ChatEvents

You need to display a player's rank, his money or anything else when you hover his name in the chat? ChatEvents is for you!!
Back to Files

ChatEvents v0.7

File nameChatEvents.jar
Uploader
au2001au2001
Uploaded
Feb 27, 2015
Downloads
360
Size
10.0 KB
File ID
866187
Type
B
Beta
Supported game versions
  • 1.8.1

What's new

Changelog

Added per-player management
Added {VIEWER}, {VIEWERNAME}, {VIEWERCUSTOM} and {VIEWERTAB} variables
Added configurable priority for the event (for maximum support with Factions and other plugins)
Added option to disable each event (used for maintenance or testing for exemple)
Made it easier to create a Module
Removed empty strings in JSON to make it "cleaner"
Rewrote Module.java to add documentation and per-player compatibility
Fixed five major bugs from v0.6
Fixed permissions for click events and "message" part
Fixed: permissions where calculated for the sender, not the receiver

Modules

Before

ChatEvents.addModule(new Module("test") {

	@Override
	public String getValue (Player player) {
		return "Hello, World!";
	}

});

After

new Module("test") {

	@Override
	public String getValue (Player player, Player viewer) {
		return "Hello, World!";
	}

};

Changes

  • ChatEvents.addModule still works, but you don't need to use it while creating a variable.
  • New argument added: Player viewer = The player to which this message will be sent to.

Major

There is no known major bug in this version!

Normal

#1: The {MESSAGE} variable will always be in white, no matter what color code is before.

Minor

#2: If the color code for the player name isn't inside the {[...]}, the name will show as white.

This mod has no additional files