✅ TheAPI ✅ 1.7.10 - Latest 8.0

Create plugins easier than before!

  1. WHOAH. Long waiting for 1.18 update?

    TheDevTec
    + Added new method to the ResourcePackAPI class: (1.17+)
    - setResourcePack(Player player, String resourcePack, String sha, boolean requireRP, String prompt, ResourcePackHandler handler)
    + Fully supporting __1.18__
    - Removed classes:
    - BarStyle
    - BarColor
    - HoverMessage
    - DataWatcher & DataWatcher utils
    - Removed methods from TheAPI class:
    - getBossBar
    -...
  2. v 7.0!!

    TheDevTec
    + Brand new JsonReader & JsonWriter classes
    - Removed JsonReader and JsonWriter classes
    - Removed Reader and Writer classes
    + Added JReader & JWriter interfaces for JsonWriter and JsonReader
    + Added LegacyJsonReader & Writer for 1.7.10 and older​
    + Rework of RankingAPI & SortedMap (Improved, new methods, removed old methods)...
  3. Fixed bugs & performance update

    TheDevTec
    + Added prevention to beware of loading multiple times same user data @Houska02
    + Fixed NMSAPI#getPacketPlayOutEntityDestroy(int... ids) method for 1.17+
    + Fixed world spawn location of Void worlds
    + Optimized PlayerQuitEvent
    + Fixed tab-completer errors of command /TheAPI PluginManager Load [here]...
  4. Support 1.17.1

    TheDevTec
    + Fixed problems with GUIs on 1.17+ (REQUIRE TESTING FOR OLDER VERSIONS - 1.16.5 - 1.7.10)
    + Fixed creating of files (Data class)
    + Fixed some other problems in TheAPI class & TheAPI user command
    - Removed ServerMessageReceiveEvent
    - Changed constructor of ClientMessageReceiveEvent
    - Changed return of method...
  5. Added options to disable unused saving of IP & quit time

    TheDevTec
    + Added options to disable unused saving of IP & quit time
    + Added new placeholder named **limiter**
    Code (Text):
    %limiter{value, minimum, maximum}%
    # For PAPI:
    %theapi_limiter{value, minimum, maximum}%

    Example:
    %limiter{154, 100, 120}% -> 120
    %limiter{14, 1, 15}% -> 14
    %limiter{14, 15, 20}% -> 15
  6. Fixed 1.17 errors & 1.7.10 & 1.8.8 compatibility

    TheDevTec
    + Fixed bug with 1.8.8 compatibility (enabled late-bind in spigot.yml) - Bug reported by @Castiel (Big thanks!!)
    + Fixed compatibility with 1.7.10 - Position class & TheMaterial class
    + Added new method TheMaterial#getBlock
    + Fixed MultiThread class - destroying of threads - Bug reported by @Koyere
    + Fixed...
  7. Fixed Airplane 1.17 compatibility

    TheDevTec
    + Fixed Airplane 1.17 compatibility
    + Fixed generating of void world (glass block at 0 0 0 is created only if world's folder doesn't exist)
  8. Support 1.17

    TheDevTec
    + Added support for 1.17
    + Added new method Ref#nmsOrOld(newNmsName, oldNmsName)
    * Ref.nmsOrOld("network.chat.ChatHexColor", "ChatHexColor")
    + Fixed name of method ChatMessage#toLegacy
    + Added new method to the ChatMessage class, toNMS
    + Added new AntiFakeBlocks function
    + Fixed...
  9. HOTFIX

    TheDevTec
    + Fixed loading of yaml configs
  10. New PropertiesLoader, fixed many bugs and improved performance!

    TheDevTec
    + Added PropertiesLoader
    + Improved performance of methods:
    - Data#toString -> Data#save
    - T PercentageList#getRandom
    - T StringUtils#getRandomFromList(List<T> list)
    - TheAPI#getOnlinePlayers
    - TheAPI#getOnlineCount
    + Added new method T StringUtils#getRandomFromCollection(Collection<T> collection)
    + Fixed bugs
    + Improvement time loading of...