Skip to content
triarry edited this page Apr 10, 2015 · 40 revisions

iRestore; Permissions, Configuration, and Commands

A Minecraft/Bukkit plugin made by triarry

triarry's GitHub

Permissions:

For full plugin access and safety from all events, give your players access to irestore.keep.*, irestore.money.steal, irestore.events.*, and irestore.participate

Last updated for iRestore v1.6.0

Main Permissions:

  • irestore.participate: Required for players to actively participate in features of the plugin.
  • irestore.update: Tells the player if an update is available.
  • irestore.keep.*: Allows players to gain full access to the mod and keep their xp and inventory on death
  • irestore.keep.xp: Allows a player to only keep their XP
  • irestore.keep.inventory: Allows a player to only keep their inventory.
  • irestore.money.steal: Allows a player to steal another players money
  • irestore.money.exempt: Overrides another player's ability to steal your money

Events:

  • irestore.events.other.all: Allows a player's inventory to be saved after being killed by any of the following:
  • irestore.events.other.anvil
  • irestore.events.other.cactus
  • irestore.events.other.drowning
  • irestore.events.other.enderpearl
  • irestore.events.other.falling
  • irestore.events.other.fire
  • irestore.events.other.lava
  • irestore.events.other.lightning
  • irestore.events.other.magic: Allows a player's inventory to be saved after being killed by "magic" (potion effects)
  • irestore.events.other.starvation
  • irestore.events.other.suffocation
  • irestore.events.other.suicide
  • irestore.events.other.tnt: Allows a player's inventory to be saved after being killed by TNT (non-player related)
  • irestore.events.other.void

  • irestore.events.mobs.all: Allows a player's inventory to be saved after dying to any of the following mobs main attacks:
  • irestore.events.mobs.angry_wolf
  • irestore.events.mobs.baby_zombie
  • irestore.events.mobs.blaze
  • irestore.events.mobs.cave_spider
  • irestore.events.mobs.creeper
  • irestore.events.mobs.enderdragon
  • irestore.events.mobs.enderman
  • irestore.events.mobs.ghast
  • irestore.events.mobs.giant
  • irestore.events.mobs.iron_golem
  • irestore.events.mobs.magma_cube
  • irestore.events.mobs.silverfish
  • irestore.events.mobs.skeleton
  • irestore.events.mobs.slime
  • irestore.events.mobs.spider
  • irestore.events.mobs.witch
  • irestore.events.mobs.wither
  • irestore.events.mobs.wither_skeleton
  • irestore.events.mobs.zombie
  • irestore.events.mobs.zombie_pigman
  • irestore.events.mobs.zombie_villager

  • irestore.events.pvp.all: Allow's a player's inventory to be saved by the following PvP related events:
  • irestore.events.pvp.bows: Also counts guns in the CrackShot plugin.
  • irestore.events.pvp.melee
  • irestore.events.pvp.mypet: Allows a player's inventory to be saved after getting killed by another player's MyPet
  • irestore.events.pvp.potions
  • irestore.events.pvp.tamed_wolf
  • irestore.events.pvp.tnt: Allows a player's inventory to be saved after being killed by TNT (player related)

Configuration

The following is the configuration of my plugin, in-depth.

// Whether or not to display death messages when the player dies
death-message: true
// Whether or not a player can keep their inventory when they die
keep-inventory: true
// Whether a not a player can keep (some) of their xp when they die.
keep-xp: true
// Percentage of XP to remove. Must be between 0 and 99. 0 by default, to remove 0% of XP.
xp-to-remove: 0
// Whether or not you would like MyPet enabled
my-pet-enabled: false
// Whether or not you would like your server to check for updates
check-for-updates: true
// All the events that iRestore can take care of. PvP events are enabled by default.
events:
    other:
        all: false
        anvil: false
        cactus: false
        drowning: false
        enderpearl: false
        falling: false
        fire: false
        lava: false
        lightning: false
        starvation: false
        suffocation: false
        suicide: false
        tnt: false
        void: false
    mobs:
        all: false
        angry_wolf: false
        baby_zombie: false
        blaze: false
        cave_spider: false
        creeper: false
        enderdragon: false
        enderman: false
        ghast: false
        giant: false
        iron_golem: false
        magma_cube: false
        silverfish: false
        skeleton: false
        slime: false
        spider: false
        witch: false
        wither: false
        wither_skeleton: false
        zombie: false
        zombie_pigman: false
        zombie_villager: false
    pvp:
        all: true
        bows: false
        melee: false
        potions: false
        tamed_wolf: false
        thorns: false
        tnt: false
vault:
    // Enable this if you have Vault running on your server and you'd like to use the money steal portion
    enabled: true
    // Percentage of money to steal from a player on kill. Must be between 0 and 100. 2 by default.
    money-to-steal: 2
// DO NOT HAVE THESE BOTH ENABLED AT THE SAME TIME. ERRORS *WILL* OCCUR.
blacklist:
    enabled: true
    // The items you'd like the players to drop on PvP death.
    items:
    - 266
    - 298
whitelist:
    enabled: false
    // The items you'd like the players to keep on PvP death.
    items:
    - 299
    - 300
percentage-drop:
    enabled: false
    // The percentage of the player's items to be dropped when iRestore is activated. Only works if
    // enabled.
    percentage: 50

Commands

Currently, there is only one command:

  • /irestore - Show information about the plugin.