Advanced Lucky Block
Before installing, make sure that you've read all of the instructions down below and that your server version matches that of the plugin.
This plugin simply adds lucky blocks to your server. If you're not familiar with the actual lucky block mod, you may need to watch it on Youtube since it's very popular. Lucky blocks are blocks that, by default, act like sponges and spawn random drops when they are broken. Depending on the luck the block possess, it's more probable that you receive good or bad stuff. Numerous different drops can be anything from lucky armor, potions, lucky swords, chests, monsters, traps, etc.
This plugin is highly customizable which means that you can control which drops may spawn and when. Reading through files that the plugin generates on installations will give you a good idea of how the plugin works.
• How to get the block
You may notice that regular sponges won't do anything as you would expect. You can either get the block through crafting by surrounding a dropper with 8 gold ingots, which is the same recipe as in the original mod; or by simply using /lb give command which takes additional arguments allowing you to specify things like luck value.
Currently, you can have up to 1048 lucky blocks placed at the same time. Placing more will just delete the newly placed block. The reason behind this limitation is that the loading mechanism takes a considerable amount of time if you have too many lucky blocks placed which definitely causes the server to lag on reload. This is however probably going to be changed in a later version when a more effective way of loading is implemented. Suggestions about how this can be achieved are appreciated.
• Important to mention
If you're running an outdated Minecraft server, you can look up for older versions of the plugin and find the one that supports your server. Notice that different versions of the plugin may work on the same server but I'm not responsible for any eventual errors and bugs so it's always recommended to use the right version to avoid unexpected bugs and glitches.
• Features
- Highly customizable.
- Craftable.
- Option to make lucky blocks spawn naturally in the world.
- You can create and add your custom lucky blocks (a tutorial about this might be implemented later).
- All data is stored inside files, so loading the server won't cause any data loss.
- Play sounds, spawn particles when lucky blocks are placed/destroyed.
- Lucky blocks with better luck yield better drops and vice versa.
- You can add as many drops as you wish (until your server runs out of memory).
- Silk touch enchantment support.
- When the block is broken with a tool that has fortune enchantment, a dropped luck block with higher luck will spawn (consumes too much durability of the held item).
- Can be placed by dispensers.
- Can be pushed by pistons.
- Slime blocks next to pistons can push lucky blocks in the air (WIP).
- Developers can add custom drops to the plugin.
- Much more!
• Setup
- Download and install WorldEdit (recommended).
- Download Advanced Lucky Block plugin.
- Put the downloaded file in plugins folder.
- Enjoy!
• Commands
• Permissions
• Lucky Crafting Table:
Used to add or subtract luck from lucky blocks. The traditional method was to surround the lucky block with minerals and valuable items in the crafting table, but this method was replaced with another one involving an own crafting window.
Crafting recipe:
Gui:
Addons
- You can make your own lucky blocks by editing files inside Types folder.
Examples:
- Share your custom ones.
Donation
If you want to support this project and help updating it you can donate by simply clicking the below button:
• Servers
MCFeelBoy.minecraft360.de
- You can leave your server IP in the comments if you are using this plugin on your server and I'll add it to this list.
• Enchantments
- Lightning Enchantment: Strikes a lightning bolt when right-click.
• Files
• Editing drops
- Drops are stored in drops folder.
• Custom Drops
- Developers can make and add custom drops to lucky blocks.
- tutorial Here
• Todo
- Suggest ideas!
• Screenshots
- Share your screenshots.
- Credits to https://serverminer.com/
Spigot 1.12.2 latest
LB 2.2.3
LB has worked error-free for a long time, so I haven't looked at it for a while. But I have a new crop of players (I cycle through new players every school year), and they mentioned a few things, so I did an evaluation. Drops seem to have changed significantly since I last looked at them.
So... Which Drops/ configuration files are active? Some of them list entities, but I did not see those entities (except the list above) in my test. I did see a lot of enchanted tools/weapons, and certain structures. The directives in config.yml do not seem to activate or deactivate any of the Drops/ files. Many of the files contain apparently duplicate information, but it's difficult to trace it without more documentation.
For example "Derpy Snowman" appears in
plugins/LuckyBlock/Drops/default/entities/four.yml
How are those file related, and how do they collectively determine the chances of the entity dropping?
How should I change the probability of, say, an enchanted sword?
plugins/LuckyBlock/Drops/default/items/special.yml
Thanks for a great plugin, and I look forward to changing my configuration to suit my players.
In reply to SlimeDog:
In reply to MCGamer199:
My last comment means that I would like to work with LB. But I have to understand and change the probabilities. The current drops that I provide are not interesting enough for my players. The drops used to be a lot more varied, with the same default configuration. But perhaps that is a configuration issue or usage issue. In order for me to be creative with the drops, I need to understand exactly what the various files do, and how they are interrelated.
So first, let me try to explain the probabilities as I understand your comments, to see if I got the idea. Drops/default/lb_0.yml has
which I think means that the entire content of that file has a 12.5% probability of being selected: 0:24 / ( 0:100 + abs(-1:-100) ). Then within Drops/default/lb_0.yml, the sum of all Chances = 200. So the probability of, say,
being dropped is 12.5% * 1/200 = 0.0625%. Is that correct? And the probability of the most likely item in Drops/default/lb_0.yml
being dropped is 12.5% * 20/200 = 1.25%. Is that correct?
Then, more questions:
1. Where does the luck factor in the command
come into play? Does it mean that selections will be made only from
plugins/LuckyBlock/Drops/default/lb_85.yml (Luck: 85:100), since 99 is within that range? I suspect that is the case, since the drops I am seeing, including Derpy Snowman and Wither Skeleton, are defined in that file, and other entities, which I am not seeing, are defined in other files. Does it mean I have to provide the players with a set of luckyblocks with random luck values (this did not used to be the case, but perhaps it is now)? The values is displayed as 99% in the luckyblock item lore, so does it have meaning as a percentage? Or does it mean something else?
2. Am I able to configure the drops I want by removing unwanted elements from the plugins/LuckyBlock/Drops/default/lb_*.yml files? Do the remaining elements have to be numbered sequentially (as they are now)
or is that simply a convenient naming convention?
3. Some items in the plugins/LuckyBlock/Drops/default/lb_*.yml files use Path and others use Path1, often in the same file (such as plugins/LuckyBlock/Drops/default/items/common.yml). Occasionally, both are used. What is the difference between Path and Path1 in this usage?
4. It looks like # comments are allowed within the various configuration files (ie., not just at the top). That is a good thing, but please confirm that is your intent.
In reply to SlimeDog:
In reply to MCGamer199:
I understand the probabilities internal to each lb_*.yml file. It still is not clear what the luck percentage represents. Does it determine which file the drop is selected from?
Please trace the complete path for a LB with luck=99%. From which lb_%.yml is the drop selected? How is that determined? Is the drop selected only from lb_85.yml, or possibly from other files?
Then trace the complete path for a LB with luck=-100% (ie, negative luck). Same questions.
In reply to SlimeDog:
In reply to MCGamer199:
So this is a pretty serious problem. A player can look at a luckyblock in hand, and if it has negative luck, not use it. That takes away a huge amount of LuckyBlock suspense -- the player can easily just take positive luck, and drop negative luckyblocks back on the ground from someone else. It also means that the server must give a player multiple luckyblocks in order to grant them different luck factors.
The only reasonable solution, short of reprogramming the selection logic and removing the lore (which you should do), is to redistribute the positive and negative outcomes among the various lb_*.yml files, or merge everything into one file (which is what I will do for now).
Issue created.
In reply to SlimeDog:
In reply to MCGamer199:
Yes, not stacking is just one of the issues with different luck factors. The more important issue is that 0% is a luck factor; it's not random. If the lore is "random" (reflecting that the luck factor is random) that is fine.
Spigot 1.12.2 latest
LB 2.2.3
I haven't seen any C4 recently, and I don't find any in the drops files. Is C4 still a dropped item?
In reply to SlimeDog:
In reply to MCGamer199:
Spigot 1.12.2 latest
LB 2.2.3
LB structures replace bedrock. This is not desirable. Is there a configuration option to suppress this? If not, can there be?
Issue created.
In reply to SlimeDog:
In reply to MCGamer199:
Note: You cannot change your particle affects or else luckyblocks wont work!
In reply to tehfishy_dish:
Can you please fix the issue with use-default-block set to true? I really need that, and everytime i set that to true it doesnt work... Please, help!!
In reply to Forge_User_54865192:
In reply to MCGamer199: