KotH v1.2.5.48

Details

  • Filename
    KotH.jar
  • Uploaded by
  • Uploaded
    Jun 22, 2014
  • Size
    422.38 KB
  • Downloads
    758
  • MD5
    eb8f30798f7642077ddb12d3802ad466

Supported Bukkit Versions

  • CB 1.7.9-R0.1
  • CB 1.7.2-R0.3

Changelog

v1.2.5.48

Note: This file has been tested only on v1.7.X of minecraft.

Features

  • Attention: You must now specify an endwarp location for all arenas, whether you use it or not.
  • Complete code revamp to the Event API. By adding the ArenaPlayerEvent, HillEvent and ArenaEvent, all relevant classes have access to some basic methods while also retaining their own. This reflects a logical hierarchy and makes using the API a lot simpler.
  • Complete overhaul to the ability system to help performance and maintainability.
  • Players can now view the top arenas. When using the command /koth arenas, players can attach a flag (-r) as a second argument to view the top 20 arenas. These top 20 arenas are calculated by rating. Arenas with ratings disabled will not be displayed, and in the event you do not have 20 arenas, all of them will be displayed in descending order of popularity. Players can also use the flag -tp to view the top 20 arenas in descending order of times played.
  • Arena Info has been expanded regarding team stats. You can now view red team and blue team wins as well as win percentages. Alongside this feature you can do the same with draws.
  • The Event API has been completely restructured and is much easier to use. Using the process of “smart coding”, events follow a logical hierarchy and inherit methods from old ones. For example, every event but one has a directly inherited method to get the arena, the arena’s world, name and every method inherited from Arena.java.
  • ArenaCommandEvent added. The ArenaCommandEvent is called anytime a command sender (whether console or player) successfully uses a /koth command. If the event is cancelled, the command is terminated and the sender is sent a “no access” message. This event is elusive in name, for it does not inherit properties of any other custom event (this is because an arena does not need to be specified to use all KotH commands).
  • Players can now access a configurable GUI when trying to pick a class. If 'classes-gui' is enabled in the arena settings, and the player does not have any arguments in their command, a GUI will pop open for guidance. Users can configure the GUI item just like any other. If more than one item is input the config, the GUI item will revert to a grass block. The display name of the item will reflect the class name, and will be green if the player has permission for it or gray if the player does not have permission. If a player clicks on a 'class' they don't have permission for, they will be assigned a random class.
  • Other minor fixes

Bug Fixes

  • Fix issue regarding server reloads or restarts for players in the lobby. This update restores player data as if they had left, such as contents, gamemode and location. On server reload or restart they will now be correctly removed from the lobby. However, they will be told that they quit the arena and will not get rewards.
  • Fix issue in v1.2.4 that resets config files. I am extremely sorry for this uncaught bug. While trying to create new warps for an arena (excluding hills), config files would be reset due to an exception. This is fixed.
  • Enable and disable commands have been fixed. Failing to safely check the arguments given in the /koth enable and /koth disable commands causes an ArrayIndexOutOfBoundsException everytime arguments are not given (i.e, a player uses /koth enable instead of /koth enable mysuperawesomearena and gets an error). This has been fixed.
  • Fix negative values when using hill locator.
  • Arena better calculates missing warps.
  • Using disabled commands no longer prompts the “Unknown Command” string.
  • Other very minor bug addresses

Before asking questions or suggesting bugs, please read the FAQ.

Any comments, concerns, or questions left unaddressed by the FAQ should be brought up in the comments section of the main post. This is not where bug reports go.

If you feel there is bug, report them via the ticket tracker so they can be addressed.

Keep the bug reports coming at https://github.com/AoHRuthless/King-of-the-Hill/issues