ItemRules

I currently have a small server running a complete demonstration of ItemRules integrating with Factions, McMMO and Vault. I also have a couple of support mods I whipped up for the demo which set the players spawn point and restore the demo zone on restart ( the demo server restarts and thus resets every 4 hours).

address:

46.20.119.44:27865

Mods and versions used:

  • Bukkit - 1.4.7 r.01
  • ItemRules - 1.0.0
  • McMMO - 1.3.14
  • Factions - 1.6.9.4
  • Vault - 1.2.22-b277
  • Worldedit 1352-87daba2 (for snapshot restore every 4 hours)

ItemRules Demo Configuration

aliases:
    woodenEquipment: [268, 269, 270, 271, 290]
    ironEquipment: [256, 257, 258, 267, 292]
    stoneEquipment: [272, 273, 274, 275, 291]
    goldEquipment: [283, 284, 285, 286, 294]
    diamondEquipment: [276, 277, 278, 279, 293]
    miscWeapons: [261, 262]
    noBreak: [1, 2, 3, 5, 20, '17.3', 71, 389, 63, 77, 50, 72, 70]
rules:
    ExplicitlyRestrict:
        description: 'use  stone, jungle wood, glass or dirt'
        messages:
            restricted: 'You cannot %s %s'
        actions: [BREAK]
        xp:
            min: 99
        items:
            restrict: ['noBreak']
    Ted:
        description: 'use stone pressure plates (requires Faction "Ted")'
        messages:
            restricted: 'You must be in faction Ted to %s %s (type /f join Ted  - case sensitive)'
        factions:
            exclude: ['Ted']
        actions: [USE, BREAK]
        items:
            restrict: [70]
    Bob:
        description: 'use wooden pressure plates (requires Faction "Bob" - case sensitive)'
        messages:
            restricted: 'You must be in faction Bob to %s %s. (type /f join Bob)'
        factions:
            exclude: ['Bob']
        actions: [USE, PLACE]
        items:
            restrict: [72, 361, 290, 60, 104]
    WoodCutting:
        description: 'use iron axes (requires "Woodcutting" level 1)'
        messages:
            restricted: 'You must have Woodcutting level 1 to %s %s'
        factions:
            appliesTo: [Bob]
        mcmmo:
            skills:
                woodcutting: 1
        actions: [USE, PLACE, BREAK]
        items:
            restrict: ['17.2', 258]
    Herbalism:
        description: 'use iron hoes and melon seeds (requires "Herbalism" level 1)'
        actions: [USE, PLACE]
        messages:
            restricted: 'You must have herbalism level 1 to %s %s'
        mcmmo:
            skills:
                herbalism: 1
        items:
            restrict:
                [292, 362] 
manualRules:
    sticksOnly:
        mode: denyPrevious
        actions: [USE, CRAFT]
        items:
            allow: [280]
            restrict: [woodenEquipment, ironEquipment, stoneEquipment, goldEquipment, diamondEquipment]
areaRules:
    StickZone:
        description: 'use sticks to pummel people'
        world: pickleMasher
        ne: [253, 65, 293]
        sw: [259, 63, 314]
        messages:
            onEntrance: 'You are now entering the Stick only PvP Zone'
            onExit: 'You are now leaving the Stick Only PvP Zone'
        entrance: [sticksOnly]
        exit: [sticksOnly]

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Jan 27, 2013
Last updated
Jan 27, 2013

Author