T2CodeLib icon

T2CodeLib -----

T2CodeLib is a library for the plugins of T2Code.




Important!

If you have downloaded and are using version 16.8 or 16.7, please make sure to upgrade to 16.9! The 16.8 is not compatible with my plugins, as this is already a revised version but all my plugins have not yet been adapted.
I apologize for this mistake on my part.
----------, Sep 30, 2024

Hotfix by startup
----------, Sep 29, 2024

1.21.1 Support added

Info:
I am currently working on a major update for all my plugins. However, I do not have the time and especially not the desire to do so, I apologize. I therefore do not give a time frame when these updates will come.
----------, Sep 26, 2024

1.21 support
minor code changes / bug fixes
----------, Jun 15, 2024

- Add 1.20.5/1.20.6 Support

- Kyori MiniMessage API Update to 4.17.0 (<artifactId>adventure-text-minimessage</artifactId>)
----------, May 17, 2024

API Updates:
adventure-text-minimessage - 4.16.0
adventure-platform-bukkit - 4.3.2
adventure-platform-bungeecord - 4.3.2
----------, Mar 31, 2024

- A pointless debug message has been removed
- 1.20.4 native Suport
----------, Mar 30, 2024

16.1 was skipped!
This update fixes the bug with Base64 heads.
----------, Dec 7, 2023

It was displayed in some plugins in T2CodeLib 15.10 that a lower version is required, this error has been fixed.
----------, Nov 5, 2023

A bug in the update check was fixed
----------, Oct 19, 2023

- In MiniMessage messages placeholders were erroneously not supported by PlaceholderAPI
- Smaller API changes in T2Csend
----------, Aug 4, 2023

Innovation:
  • Commands can now be provided with delays (in ticks)
    Example:
    /say hi !delay:20
    This command is now executed with a second delay.
    20 ticks are one second
  • /t2c permtoggle <player> <permission> was added (Paermission: t2code.permtoggle.use)
----------, Jul 31, 2023

[ c72edaf]
  • Bugfix: If a t2code plugin could not be checked for an update, it was not possible to use the info command of the respective plugin and the command '/t2c updateinfo <plugin>'.
  • The message at the command '/t2code updatinfo <plugin>' was slightly adjusted
----------, Jul 10, 2023

[7b04697]
  • add public static void setItem(Integer slot, Integer amount, String material, String displayName, List<String> lore, Inventory inventory) in T2CitemBuilder Class
  • add getBlackStainedGlassPane in T2CitemVersion Class
  • clean code
[e97fadf]
  • add public static Object replace(Object object,String placeholder,String replacement) inT2Creplace Class
[addc485]
  • Fixed error when PlaceholderAPI is not installed
----------, Jul 9, 2023


[ 59133a3] 15.4
[ c2adf69] Code reordered and methods rebat / removal announced via @Deprecated
[ 2e1ef9c] Create T2CdevelopmentTool.java
[ a7c7877] Development tool added
[ 71c746b] Spigot website changed in the plugin.ym
----------, Jun 30, 2023

[ a3ec711] - add minMcVersion (public static boolean minMc1_13() etc.) to net.t2code.t2codelib.SPIGOT.api.minecraftVersion.T2CmcVersion
[ 6f054a8] - Update T2CBtab.java
----------, Jun 27, 2023

[ 034bf24]
Changes:
Commands:
- The command '/t2code serverid' has been added to display the server ID assigned by the T2CodeLib.
- The command '/t2code bcmd <command>' was added to execute a bungee command from a spigot plugin

DebugLog:
- The number of offline players is now displayed in T2CoderLog.txt
- The offline players as well as the plugins in the T2CoderLog.txt are now listed in alphabetical order

- Smaller code changes
----------, Jun 19, 2023

[ b2ebce5]
- Stable 1.20 support
----------, Jun 19, 2023

[ 4b7d853]
- Update auf Minecraft Version 1.20
- Kyori MiniMessage API Update auf 4.14.0
----------, Jun 8, 2023

HOTFIX
14.6 was erroneous, if you have this version installed, it is recommended to upgrade to 14.7.

[ c9ee80d / e9ee3e6] T2CnameHistory API fix
----------, May 17, 2023

[ c428281] - T2CnameHistory API fix
----------, May 16, 2023

[ 623d6f8] - Fixed a small performance bug: If the update check interval was set to 0, it could crash the server and cause spam in the console both to the update check server of T2Code. (Bungee [ 709bd16])
[ 66dc274] new UpdateCheck option
----------, May 10, 2023

[ b3adbe6] - Improved Update Information
[ 65ff4ee] - kiori update
[ 3aee76d] - T2Csend.debug() -> T2Cdebug.debug() / add T2Cdebug.debugCode()
----------, Apr 23, 2023

Changes:
- [ 415e8dc] Small improvement of the method addItem of the class T2Ceco
- [ c4b5996] Fix if Vault was disabled before T2CodeLib was loaded
----------, Jan 25, 2023

