ChatEvents v0.7

Details

  • Filename
    ChatEvents.jar
  • Uploaded by
  • Uploaded
    Feb 27, 2015
  • Size
    10.03 KB
  • Downloads
    314
  • MD5
    bed1e512c91721ec12a35f875fe6e397

Supported Bukkit Versions

  • 1.8.1

Changelog

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.