Skip to content

Commit

Permalink
Updated README and permissions in addon.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Feb 25, 2023
1 parent d7f8021 commit 04faa7f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# TopBlock
[![Build Status](https://ci.codemc.org/buildStatus/icon?job=BentoBoxWorld/TopBlock)](https://ci.codemc.org/job/BentoBoxWorld/job/TopBlock/)

## About

Add-on for BentoBox to calculate island levels for AOneBlock specifically. Ranks are determined by how many magic blocks have been mined - the count.

## How to use

1. Place the level addon jar in the addons folder of the BentoBox plugin. Make sure you have AOneBlock installed too!
2. Restart the server
3. The addon will create a data folder and inside the folder will be a config.yml
4. Edit the config.yml how you want.
5. Restart the server if you make a change

## Permissions
Permissions are given automatically to players as listed below. If your permissions plugin strips permissions then you may have to allocate these manually. Note that if a player doesn't have the `intopten` permission, they will not be listed in the top ten.

```
permissions:
'aoneblock.intopten':
description: Player is in the top ten.
default: true
'aoneblock.island.topblock':
description: Player can use TopBlock command
default: true
```

WIP
4 changes: 2 additions & 2 deletions src/main/resources/addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ authors: tastybento
depend: AOneBlock

permissions:
'[gamemode].intopten':
'aoneblock.intopten':
description: Player is in the top ten.
default: true
'[gamemode].island.topblock':
'aoneblock.island.topblock':
description: Player can use TopBlock command
default: true

0 comments on commit 04faa7f

Please sign in to comment.