Configuration - GooseMonkey/NoSpawnEggsv1 GitHub Wiki

Set up the plugin to make it do what you want it to do, and not what you don't want it to do.

Config.yml

Set main plugin settings here.

configVersion: 2                # No touchy.
blocking:                       # Settings for blocking each feature
  spawnEggs:                    # Spawner Egg Use (ID 383)
    enable: true                # False > Always allow all players to place Spawn Eggs
    onlyBlockCreative: false    # True > All players in Survival are allowed to use Spawn Eggs
    $global:                    # Global blocking settings; Per-world settings always override these
      animal: true              # False > All animals can be spawned freely with Spawn Eggs
      monster: true
      npc: true
      unknown: true             # False > All vanilla entities that cannot legitimately be spawned as of 1.2 are allowed (Not recommended)
      blockedIds:               # All Mob IDs* on this list are blocked (overrides group settings above)
      - 0
      allowedIds:               # All Mob IDs* on this list are allowed (overrides group settings above)
      - 0
    ExampleWorld:               # Put custom world names here, replacing ExampleWorld. Per-world settings override
      animal: false               global settings if they exist (e.g., in this sample, all players in ExampleWorld
      npc: false                  can always spawn animals and NPCs. Monster setting doesn't exist here, so
      blockedIds:                 the plugin looks to the global setting.)
      - 0
      allowedIds:
      - 0
  golem:                        # Block the building of Snow and Iron Golems _(requires Moderate)_
    enable: true
    snow:
      onlyBlockCreative: false  # True > Players in Survival bypass the block, where Golems can't be as badly spammed
      ignoredWorlds:            # Players in worlds on this list can freely build Golems
      - ExampleWorld
    iron:
      onlyBlockCreative: false
      ignoredWorlds:
      - ExampleWorld
  chickenEgg:                   # Prevent chickens from hatching out of eggs (ID 344) _(requires Moderate)_
    enable: true
    onlyBlockCreative: false    # True > Players in Survival bypass the block, where eggs aren't infinite
    ignoredWorlds:              # Players in worlds on this list can freely use eggs
    - ExampleWorld
    sendMessage: true           # False > Players will never know that their egg throwing is fruitless. You monster.
  expBottle:                    # Blocks players from throwing Bottles o' Enchanting (ID 384) and spamming XP _(requires Full)_
    enable: true
    ignoredWorlds:
    - ExampleWorld
    onlyBlockCreative: false
  enderEye:                     # Blocks players from throwing Eyes of Ender (ID 381) _(requires Full)_
    enable: true
    ignoredWorlds:
    - ExampleWorld
    onlyBlockCreative: false
  enderPearl:                   # Blocks players from throwing Ender Pearls (ID 368) _(requires Full)_
    enable: true
    ignoredWorlds:
    - ExampleWorld
    onlyBlockCreative: false
  boat:                         # Blocks players from placing boats (ID 333) _(requires Full)_
    enable: true
    ignoredWorlds:
    - ExampleWorld
    onlyBlockCreative: false
  minecart:                     # Blocks players from placing all minecarts (ID 328, 342, 343) _(requires Full)_
    enable: true
    ignoredWorlds:
    - ExampleWorld
    onlyBlockCreative: false
  dispense:                     # Prevents these items from being used with dispensers
    spawnEggs:                  # Spawn Eggs (ID 383)
      enable: true
      $global:                  # Same settings as used with player Spawn Eggs
        animal: true
        monster: true
        npc: true
        unknown: true
        blockedIds:
        - 0
        allowedIds:
        - 0
      ExampleWorld:
        animal: false
        npc: false
        blockedIds:
        - 0
        allowedIds:
        - 0
    chickenEgg:                 # Chicken eggs flying out of dispensers and spawning chickens _(requires Moderate)_
      enable: true
      ignoredWorlds:
      - ExampleWorld
      dispenseSnowball: true    # True > Rather than just doing nothing, a snowball will be visually dispensed
    expBottle:                  # Bottles o' Enchanting in dispensers _(requires Full)_
      enable: true
      ignoredWorlds:
      - ExampleWorld
    fireCharge:                 # Fire charges in dispensers (Does not block placing fire with them!) _(requires Full)_
      enable: true
      ignoredWorlds:
      - ExampleWorld
  • [http://www.minecraftwiki.net/wiki/Data_values#Entity_IDs](Entity IDs): Used to prevent or allow specific entities to be created. Mod-added entities have IDs as well, check the mod page.

Locale.yml

Change messages sent to the player when denied permission.

entity:
  EID0: Entity                # Name sent in message when an unknown mob is attempted
  EID50: Creeper              # Names of mobs with entity ID x
  ...
  EID120: Villager
message:                      # Messages sent. Should be self-explanatory.
  reloaded: NoSpawnEggs configuration reloaded.
  noReloadPerms: You don't have permission.
  version: NoSpawnEggs version %s.
  noSpawnerEggPerms: You don't have permission to spawn this %s.      # %s will be replaced with a mob name from above
  noSnowGolemPerms: You don't have permission to create Snow Golems.
  noIronGolemPerms: You don't have permission to create Iron Golems.
  noChickenEggPerms: You don't have permission to spawn Chickens with eggs.
  noExpBottlePerms: You don't have permission to throw Bottles of Enchanting.
  noEnderEyePerms: You don't have permission to throw Eyes of Ender.
  noEnderPearlPerms: You don't have permission to throw Ender Pearls.
  noBoatPerms: You don't have permission to place boats.
  noMinecartPerms: You don't have permission to place minecarts.