Skip to content

!== Koth 3.1.0 MAJOR UPDATE AVAILABLE !==

Latest
Compare
Choose a tag to compare
@iZeaoGamer iZeaoGamer released this 30 Mar 14:25
· 41 commits to master since this release

Note

This update is a major changelog, containing bug fixes, and especially - Messages becoming customisable! yay!

This update also removes useless bunch of codes, and improvements to how the game works.

  • Messages are now customisable via configurations.
  • Added new config options:
    teleport-type:
    spawn-command:
    BlockedCommands:
    world:
    coordinates:
  • Removed a few useless configuration options we no longer use.
  • Reorganised configuration option descriptions.
  • Added messages.yml file!
  • Refactored Namespaces for more easier-viewing.
  • Updated DiscordIntergration typehints to PHP 7.0!
  • Remove the useless commented class information.
  • Added new functions: teleport - Allows you to teleport the user to spawn point of the world depending on what options you have configured.
  • Added new functions: getKothArena() - Returns the Koth Arena. If non created, returns null.
  • Added new function: addTitlePercentage() - Sends the title of the percentage messages.
  • Added new Language class!
  • Added new function: getMessage() - Returns the message, and depending on the message configured, it'll return with str_replace, which allows you to replace a {function} into a variable.
  • Made certain onEnable() messages debug or noticed. "info" shouldn't need to be shown for everyone. It also complies with Poggit's rules.
  • Added function: getLang() - Returns the Base KothLanguage. Returns null if KothLanguage class doesn't exist. Though, this function should always return a KothLanguage no matter what.
  • Added (string) to setPoint function.
  • KothPlayer::class reformat
  • Clean-up.
  • Remove time_in_minutes argument for /koth setgametime. For now, time will now be recognizable in seconds, but will be transferred to minutes from when the game starts.
  • README: Revamp Databases - Done!
  • README: Best Customizable koth plugin ever to be made, free - Done!
  • Fixed lint