Changes:
- T2CLibConfig was added to the API to access the T2CodeLib config.yml
- Create ReportLog was slightly rewritten to make it easier to copy the T2CodePlugins into the zip and to improve performance
- added a feedback to the command /t2c reloadconfig
- change plugin info design
----------, Jan 5, 2023

- Methods with objects have been added to T2Csend
- Methods with objects have been added to T2Creplace
- Methods with objects have been added to T2Cconfig
----------, Dec 28, 2022

added BungeePlayers List / Event for Spigot Server
----------, Dec 24, 2022

Bugfix:
- The plugin messaging channel for T2C-Commendgui was not properly registered on the proxy
- Fixed a small bug in the Update Checker where a NullPointExeption appeared in the console when the UpdateCheck server was unreachable
----------, Dec 22, 2022

add 1.19.3 Support
----------, Dec 9, 2022

Fixed a spam error that occurred when our update server is unreachable
----------, Nov 22, 2022

Bugfix in the update checker (there was an error in the console when joining the server if the update checker has not yet checked for a new update)
----------, Nov 20, 2022

Change:
  • If no new update was found from a plugin, then there is now no more console spam
  • Support for the old update checker has been removed
----------, Nov 19, 2022

Changes:
  • The update checker has been revised and now shows more information about the updates
  • MiniMessage support has been added on the Bungee
  • The command '/t2c updateinfo [plugin from t2code]' was added to get more detailed information of the last update
  • From now on a different temporary path is used to create the debug zip to avoid data garbage.
  • The design of the update messages was changed
  • It is now adjustable whether you want to be informed about pre-release versions in the UpdateCheck.
  • further changes in the update check (code based)
  • It is now separately adjustable in each plugin (Not yet in all T2Code plugins!):
    - Whether UpdateCheck On Join should be displayed.
    - Whether Pre Release Updates should be displayed
    - In which time cycle updates should be checked

Report Logs:
  • The command '/t2c debug createReportLog' now loads the debug zip directly at our server, which can be downloaded via a link and deleted via a command
  • The command '/t2c debug deleteReportLog [key]' has been added to delete a debug zip
  • Debug zip files are automatically deleted after 14 days

Please note that not all plugins from T2Code support the new update checker yet, as long as this is not the case for all plugins, the new update information will not be displayed for the plugins that are not yet supported.
----------, Nov 15, 2022

Changes:
- The update checker has been revised and now shows more information about the updates
- MiniMessage support has been added on the Bungee
- The command '/t2c updateinfo <plugin from t2code>' was added to get more detailed information of the last update

Report Logs:
- The command '/t2c debug createReportLog' now loads the debug zip directly at our server, which can be downloaded via a link and deleted via a command
- The command '/t2c debug deleteReportLog <key>' has been added to delete a debug zip
- Debug zip files are automatically deleted after 14 days
----------, Nov 14, 2022

Bug fixed:
- Fixed the known bug that T2CodeLib does not start on some Minecraft versions due to a bug with MiniMessage.

PS: I hope it's finally fixed now :)
----------, Nov 13, 2022

Bugfix:
- The plugin was not loaded correctly on a bungee
----------, Nov 4, 2022

Changes:
- T2C-OPSecurity has been added to the reportlog
- "!asCoonsole" & "!onBungee" were added to commands and are usable to execute commands as console and/or on the bungee
----------, Nov 3, 2022

The T2CodeLib has been completely cleaned up and restructured.

Please make sure that all plugins that need T2CodeLib are compatible with version 13.0.

For those plugins from T2Code that have an interface on the Bungee, the plugin files do not need to be on the Bungee anymore, the T2CodeLib is sufficient!

If you need help or have any questions, please contact us on our T2Code Support Discord Server: dc.t2code.net
----------, Nov 1, 2022

Version 12.4 was skipped as a stable version.
----------, Jul 14, 2022

BUGFIX: [ c92e361] In the 1.8 the plugin info texts were not displayed and it triggered a bug
----------, Jun 30, 2022

[ d4f3114]
- A new method has been added for Tab (tab(List<String> matches, CommandSender sender, int arg, String[] args, HashMap<String, String> permMap, Boolean onlinePlayer, String permForPlayer)).
- The class net.t2code.lib.Spigot.Lib.player. NameHistory was added
- Minor code changes
----------, Jun 18, 2022

- rename the Main to T2CodeMain
- smalll bugfix
----------, Jun 8, 2022

