Groups
-
- Groups -Introduction
Main Page
This page will explain you how to create container groups
Creating/Editting a group
When the plugin is loaded for the first time, a group example is provided. Let's have a look to it:
Code (YAML):test_group:
table: Example_table
cooldown: 10
displayed name: '&9Buried chest'
conditions:
level: 2
- The first line is the internal group name and the one that needs to be provided when setting a container group. It must be unique
- (Optional) The second line is the table name. Please see this and the Container Example if you don't know what it is
- (Optional)The third line is the cooldown
- (Optional) The fourth line is the custom GUI title
- (Optional) The fifth and sixth line are the conditions. Please see the condition list in the Adding Conditions section if you want to get all of them
Here is an example of a grouped container:
Code (YAML):test:
world: world
x: -45.0
y: 70.0
z: 237.0
type: chest
group: test_group
table: Another_table
The 'group: test_group' line is there to tell the plugin that this chest is linked to a group
Note that any additional container property written in the container section in the container.yml file will overwrite those of its group: container properties > group properties - Loading...
- Loading...
XenCarta PRO
© Jason Axelrod from 8WAYRUN.COM