Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wode490390/luckyblock

Lucky block plugin for Nukkit
https://github.com/wode490390/luckyblock

fun lottery luck lucky minecraft nukkit plugin

Last synced: about 1 month ago
JSON representation

Lucky block plugin for Nukkit

Awesome Lists containing this project

README

        

# Lucky Block
[![Nukkit](https://img.shields.io/badge/Nukkit-1.0-green)](https://github.com/NukkitX/Nukkit)
[![Build](https://img.shields.io/circleci/build/github/wode490390/LuckyBlock/master)](https://circleci.com/gh/wode490390/LuckyBlock/tree/master)
[![Release](https://img.shields.io/github/v/release/wode490390/LuckyBlock)](https://github.com/wode490390/LuckyBlock/releases)
[![Release date](https://img.shields.io/github/release-date/wode490390/LuckyBlock)](https://github.com/wode490390/LuckyBlock/releases)

Customizable LuckyBlock plugin for Nukkit servers

![](https://i.loli.net/2019/05/24/5ce745b82a0a470870.gif)

If you found any bugs or have any suggestions, please open an issue on [GitHub Issues](https://github.com/wode490390/LuckyBlock/issues).

If you like this plugin, please star it on [GitHub](https://github.com/wode490390/LuckyBlock).

## Configuration

config.yml

```yaml
send-msg: true
msg: "&6You are so lucky!"

send-animation: true
animation-id: 3

blocks:
# block namespaced ID or number ID
# see https://minecraft.gamepedia.com/Bedrock_Edition_data_values#Block_IDs
emerald_ore: # namespaced ID
-
# command (@p = player's name)
cmd: "give @p 382 2"
# probability (0-1)
pr: 0.0005
-
cmd: "give @p 450 1"
pr: 0.0002
"95": # number ID
- cmd: "say example :)"
pr: 0.00000001
```

## Permissions
| Permission | Description | Default |
| - | - | - |
| luckyblock.trigger | Allows a player to trigger the lucky block | true |

## Download
- [Releases](https://github.com/wode490390/LuckyBlock/releases)
- [Snapshots](https://circleci.com/gh/wode490390/LuckyBlock)

## Compiling
1. Install [Maven](https://maven.apache.org/).
2. Run `mvn clean package`. The compiled JAR can be found in the `target/` directory.

## Metrics Collection

This plugin uses [bStats](https://github.com/wode490390/bStats-Nukkit). You can opt out using the global bStats config; see the [official website](https://bstats.org/getting-started) for more details.

###### If I have any grammar and/or term errors, please correct them :)