The API for Economy has been rebuilt.
  • Class renamed: net.t2code.lib.Spigot.Lib.vault.Vault -> net.t2code.lib.Spigot.Lib.eco.Eco
  • Methods renamed:
    - buy(String prefix, Player p, Double price) -> moneyRemove(String prefix, Player player, Double price)
    - addMoney(String prefix, Player p, Double price) -> moneyAdd(String prefix, Player player, Double price)
  • New methods:
    - itemRemove(Player player, String item, int amount)
    - itemAdd(Player player, String item, int amount)
    - votePointsRemove(String prefix, Player player, Integer amount) (for VotingPlugin)
    - votePointsAdd(String prefix, Player player, Integer amount) (for VotingPlugin)
  • VotingPlugin added to PluginCheck
----------, Jun 7, 2022

[ 066496d]
ADD: HoverModule
ADD: placeholder [nl] for next line
----------, May 31, 2022

FIX: [ d7cad55] Playerheads, Base64 Heads are now also available with 1.8 - 1.12
----------, May 17, 2022

Bugfix:
- Info Commands like '/opsecurity info' did not work with versions below 1.16
----------, May 15, 2022

  • The option 'Plugin.UpdateCheck.OnJoin' activates / deactivates the UpdateCheck on join of all T2Code plugins using the T2CodeLib from now on
  • minor code changes
----------, Apr 26, 2022

This update introduces the possibility to disable messages.
Just write '[empty]' in the message to disable it.
----------, Apr 16, 2022

Code changes and additional functions at ItemVersion
----------, Apr 7, 2022

In this update, minor things in the code were rewritten and a new method for Vault to give money to players was implemented.

A bug in the update Check on Join was fixed.
- You only got the update message if you had the permission and OP.
----------, Mar 23, 2022

Bugfix in '/t2code debug createReportLog'
----------, Feb 9, 2022

If a plugin of T2Code was unloaded for example by PlugMan, then an error came in the UpdateChecker, this was fixed.
----------, Jan 27, 2022

In CreateReportLog some small things have been changed
----------, Jan 21, 2022

Minor changes for LuckyBox
----------, Jan 20, 2022

Small bugfix
----------, Jan 18, 2022

Added more features for our bungee plugins.
----------, Jan 18, 2022

Minor code changes
----------, Jan 17, 2022

[ a50f779] Minor change for premium plugins from T2Code
----------, Jan 16, 2022

[ ac99726] PluginCheck - WonderBagShop renamed to LuckyBox
----------, Jan 13, 2022

When joining the server, it could happen that an error occurred, because the UpdateChecker had not yet checked the public version.
----------, Jan 11, 2022

Add:
  • CloseInventory
  • BConfig
  • Add permissionDescription
----------, Jan 6, 2022

This is the last update for 2021. I wish you a happy new year 2022 which hopefully will be better again.

Changes:

[ 1c962a5] code changes
[ 1ce07cc] add removeColorCode
[ 3c6bb07] commands change
- add permission for '/t2c debug createReportLog'
- add '/t2c info'
[ 07293cd] Recode /<plugin> info
----------, Dec 31, 2021

A critical bug fix

PLEASE UPDATE

The Command '/t2code debug createReportLog' caused the server to crash, this has been fixed
----------, Dec 22, 2021

Plugin version corrected. PLEASE UPDATE
----------, Dec 22, 2021

New functions:
- Sound testing
- Material versions (Head)

Changes:
- Bugfix for Replace
- Performance improvements
- Add alias for /t2code -> /t2c
- Bugfix at the command /t2code debug createreportlog
- The config and jar of T2CodeLib were not copied to the log
----------, Dec 22, 2021

Bugfixes and performance optimizations
----------, Dec 3, 2021

1.18 Support added

Add Maven for the API:
Code (YAML):
<repositories >
   <repository >
       <id>T2Code</id >
       <url>https://dojagames.net:8081/repository/T2Code/</url >
   </repository >
</repositories >

<dependencies >
   <dependency >
       <groupId>net.t2code</groupId >
       <artifactId>T2CodeLib</artifactId >
       <version>7.3</version >
   </dependency >
</dependencies>
----------, Dec 1, 2021

In this version some new functions have been added which are needed for the T2Code plugins.
----------, Nov 27, 2021

Debug was not deactivatable, this has been fixed. The API was prepared for the 1.18.
----------, Nov 23, 2021

Bugfixes:
- Vault is now properly disabled
- The MySQL settings have been removed in the default config, because they are not needed
- When a player joined the server joint directly after starting the server, there were often errors, because the update message was sent to the player, but not yet checked for updates, this has been fixed.

Innovation:
- The debug function was rebuilt to be usable in plugins of T2Code more accurate debug functions
----------, Nov 23, 2021

Added support for LuckyBox version 3.0.0
----------, Oct 6, 2021

Bugfix in the UpdateChecker.
An error occurred when using the latest version of the plugins.
----------, Sep 22, 2021

Bugfix in the UpdateChecker
----------, Sep 22, 2021

Update Checker added
----------, Sep 22, 2021

Resource Information
Author:
----------
Total Downloads: 5,725
First Release: Sep 22, 2021
Last Update: Sep 30, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings