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:
- EE
- RedPowerCore
- RedPowerControl
- RedPowerLogic
- RedPowerMachine
- RedPowerLighting
- WirelessRedstone
- BuildCraft
- AdditionalPipes
- AdvancedMachines
- IndustrialCraft
- NuclearControl
- CompactSolars
- ChargingBench
- PowerConverters
- Mffs
- RailCraft
- TubeStuffs (Buffer, AutoCraftTableII, BlackHoleChest, Incinerator. Duplicator, Retrievulator)
- IronChests
- BalkonWeaponMod
- EnderChest (EnderChest, EnderPouch)
Either the documentation is wrong, I am stupid, or this just plain doesn't work. Not only do you have the permission nodes listed differently in every location they are posted in... there is not nearly enough info here.
Really want this plugin to work for me but this documentation is just not cutting it.
EDIT: Apparently this feature has not been implemented yet, and that is why its not working. Please ignore me being a butt head. I was getting ready to pull my hair out cause I could just not figure out why it wasn't working.
This page doesn't describe how to use the micropermissions with block limiter. Do you have an example? Thus far, I've been able to get the block limiter to work with a single item.
I dont get what this is saying. The only thing in my config is default: ""
EDIT: I get it now, where it says default: '' you put your list of banned items and the node you put in your perm plugin is what ever you named it ex. mine is tekkitrestrict.noitem.citizen (Citizen is my default rank)
@NetCreator
I have the same problem. i think i now tried a lot but still doesnt work... "126:7 5" did work but not with more items: "126:7 5;126:6 5"
EDIT: IT WORKS NOW!!! i place all items i just want to have 5 times in one name:
MicroPermissions: BlockLimiter: default: "126:7;126:6;126:5 5" test: "126:0;126:1;126:2 30"
Yo. I would like some help, I want to disable some items for some people and have others still be able to use them. I tried micropermissions but it doesn't seem to want to work. Any suggestions?
@Sypher40
You can always just user permissionsex and modify world to ban the items for certain ranks if you're having issues.
For some reason tekkitrestrict.noitem.* doesn't work?