✨Lucky Box Premium ✨ [1.8.x - 1.21] icon

✨Lucky Box Premium ✨ [1.8.x - 1.21] -----

Wonder Bags, Loot Box, Random items, Random generator with percentage probabilit, Shop, customizable




- T2CodeLib 16.2 is required!
- T2CodeLib API / 1.20.2 Update
----------, Dec 7, 2023

- API update to Minecraft version 1.20
- T2CodeLib API update to 15.0 (this version is required from now on)
- A debug message was removed
----------, Jun 8, 2023

Critical bugfix: If you used the Experimental NPC Fix function and the RandomCalculator at UseItems, you got items of the RandomCalculator into the inventory and you could additionally take the items out of the GUI and thus had 2 LuckyBoxes
----------, Feb 12, 2023

If a UseItem was a Placeable Block (affects heads too) then it was Placed, if you owned multiple UseItems in a slot then multiple were removed from inventory when using the RandomCalculator.
These bugs were fixed
----------, Feb 3, 2023

- When in SettingsGUI to add an item to a LuckyBox, you could not properly use slot 6 in the player inventory, as this confirmed the operation
- You could pull out all background items of the gui if you had the background item in the inventory, this dupe bug was fixed
----------, Jan 25, 2023

In this version, a bug was fixed that occurred on older Minecraft servers, where some GUIs did not work.

A big thanks goes to ComboMC_ for the bug report.
----------, Dec 28, 2022

In this test version, a bug was fixed that occurred on older Minecraft servers, where some GUIs did not work.
This trial version is only available via Discord if you have verified your account, how this works is described on discord.

License:
The license of this beta version is unlocked until the next stable release.

Verify your Discord account: https://discord.gg/RTeXZPu9Zx
Download: https://discord.gg/YB9875aFqx

A big thanks goes to ComboMC_ for the bug report.
----------, Dec 26, 2022

I thank all buyers and wish Merry Christmas and Happy New Year

Bugfix:

  • If you clicked on an NPC (Citizens, CloudnetNPC etc.) with a LuckyBox (Type: UseItem) and changed or left the server, the LuckyBox was removed from you and you lost it.
    To work around this bug, 2 experimental functions were added to config.yml:
  1. Delay to remove the item
  2. Item only when closing the LuckyBox GUI (most reliable method)
    Code (Text):
    Advanced:
      UseItem:
        EXPERIMENTAL:
          npcFix:
            removeUseItemByInventoryClose: false
            useItemOpenDelayInTicks: 0
----------, Dec 25, 2022

Christmas offer until 1.1.2023: Sale 0.99€

Bug fixes:
- If 2 or more LuckyBoxes contained the same display name, then the content was multiplied, if the inventory of a UseItem Luckybox was closed.

Changes:
- Items are no longer dropped when closing the inventory on UseItem LuckyBoxes if there are free slots available in the player's inventory.
----------, Dec 20, 2022

HOTFIX
Bugfix:
- For the UseItem the Base64 values were not used correctly
----------, Nov 16, 2022

Bugfix:
- For the UseItem the Base64 values were not used correctly
----------, Nov 16, 2022

Bugfix:
- (4.3.13) The Settings GUI was not loaded correctly after changing the language via the GUI.
- The plugin was not loaded if you entered a LuckyBox in the store.yml that does not exist.
----------, Nov 16, 2022

The Settings GUI was not loaded correctly after changing the language via the GUI.
----------, Nov 16, 2022

Update to T2CodeLib 13.4 and remove debug Messages

Please note the changes of T2CodeLib 13.4
----------, Nov 15, 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

Bugfix:

- When a LuckyBox (Chest) was built and in the config it says that the box should not drop, that worked as long as the server was not restarted, this has now been fixed and it will not drop even after restart.
----------, Nov 1, 2022

Bug fixes:
- Fixed a bug that prevented the plugin from being used on 1.8.
- In the previous version was an error in the license query. I ask everyone to update to this version, because version 4.3.9 will be disabled on all servers!
----------, Oct 5, 2022

Fixed a bug where, with the 1.19.* the default config was not created correctly.
----------, Jul 28, 2022

In this update, a new feature has been added to the LuckyBoxes that allows you to place enchantments on the UseItem to make it glow. This feature is still in testing phase. If you notice something, please create an issue or report it to me via Discord.
----------, Jun 28, 2022

When adding items to a LuckyBox with the command (/lb debug additems <luckybox> <possibility>) and opening the GUI again, the items were still in the GUI. Thus an item dupe bug was present, this was repaired.
----------, Jun 19, 2022

- Item probabilities in the default luckyboxes revised & 1.19 blocks added
- Default configuration was revised
- minor code changes
----------, Jun 19, 2022

All T2Code plugins are 1.19 compatible.

The first tests find to end!
We have tested all our plugins with Spigot 1.19 and found no errors.
If you still encounter errors / bugs, please report them to us via Discord.
----------, Jun 8, 2022


Added the option for hover & clickable messages for players.

To use this new feature you only have to update T2CodeLib!
T2CodeLib 11.9 is required.

