Configuration/Group Permissions

Group permissions are a simple way of pre-loading your player's banned items and stuff into a high-speed list. This list can then be called by using a permission.

  • Type all of your "banned items" for that group (or player) into a list in the config
  • This list can then be used as a "name" in the permissions node system and can be negated whenever you want it to.

A thing that can contain data is called a list. In this case, we wall just call it "NameXXX". (heh) NameXXX will contain a line of text sorrounded by quotes and can be used to list out items or a range of items, or just a simple item with a data value.

For example:

# GroupPermissions.config.yml
GroupPermissions:
     Cake: "92"
     CakeAndMore: "92;199;299:22"  # List containing cake, x199 and (x299 data 22).
     GiantRange: "92-400"  # Range of items from 92 all the way to 400.
     ComboName: "92;93-95;299:22"  # IDs: 92, 93 to 95, ID299 data-22

You can then use this directly in a permission node like so:

# Noitem permission node
#    tekkitrestrict.noitem.name
# LimitedCreative permission node
#    tekkitrestrict.creative.name

You can of course also negate this node:

# NoItem
#    -tekkitrestrict.noitem.name
# LimitedCreative
#    -tekkitrestrict.creative.name

Note on negating Permission Groups: If you have a group like: Cake: "92" and item 92 is globally banned (banned in the DisabledItems.config.yml), the global settings will override.
Single permissions will also override group permissions.

Basically, the use of this node-based system will help speed up your server in terms of banning/limiting items from players and helping keep the number of lines in the permissions file small.

Reference

Permission nodes:

  • tekkitrestrict.noitem.[listname] (Disable Items "tekkitrestrict.noitem.ee")
  • tekkitrestrict.creative.[listname] (Limited Creative)

Simple permission nodes:

  • tekkitrestrict.noitem.[id].[data] (Disable Items)
  • tekkitrestrict.limiter.[id].[data].[limit] (Block Limiter)
  • tekkitrestrict.creative.[id].[data] (Limited Creative)

How to reference an item in TekkitRestrict:

  • "10" (Simple ID)
  • "10:0" (ID with the only block that corresponds to data type "0")
  • "10-20" (Range of IDs that can be any number in between 10 and 20)

pre-defined groups:

  1. EE
  2. RedPowerCore
  3. RedPowerControl
  4. RedPowerLogic
  5. RedPowerMachine
  6. RedPowerLighting
  7. WirelessRedstone
  8. BuildCraft
  9. AdditionalPipes
  10. AdvancedMachines
  11. IndustrialCraft
  12. NuclearControl
  13. CompactSolars
  14. ChargingBench
  15. PowerConverters
  16. Mffs
  17. RailCraft
  18. TubeStuffs (Buffer, AutoCraftTableII, BlackHoleChest, Incinerator. Duplicator, Retrievulator)
  19. IronChests
  20. BalkonWeaponMod
  21. EnderChest (EnderChest, EnderPouch)

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes