Added EntityLimits. You can now setup entitylimitgroups via config file or via command and assign them to regions. You can decide how many and what entities can be spawned on a region. You can allow your users to expand their entity-limit for a specific amount of money.
new Commands:
/arm entitylimit create [NAME]
- creates a new entitylimitgroup.
Permission: arm.admin.entitylimit.create
/arm entitylimit delete [NAME]
- deletes an entitylimitgroup
Permission: arm.admin.entitylimit.delete
/arm entitylimit addlimit [ENTITYLIMITGROUP] [ENTITYTYPE] [SOFTLIMIT] [HARDLIMIT] [Price per extra entity]
- adds an entitylimit to an entitylimitgroup
- [ENTITYLIMITGROUP] - Replace with the name of the entitylimit group
- [ENTITYTYPE] - Replace with the entitytype (for example CHICKEN)
- [SOFTLIMIT]- The amount of entities that can be spawned by default
- [HARDLIMIT] - The maximum amount that the entitylimit can be expanded to.
- [Price per extra entity] - The price that an extra entity costs
Permisison: arm.admin.entitylimit.addlimit
/arm entitylimit removelimit [ENTITYLIMITGROUP] [ENTITYTYPE]
- removes an entitylimit from and entitylimitgroup
Permission: arm.admin.entitylimit.removelimit
/arm entitylimit setextralimit [REGION] [ENTITYTYPE] [AMOUNT]
- expands the entitylimit about an specific amount
Permission: arm.admin.entitylimit.setextra
/arm entitylimit list
- Lists als entitylimitgroups
Permission: arm.admin.entitylimit.list
/arm entitylimit check [REGION]
- Checks the entitylimit for a specific region
Permission: arm.member.entitylimit.check
/arm entitylimit info [ENTITYLIMITGROUP]
- Displays the attributes of an entitylimitgroup
Permission: arm.member.entitylimit.info
/arm entitylimit buyextra [REGION] [ENTITYTYPE]
- Buys an extra entity for a specific region
Permission: arm.member.entitylimit.buyextra
/arm setentitylimit [REGION/rk:REGIONKIND] [ENTITYLIMITGROUP]
- Assigns an entitylimit to a region
Permission: arm.admin.setentitylimit
![[IMG]](/proxy/image?url=https%3A%2F%2Fpuu.sh%2FCSXCl%2Fe8b8cd8168.png)