Sueta

BuyCraft Expansion PlaceholderAPI

4.7

This expansion allows to get buycraft placeholders

·Plugin
  1. 4.7latestImproved payments load speedJan 10, 2024
    This expansion now supports max 500 requests every 300 seconds.
  2. 4.6Added support for tebex pluginJan 9, 2024
    Now this papi expansion supports both BuyCraftX plugin and Tebex plugin.
    16 downloads
  3. 4.5Improved HTTP Requests, Code Restyling, Performance Enhancements, Placeholders Bugs Fixed and moSep 19, 2023
    Fixed #3 , fixed many problems with http requests, restyled a bit the code, improved overall performance and fixed a few old placeholders bugs. Now if the request fail and get error 429, it will continue to ask other requests. Before it would stop the task. Refactored the BuycraftAPI to utilize OkHttp and Gson for more reliable API communications, making the code more efficient and easier to maintain. Also, enhanced error handling across the application for better resilience to unexpected issues. Manual data manipulation methods have been replaced with Java's Stream API methods for better performance and readability. Currently there is a limit of requests the expansion can make so if you get rate limited just wait. I already asked tebex support to improve this system.
    102 downloads
  4. 4.1Fixed problem with old Java VersionsAug 11, 2022
    Fixed problem with old Java Versions. 1.8 versions didn't work due to class version problem, so I downgraded the java version of the project to Java 8.
    326 downloads
  5. 4.0Update 4.0 brings bug fixesAug 9, 2022
    Fixed all the bugs, now the expansion will not use files anymore (you can delete the folder). Changed a few placeholders so check them. Now if you want to use vault you need to be in another thread. The expansion will now use http request to tebex to retrieve all the payments information. This new version could contain bugs. Report them here on spigot.
    35 downloads
  6. 3.2UUID bugs fixedAug 9, 2021
    Fixed UUIDs bugs when the placeholders need the name of the player. Removed old placeholders from the list. Thanks to @Crazzguyy for helping me with tests.
    369 downloads
  7. 3.1Bar & new PlaceholdersJul 25, 2021
    In this update I recoded a little the code and I added new features. Features: · Added bar %buycraftapi_bar_monthly% placeholder. You can customize it in the config. · Added %buycraftapi_top_donor_monthly_value% placeholder. It shows the total value of all payments of the player in the last 30 days. · Added %buycraftapi_top_donor_current_month_value% placeholder. It shows the total value of all payments of the player in the last 30 days. · Added %buycraftapi_top_donor_global_value% placeholder. It shows the total value of all payments of the player. The last 3 placeholders can be used with plugins such LeaderHeads. Thanks to @SirApathy by helping me with tests.
    59 downloads
  8. 3.0Fixed locale date problemsJul 7, 2021
    Fixed locale date problems
    69 downloads
  9. 2.9Task time added in the configJun 3, 2021
    With this update I added the possibility to change the task time in the config. By modify this value you can change the time after that the plugin will request again the payments from tebex. It's in minutes.
    75 downloads
  10. 2.8Total money spent from player placeholderMay 2, 2021
    With this new placeholder you can use plugins such LeaderHeads with BuyCraftAPI expansion. %buycraftAPI_value_from_name%
    76 downloads
  11. 2.7Added possibility to use players'names instead of UUIDSFeb 24, 2021
    Added possibility to use players'names instead of UUIDS You can disable UUIDS in config.yml
    127 downloads
  12. 2.6Current Month placeholders updateFeb 14, 2021
    In this update I added 4 new placeholders: · %buycraftAPI_top_donor_current_month_name_<number>% · %buycraftAPI_top_donor_current_month_price_<number>% · %buycraftAPI_vault_top_donor_current_month_name_ <number>% · %buycraftAPI_total_earnings_current_month% The difference between current month and monthly is this: Example Current Month: 1 February - 14 February Example Monthly: 14 Jenuary - 14 February I thank @ JackGamer180 for helping me with tests.
    83 downloads
  13. 2.5Recoded some methodsFeb 7, 2021
    Recoded some methods
    76 downloads
  14. 2.4Improved MethodFeb 5, 2021
    Improved Method
    41 downloads
  15. 2.3Internal methods changedFeb 3, 2021
    Internal methods changed
    42 downloads
  16. 2.2Added bstats supportJan 31, 2021
    Added bstats support
    47 downloads
  17. 2.1Fixed method problemJan 29, 2021
    Fixed methor problem. Now It's possibile to download this expansion with ecloud.
    46 downloads
  18. 2.0BuyCraftAPI 2.0 UpdateJan 28, 2021
    In this new version I added a folder called BuyCraftAPI that will be automatically generated inside PlaceholderAPI folder. This folder will contains a config.yml file and another folder called Data. The data folder will contails a file for each players that bought a package on your store. The file is called "(UUID of the players ).yml". In this file you can add manual payments and modify current payments. Every hour the expansion will try to find new payments and it will add they into the files. The config.yml instead will contains the currency used (Default is EUR, modify if you don't use euros), the global top(now considering that the expansion saves each payment from now, it now supports more than 100 payments (the "recent_.." placeholders still have max 100 payments.)) and the monthly top. New placeholders: - %buycraftAPI_total_earnings_global% - %buycraftAPI_total_earnings_monthly% - %buycraftAPI_top_donor_global_name_<number>% - %buycraftAPI_top_donor_monthly_name_<number>% - %buycraftAPI_top_donor_global_price_<number>% - %buycraftAPI_top_donor_monthly_price_<number>% - %buycraftAPI_vault_top_donor_global_name_<number>% - %buycraftAPI_vault_top_donor_monthly_name_<number>% - %buycraftAPi_top_donor_global_currency_<number>% - %buycraftAPi_top_donor_monthly_currency_<number>% If you find any bug contact me via discord alexdalfo4_#4401
    41 downloads
  19. 1.8Improved load method.Dec 10, 2020
    Now the expansion will not load if there are no payments in the webstore.
    126 downloads
  20. 1.7Bugs FixedDec 4, 2020
    Fixed bugs of payments numbers.
    67 downloads
  21. 1.6Info placeholder addedNov 7, 2020
    Added new Placeholder: · %buycraftapi_info% -> this placeholder return the total money that player spent in the last 100 total server payments
    91 downloads
  22. 1.5Digits reducedOct 16, 2020
    Digits of payments' price is now reduced from 15 digits to 2.
    101 downloads
  23. 1.4Vault Hook addedAug 14, 2020
    Added new Placeholders: · %BuycraftAPI_vault_recent_name_<num>% -> this placeholder returns the primary vault group of the player · %BuycraftAPI_vault_top_donor_name_<num>% -> this placeholder returns the primary vault group of the player · %BuycraftAPI_all% -> this placeholder prints in player's chat all top players
    164 downloads
  24. 1.3Huge lag bug fixedAug 5, 2020
    Huge lag bug fixed
    58 downloads
  25. 1.2New PlaceholdersAug 5, 2020
    Added new placeholders: · %BuycraftAPI_top_donor_name_<num>% · %BuycraftAPI_top_donor_price_<num>% · %BuycraftAPI_top_donor_currency_<num>% Remove placeholders: · %buycraftapi_top_donator_name% · %buycraftapi_top_donator_price% · %buycraftapi_top_donator_currency%
    39 downloads
  26. 1.1More placeholders UPDATEAug 3, 2020
    - Increased the maxim payments from 11 to 100. - Added new Placeholders: # %buycraftapi_top_donator_name% - It will show you the name of the top donator # %buycraftapi_top_donator_price% - It will show you the total price of the top donator # %buycraftapi_top_donator_currency% - It will show you the currency of the top donator
    42 downloads
  27. 1.0Aug 2, 2020
    40 downloads

Similar projects

Plugin →