You can add a hover and/or clickable feature to all messages sent to players.

Use /*/ to separate the message.
Use [nl] to set a line break in a message or hover.

Hover message: <message >/*/<hover>
Message with hover and click function: <message >/*/<hover>/*/<action>/*/<actionValue>
Message only with click function: <message >/*//*/<action>/*/<actionValue>

- OPEN_URL - Opens a URL under the path specified in ActionValue.
- OPEN_FILE - Opens a file under the path specified by ActionValue.
- RUN_COMMAND - Runs the command specified by ActionValue.
- SUGGEST_COMMAND - Inserts the string specified in ActionValue into the player text box.
- CHANGE_PAGE - Changes to the page number in a book specified by ActionValue.
- COPY_TO_CLIPBOARD - Copies the string specified by ActionValue to the player's clipboard.
----------, May 31, 2022

Innovations:
- Option to execute command when a LuckyBox is opened
(in the Luckybox file) For existing LuckyBox files, it must be added manually!
Use -ac in the command, so that it is executed by the Config
Code (YAML):
Command:
  Enable
: true
  Commands
:
 - say hi -ac
- Blacklist for blocks where the UseItem is not opened when looking at these blocks of the blackist. (config.yml 'Advanced.UseItem.BlockedBlockList')
- The prefix is now customizable (config.yml 'Plugin.Prefix')
----------, Apr 16, 2022

- Easter sale, now only for 0,99€

- The command '/lb debug itemtofile <number>' has been added to save an ItemStack to a file, this can be useful to edit the LuckyBox configs manually
- The performance has been improved
- minor code changes
----------, Apr 7, 2022

Item Loren Changes.

Changes:
  • The item for the UseItem, can now also contain lores, these are no longer removed.
  • Items contained in the LuckyBox can now also contain the following placeholders:
    - [player] - This displays the player name that received the item.
    - [playerDisplay] - This shows the display name of the player who received the item.
    - [date] - This shows the date when the item was received.
    - [time] - This shows the time when the item was received.
----------, Mar 24, 2022

It was not possible to edit items from LuckyBoxes in the SettingsGUI, this has been fixed.
----------, Mar 23, 2022

In this update some things have been fixed and also small new features have been implemented.

Bug fixes:
  • If you opened multiple LuckyBoxes (UseItem) too fast in a row, an error occurred and you couldn't open any more until you logged in again.
  • If you changed the language files and reloaded the plugin with '/lb reload', the changes were reset.
  • The chat entries in the settings GUI did not work.
  • Minor bugs were fixed.

New features:
  • When assigning a LuckyBox via the console, it was always shown that you got a LuckyBox from 'CONSOLE'. This name can now be changed in the language file under 'Messages.Plugin.ConsolePlaceholder'.
  • A new argument has been added to the command 'lb settings':
    - lb settings config
    - lb settings store
    - lb settings luckybox
----------, Mar 23, 2022

Bugfix:
- When our license server is not reachable an error occurred, this has been fixed
----------, Jan 21, 2022

- API extended (4.2.7)
- T2CodeLib updated to 10.8
- Option Plugin.UpdateCheckOnJoin removed, because the option is in the T2CodeLib
- Minor code changes
----------, Jan 20, 2022

Removed forgotten debug message
----------, Jan 16, 2022

25% sale until 31.01.2022

Required T2CodeLib version: 10.4

- Premium license query was added
- Prefix was slightly changed
- minor code changes
----------, Jan 16, 2022

Add new Bypass Permissions:
- luckybox.bypass.protection.gamemode
- luckybox.bypass.protection.world
----------, Jan 14, 2022

In this update minor things in the code were changed, the give command was revised and the default files (all LuckyBoxes and shop) were revised.

Required T2CodeLib version: 10.3

Changes:
- With the command '/luckybox give' all LuckyBoxes are now displayed and not only those that are displayed in the store.
- add /luckybox give <player> <amount>
- Update default LuckyBox / Shop file
----------, Jan 13, 2022

Change:
The Protection GameMode List is now case-insensitive.
----------, Jan 4, 2022

New:
- Added a World and GameMode blacklist / whitelist for the UseItem and Chest.
Code (YAML):
Protection:
  UseItem
:
    GameMode
:
      Enable
: false
      Mode
: blacklist
      List
:
     - CREATIVE
    World
:
      Enable
: false
      Mode
: blacklist
      BlackList
:
     - world1
  Chest
:
    GameMode
:
      Enable
: false
      Mode
: blacklist
      List
:
     - CREATIVE
    World
:
      Enable
: false
      Mode
: blacklist
      BlackList
:
     - world1
----------, Jan 3, 2022

Version 4.2.0-Snapshot_1 is now available on our Discord server for all verified buyers!
----------, Jan 1, 2022

Resource Information
Author:
----------
Total Downloads: 50
First Release: Dec 23, 2021
Last Update: Dec 7, 2023
Category: ---------------
All-Time Rating:
5 ratings
Find more info at git.t2code.net...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings