Configuration/Ways to describe an Item

There are multiple ways to define items:

1. You can use single id's:

- "12"
- "13:5"

2. You can use ranges*1 and *2:

- "20-30"
- "30-45:5"(*2)

3. You can use EE and IC2 item names*3 (without spaces):

- "RedMatterPickaxe"
- "Jetpack"

4. You can use preset groups (NOT caseSENSItive):

- "ee"
- "buildcraft"

5. You can also use groups you made yourself in the GroupPermissions config.

You can also set the message that is shown to a player when he does the action that should be blocked:

- "50 {We don't like torches on this server...}"
- "EE {Equivalent Exchange is too overpowered, so it is banned!}"
- "20-30 {Items 20 to 30 are banned!}"

You can add colours*4 and styling*5 to these messages:

- "EE {&0&n(Black Underlined)NO EE!}"

You can add line breaks with \n:

- "50 {We don't like torches on this server...\nSo you are not allowed to have them!}"

These are all preset Groups (NOT caseSENSItive):

  • EE
  • BuildCraft and AdditionalPipes
  • PowerConverters
  • IndustrialCraft or IC2, AdvancedMachines, ChargingBench, CompactSolars and NuclearControl
  • RedPowerCore, RedPowerControl, RedPowerLogic, RedPowerMachine and RedPowerLighting
  • WeaponMod
  • WirelessRedstone
  • MFFS
  • RailCraft
  • TubeStuff
  • IronChests and EnderChest
  • ChunkLoaders
  • EnderChest and ChunkLoaders

*1: Ranges are inclusive, 20-22 means items 20, 21 and 22.
*2: 15-17:10 means items 15:10, 16:10 and 17:10.
*3: Not all items names are included. You will be informed in the console when you add an item that is not known.
You can also use /tr warnings config to view these warnings.
*4: You can add colours with &0 to &9 and &a to &f.
*5: You can add styling with &k to &o. &r will reset all styling and colours.


Comments

Posts Quoted:
Reply
Clear All Quotes