Configuration
The default configuration can be found here: Default configuration from version 7.1.1
Normally the config.yml is already commented, this page provides even more details.
General settings
# Should the plugin automatically update if an update is available? autoUpdater: true # Should a permission be required when a spawner explodes by TNT to achieve a drop permissionExplode: true # Should be checked for WorldGuard build ability to change spawners (only if WorldGuard is present) useWorldGuard: true # When generic spawner items are placed, spawn this creature (e.g. from /give or other plugins)
# PIG (90) is Minecraft default (put NAMES or IDs (for Minecraft <1.13 here!)
defaultCreature: pig # How far is the spawner reachable with your crosshair spawnerCommandReachDistance: 6 # Should spawners be unstackable spawnersUnstackable: false # Configure displaying with BarAPI, time is in seconds barAPI: enable: true displayTime: 3
# Configure displaying with 1.9 BossBarApi, time is in seconds
vanillaBossBar:
enable: true
displayTime: 3
# Valid colors are BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
color: RED
# Valid styles are SEGMENTED_10, SEGMENTED_12, SEGMENTED_20, SEGMENTED_6, SOLID
style: SOLID
# Prevent that a spawner is changed via eggs in other territories. Supported are Factions, Faction3 and FactionsUUID
factionsSupport: false
# Amount of spawners or eggs given to a player when the argument is omitted defaultAmountGive: 1
Destroying spawners
# Percentage of dropping a spawner block when TNT or creepers explode explosionDropChance: 30 # Minimum silk touch level [can be changed via other plugins to a higher value] # Set it to 0 to mine it without silk touch minSilkTouchLevel: 1 # If a player in creative destroys a spawner nothing is dropped noDropsCreative: true # If a spawner is destroyed, should the egg be dropped destroyDropEgg: false # If a spawner is destroyed, should XP be dropped destroyDropXP: 0 # Drops XP only when a spawner is destroyed and not mined via SilkTouch dropXPOnlyOnDestroy: false # If a spawner is destroyed, should iron bars be dropped destroyDropBars: 0 # Flag a spawner as already mined to prevent XP duping preventXPFarming: true # Percentage of dropping a iron bars when a spawner is mined destroyDropChance: 100 # Percentage of dropping an egg when a spawner is mined eggDropChance: 100 # Percentage of dropping the spawner when mined silkDropChance: 100
# If a spawner is mined, should it be directly added to the inventory of the player
dropSpawnerToInventory: false
# Amount of spawners to be dropped when mined with valid silk touch
dropAmount: 1
# If the inventory of a player is full, drop spawners/eggs from /ss give on the ground spillSpawnersFromCommands: false
# Allowed set of tools which can mine a spawner. IDs are supported, too
allowedTools:
- WOOD_PICKAXE
- WOODEN_PICKAXE
- STONE_PICKAXE
- IRON_PICKAXE
- GOLD_PICKAXE
- GOLDEN_PICKAXE
- DIAMOND_PICKAXE
- NETHERITE_PICKAXE
Crafting spawners
# Should the player be able to craft spawners craftableSpawners: false # Leave a slot empty (null/air)? Just make a space then, example 'A A' -> middle is free # X is always the egg recipeTop: 'AAA' recipeMiddle: 'AXA' recipeBottom: 'AAA' recipeAmount: 1 # You can put IDs or the NAME here (please uppercase) # Add it for each custom ingredient you add, too! ingredients: - 'A,IRON_FENCE' # Custom example: #recipeTop: 'A A' #recipeMiddle: 'BXA' #recipeBottom: 'C D' #ingredients: # - 'A,IRON_FENCE' # - 'B,DIRT' # - 'C,2' # - 'D,5'
Fallbacks and egg configuration
# Should the egg be consumed when the spawner is changed with it consumeEgg: true # Should instead of spawning a mob a MonsterSpawner be placed? (Uses consumeEgg value, too) spawnEggToSpawner: false # Should the spawn algorithm be overridden? Allows spawning of non-standard entities spawnEggOverride: false # Fallback if the creature should be enabled, if not specified for the entity enableCreatureDefault: true # Fallback if the creature should be spawned, if not specified for the entity spawnEggOverrideSpawnDefault: true
Information about spawners
# Notify the player about the spawner when he clicks it in the inventory notifyOnClick: true # Notify the player about the spawner when he holds the spawner in the hand notifyOnHold: true
Settings for the creatures (in mobs.yml)
# An optional list of aliases to recognize as alternate names for the mob creatures.X.aliases: 'Here will be some standard aliases' # The human-readable name of the mob creatures.X.displayName: 'Sometimes the internal name is different from the common name' # If false, this entity is skipped entirely and not recognized by SilkSpawners # Useful to exclude non-mob entities. If this key is missing, *enableCreatureDefault* will be checked instead # Note that entities not auto-detected are always skipped, so this key is safe to leave false for entities for mods you don't have installed creatures.X.enable: true # If *craftableSpawners* is enabled (see above), then a crafting recipe will be enabled for this mob unless this config option is false. creatures.X.enableCraftingSpawner: true # If *spawnEggOverride* is enabled, allow spawn eggs to be used for this creature. Set to false to block spawn eggs. # If this key is missing, *spawnEggOverrideSpawnDefault* will be checked instead. # Note that if *spawnEggOverride* is disabled, this option has no effect. creatures.X.enableSpawnEggOverrideAllowSpawn: true
Custom recipes, name and explosion chance per mob
If an entry is not specified in the mobs.yml, the config.yml default value will be used
# You know these ones... Spider: aliases: - sp - bug enable: true enableCraftingSpawner: true enableSpawnEggOverride: true # The new part begins recipe: # Define the custom amount here amount: 3 # Again the shape with spaces --> air/not used top: 'AAA' middle: 'AXB' bottom: 'C C' # Set the ingredients with IDs or names ingredients: - 'A,IRON_FENCE' - 'B,DIRT' - 'C,1' # Specify custom explosion drop chance for this mob explosionDropChance: 30 # Specify own name for the mob spawnerName: '&5Spider &3Spawner'
Debug and internal stuff
# Check for spigot.yml and paper.yml flags that conflict with SilkSpawners checkForNerfFlags: true # Puts more information out on startup and interactions, such as block placement and breaking verboseMode: false
# Internal stuff, do NOT change unless advised - the plugin will break otherwise useReflection: true
tesMCVersion: true
useMetadata: true
Help me
https://imgur.com/a/t3mZR
this stay like that FOREVER
This Entry looks like a Bool but the default value is a 0. In programming 0 and 1 could be used as a true/false value, is that what is happening here? or is the 0 a percent here? I would like to drop ironbars and eggs but so far I can only seem to drop the spawners themselves.
# If a spawner is destroyed, should iron bars be dropped
destroyDropBars: 0
*Edit: upon further trial and error I realized that this is a value for how many iron bars will drop, so I changed it to 3, then I realized I had to use a non-silk touch pickaxe to get the eggs and the bars.
I am running into problems. I'm using the right version for 1.8.3, when I upload the plugin, and I restart my server it works just fine, but as soon as I restart it again(after I have already uploaded it and its working) it corrupts the file and wont work. Any tips? You can msg me on my discord @ WickedJester #0499 if I don't reply on here. Thanks!
I've having a bit of trouble. Every spawner that i place turns to a pig spawner(by using the /give command). gmc or gms
Error i get in chat is:
Placing default spawner (either this spawner is invalid or disabled)
No matter what spawner I place including pig does this with the above error. I can still change them with spawner eggs though and they change to that mob type.
I can mine them and replace them.
How to give permision to players so the can mine, place spawners and others.
In reply to dulesrb:
Please take a look at the permissions page: https://dev.bukkit.org/projects/silkspawners/pages/permissions
I'm having the below error.
I've seen the suggestion to change "uselegacyname" to true, however I can't see that option in the config.yml file at all (I've tried versions 6.1.0 and 5.0.2). My current config file is: https://pastebin.com/ib57ZfwN
I've re-generated all files when I've tested different versions of the plugin.
If anyone is able to help with this, it'd be greatly appreciated.
In reply to screemm:
Please try a recent dev build (https://ci.dustplanet.de/job/SilkSpawners/137/) or make sure to use /ss give instead of /give!
Hello,
I have some troubles to config you're plugin because I can break and drop spawner as Administrator/Operator of my server but I have a friend who cannot drop spawner with a silk touch diamond pick. In logs players can break spawners and drop it with all the silk touch pick.
Sorry for my english, I'm french.
Otherwise you're plugin works in 1.16.4 and it's the only one I found ! I love it but I hope you'll be helpfull with my problem !
Thank you.
A player on a private server.
Can you some how make it that all players can place spawners because if my freind trys it it says that he can't place it
hey im just wondering whats the permmison for Defaults or brand new players to be unable to mine spawners with or without silk toucha nd only ranked palyers can
How do you give Permissions? is it the same as a command or do i need to edit a file?
How do you give Permissions? is it the same as a command or do i need to edit a file?
how to make an inscription that the spawner failed to drop or that it was successful on the screen it would be nice if it appeared above the hotbar