Zrips / CMI

116 stars 98 forks source link

Spawners giving pigs #6487

Open ChitterChatter opened 2 years ago

ChitterChatter commented 2 years ago

Description of issue:

I am OP and Server Owner, when I give myself spawners, they are all coming in as pigs. It used to work ok, I haven't done anything or changed anything? I did update however.

I use the command /cmi give ChitterChatter_ spawner:zombie 1 - and it gives a pig. It's not even working for our player vouchers too that use that command, they are getting pig spawners too.

There are no errors - just pig spawners.


**CONFIG SECTION - Spawner Info:**

Spawners:

If you experiencing issues with spawner handling, set this to true to avoid any spawner manipulations from CMI side

This will disable features like, spawner placement, spawner drops, spawner charges and so on

FullDisable: false Break:

ATTENTION! cmi.dropspawner will be required to get spawner dropping for the player

# Enable or disable spawner handler for spawner break
# If enabled player will get spawner if using silktouch pickaxe and have cmi.dropspawner permission node
# If player has cmi.dropspawner.nosilk permission node, player is not required to use silk touch pickaxe to get droped spawner
Enabled: true
# If set to true, player will need to have particular permission node to break and get particular spawner.
# In example: player should have cmi.dropspawner.pig to break pig spawner and get it dropped, or cmi.dropspawner.zombie to get zombie spawner
RequiresExactPermission: false
# When set to false, exp will not be dropped from broken spawner independent if spawner it self is being dropped
# When set to true exp will be dropped only if spawner is not
DropExp: false
# Minimal silktouch level required to get spawner back
SilkTouchLevel: 1
# Number in percentage from 0 up to 100 for a spawner to be dropped when you break one
BaseDropChance: 100

Place:

Enable or disable spawner handler for spawner place

# If enabled player will place spawner depending from what it is by its type
# If disabled then spawner will be placed in normal way and it will allow other plugins to handle its placement
Enabled: true
# If set to true, player will need to have appropriate permission node to place spawner by its type
RequiresPermission: false
# RequiresPermission should be set to true for this to work. If set to true, player will need to have particular permission node to place particular spawner.
# In example: player should have cmi.placespawner.pig to place pig spawner, or cmi.placespawner.zombie to place zombie spawner
# If set to false, then player will need to have basic cmi.placespawner permission to place any type of spawner
RequiresExactPermission: false

Interact:

When set to true, players trying to change spawner with monster egg will require appropriate permission node

# In example: player should have cmi.egginteract.pig to change spawner into pig, or cmi.egginteract.zombie to change into zombie spawner
EggRequiresPermission: true

If set to true, spawners will have chance to be dropped when destroying with tnt

TnTExplosionDrop: use: false

Chance in percentage for spawner to drop

Chance: 30

If set to true, spawners will have chance to be dropped when destroyed by creeper

CreeperExplosionDrop: use: false Chance: 30 Charges:

When enabled players will be assigned to particular spawner charges group who have cmi.spawners.charge.[groupName] permission node

# Players will be limited to how many spawners they can mine
# StartingCharge will determine how many charges they will have on first time joining group
# MaxCharge will limit to how many charges you can have at one time
# Cooldown determines how often new charge will be given
# Bonus is optional and it will determine by how many seconds to lower cooldown for next charge when placing spawner
# Option to bypass limitations with cmi.spawners.charge.bypass
Use: false
# If set to true when player runs out of spawner charges spawner will be destroyed without droping it
BreakWithoutCharge: false
List:
  Noob:
    Use: false
    StartingCharge: 2
    MaxCharge: 5
    Cooldown: 3600
    Bonus: 10
  Advanced:
    Use: false
    StartingCharge: 3
    MaxCharge: 6
    Cooldown: 3000
    Bonus: 10

Proximity:

Allows to limit how tight spawners can be placed from each other

Use: false
# Radius in blocks from blaced block. Max range is 16
# Can bypass with cmi.spawners.proximity.bypass
Range: 3


---

**Cmi Version (using`/cmi version`):**  Version 9.1.03

**Server Type (Spigot/Paperspigot/etc):**  Paper 

**Server Version (using `/ver`):**   Paper 398 (MC 1.17.1)

**Relevant plugins (Delete if this isn't needed):** I am not using any other plugins using spawners that I know of? Plugins such as slimefun etc I have the spawners disabled.  I have never had issues before.
CloudeLecaw commented 2 years ago

cmi give ChitterChatter_ spawner:zombie 1

Try

cmi give ChitterChatter_ mob_spawner:zombie 1

Kbryst commented 2 years ago

I can confirm this is happening on the latest version no matter what version of the command you try. Paper 1.18.1

Happens on CMILib1.1.0.3 but not CMILib1.1.0.2