-
Notifications
You must be signed in to change notification settings - Fork 16
Groups
One of Novaguilds' features is that you can set up your own groups and give players permissions to them.
So default one looks like this:
default:
effectprice: 100
guild:
home:
tpdelay: 5
money: 0
items: []
join:
money: 0
items: []
create:
money: 0
items:
- dirt 1
schematic: ""
buylife:
money: 10
items:
- GOLD_BLOCK 1
buyslot:
money: 10
items:
- GOLD_BLOCK 1
Now I'm gonna tell you about what does what.
tpdelay
- Time in seconds player has to wait before a teleport (basic stuff)
effectprice
- Price of /g effect. That takes money from guild's bank (price applies only for leader because he's the one who can buy the effect)
money
- Amount of money a guild gets when it's created
autoregionsize
- radius of square region that is being created with the guild (lel, the radius of a square, but it's minecraft). It's X blocks in each direction from the player. Value 5 means 10x10 region. Set 0 to disable
create
- money you need to create a region. This adds to the price of all counted blocks (look below)
ppb
- PricePerBlock. Surface of the region (2D) times ppb
Just a list of all items required to create a guild. Remember not to use tabs!
Every list items starts with -
. Empty list is list: []
- ITEM AMOUNT
- DIRT 1 (1 dirt)
- WOOL:14 1 (1 red wool)
- 1 1 (1 stone)
Set the name of a schematic (create.schematic:
) to paste it where the player stands when creating a guild.
Those are fully compatible with WorldEdit, so you can just use //schem save schematic <name>
Schematic location is: plugins/NovaGuilds/schematic
All you have to do is copy one group, paste it and change it's name. For example copy group default, rename 'default' to 'supervip'. Then change the values.
Permission node for custom group is: novaguilds.group.NAME
, where NAME
is whatever you want it to be. You don't have to give players permission to use default group, its default, lol.
To disable all prices, tpdelay, items give the player permission: novaguilds.group.admin
Configurable nodes are also listed in default config.