Skip to content

wode490390/LuckyBlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lucky Block

Nukkit Build Release Release date

Customizable LuckyBlock plugin for Nukkit servers

If you found any bugs or have any suggestions, please open an issue on GitHub Issues.

If you like this plugin, please star it on GitHub.

Configuration

config.yml
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

Compiling

  1. Install Maven.
  2. Run mvn clean package. The compiled JAR can be found in the target/ directory.

Metrics Collection

This plugin uses bStats. You can opt out using the global bStats config; see the official website for more details.

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