|
1 |
| -# Limits |
2 |
| -[](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 | +[](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