Skip to content

Commit 0e759fe

Browse files
authored
Merge pull request #235 from BentoBoxWorld/develop
New Version
2 parents f3c9b4c + a51c4ab commit 0e759fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+7931
-7904
lines changed

LICENSE

Lines changed: 277 additions & 277 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,83 @@
1-
# Limits
2-
[![Build Status](https://ci.codemc.org/buildStatus/icon?job=BentoBoxWorld/Limits)](https://ci.codemc.org/job/BentoBoxWorld/job/Limits/)
3-
4-
Add-on for BentoBox to limit island blocks and entities in GameModes like BSkyBlock and AcidIsland. This add-on will work
5-
in any game mode world.
6-
7-
## How to use
8-
9-
1. Place the Limits addon jar in the addons folder of the BentoBox plugin
10-
2. Restart the server
11-
3. The addon will create a data folder and inside the folder will be a config.yml
12-
4. Edit the config.yml how you want.
13-
5. Restart the server if you make a change
14-
15-
## Commands
16-
There is a user command and an admin command called "limits". Admins can check the limits of a specific island owner. Both show a GUI panel with the limits and the current count.
17-
18-
## Setup - Config.yml
19-
20-
The config.yml has the following sections:
21-
22-
* blocklimits
23-
* worlds
24-
* entitylimits
25-
26-
### blocklimits
27-
28-
This section lists the maximum number of blocks allowed for each block material. Do not use non-block materials because they will not work. The limits apply to all game worlds.
29-
30-
### worlds
31-
32-
This section lists block limits for specific worlds. You must name the world specifically, e.g. AcidIsland_world and then list the materials and the limit.
33-
34-
### entitylimits
35-
36-
Coming soon!
37-
38-
## Permissions
39-
40-
Island owners can have exclusive permissions that override the default or world settings. The format is:
41-
42-
Format is `GAME-MODE-NAME.island.limit.MATERIAL.LIMIT`
43-
44-
example: `bskyblock.island.limit.hopper.10`
45-
46-
Permissions activate when the player logs in.
47-
48-
Usage permissions are (put the gamemode name, e.g. acidisland at the front):
49-
50-
```
51-
GAMEMODE_NAME.limits.player.limits:
52-
description: Player can use limits command
53-
default: true
54-
GAMEMODE_NAME.limits.admin.limits:
55-
description: Player can use admin limits command
56-
default: op
57-
```
58-
59-
## Items that cannot be limited
60-
Some items cannot be limited (right now). The reasons are usually because there are too many ways to remove the item without it being tracked. If you are a programmer and can work out how to fix these, then please submit a PR!
61-
62-
* Primed TNT
63-
* Evoker Fangs
64-
* Llama Spit
65-
* Dragon Fireball
66-
* Area Effect Cloud
67-
* Ender signal
68-
* Small fireball
69-
* Fireball
70-
* Thrown Exp Bottle
71-
* Shulker Bullet
72-
* Wither Skull
73-
* Tridents
74-
* Arrows
75-
* Spectral Arrows
76-
* Snowballs
77-
* Eggs
78-
* Leashes
79-
* Ender crystals
80-
* Ender pearls
81-
* Ender dragon
82-
* Item frames
83-
* Paintings
1+
# Limits
2+
[![Build Status](https://ci.codemc.org/buildStatus/icon?job=BentoBoxWorld/Limits)](https://ci.codemc.org/job/BentoBoxWorld/job/Limits/)
3+
4+
Add-on for BentoBox to limit island blocks and entities in GameModes like BSkyBlock and AcidIsland. This add-on will work
5+
in any game mode world.
6+
7+
## How to use
8+
9+
1. Place the Limits addon jar in the addons folder of the BentoBox plugin
10+
2. Restart the server
11+
3. The addon will create a data folder and inside the folder will be a config.yml
12+
4. Edit the config.yml how you want.
13+
5. Restart the server if you make a change
14+
15+
## Commands
16+
There is a user command and an admin command called "limits". Admins can check the limits of a specific island owner. Both show a GUI panel with the limits and the current count.
17+
18+
## Setup - Config.yml
19+
20+
The config.yml has the following sections:
21+
22+
* blocklimits
23+
* worlds
24+
* entitylimits
25+
26+
### blocklimits
27+
28+
This section lists the maximum number of blocks allowed for each block material. Do not use non-block materials because they will not work. The limits apply to all game worlds.
29+
30+
### worlds
31+
32+
This section lists block limits for specific worlds. You must name the world specifically, e.g. AcidIsland_world and then list the materials and the limit.
33+
34+
### entitylimits
35+
36+
Coming soon!
37+
38+
## Permissions
39+
40+
Island owners can have exclusive permissions that override the default or world settings. The format is:
41+
42+
Format is `GAME-MODE-NAME.island.limit.MATERIAL.LIMIT`
43+
44+
example: `bskyblock.island.limit.hopper.10`
45+
46+
Permissions activate when the player logs in.
47+
48+
Usage permissions are (put the gamemode name, e.g. acidisland at the front):
49+
50+
```
51+
GAMEMODE_NAME.limits.player.limits:
52+
description: Player can use limits command
53+
default: true
54+
GAMEMODE_NAME.limits.admin.limits:
55+
description: Player can use admin limits command
56+
default: op
57+
```
58+
59+
## Items that cannot be limited
60+
Some items cannot be limited (right now). The reasons are usually because there are too many ways to remove the item without it being tracked. If you are a programmer and can work out how to fix these, then please submit a PR!
61+
62+
* Primed TNT
63+
* Evoker Fangs
64+
* Llama Spit
65+
* Dragon Fireball
66+
* Area Effect Cloud
67+
* Ender signal
68+
* Small fireball
69+
* Fireball
70+
* Thrown Exp Bottle
71+
* Shulker Bullet
72+
* Wither Skull
73+
* Tridents
74+
* Arrows
75+
* Spectral Arrows
76+
* Snowballs
77+
* Eggs
78+
* Leashes
79+
* Ender crystals
80+
* Ender pearls
81+
* Ender dragon
82+
* Item frames
83+
* Paintings

0 commit comments

Comments
 (0)