MyPetORG / MyPet

🐕 Extensive pet plugin for Bukkit/Spigot
https://www.spigotmc.org/resources/mypet.12725/
GNU Lesser General Public License v3.0
179 stars 97 forks source link

Pets not eating #210

Closed Koocachookies closed 10 years ago

Koocachookies commented 10 years ago

Since I updated my craftbukkit server to 1.6.4 version all player's pets stopped eating. When you try to feed them you have nothing: hunger is not restored, no hearts shown, no console error. It just doesn't work.

I thought that it would be fixed after the 1.1.5 release of the plugin but it is not.

For now I've deactivated the hunger system but I'd like to restore it if it would be possible.

Thanks for all your effort. This plugin is amazing. :)

scomans commented 10 years ago

could you please upload your config file.

scomans commented 10 years ago

I've tested it and it works fine for me.

Koocachookies commented 10 years ago

This is my configuration. I couldn't find if something is wrong. I've changed nothing lately, I only updated the plugin to its newest version.

MyPet:
  Leash:
    Consume: false
    ShowAlwaysForOwner: false
    Item: 287
  OwnerCanAttackPet: false
  DisablePetVersusPlayer: true
  DonatorEffect: true
  EnableEvents: false
  RemovePetsAfterRelease: false
  FollowStartDistance: 6.0
  ReleasePetsOnDeath: false
  Backup:
    Active: true
    SaveInterval: 1440
    DateFormat: yyyy_MM_dd_HH.mm
  PetStorage:
    AutoSaveTime: 300
    OnPlayerQuit: true
    OnPetLeash: true
    OnPetRelease: true
  Respawn:
    Time:
      Default:
        Factor: 2
        Fixed: 10
      Player:
        Factor: 2
        Fixed: 10
    EconomyCost:
      Fixed: 0
      Factor: 500
  Permissions:
    Enabled: true
    UseExtendedPermissions: true
  LevelSystem:
    Active: true
    CalculationMode: Default
    Firework: true
  HungerSystem:
    Active: true
    Time: 60
    HungerPointsPerFeed: 5
  Skilltree:
    AutomaticAssignment: true
    InheritAlreadyInheritedSkills: true
    ChooseOnce: true
    PreventLevellingWithout: true
    SwitchPenaltyFixed: 0.0
    SwitchPenaltyPercent: 5
    SwitchPenaltyAdmin: false
  Support:
    PlayerDamageEntityEvent: false
    Towny: false
    Heroes: false
    Factions: false
    WorldGuard: true
    Citizens: true
    mcMMO: false
    Regios: false
    MobArena:
      PvP: true
      DisablePetsInArena: true
    Residence: true
    AncientRPG: false
    GriefPrevention: true
    Minigames:
      DisablePetsInGames: true
    PvPArena:
      DisablePetsInArena: true
      PvP: true
    SurvivalGames:
      PvP: true
      DisablePetsInGames: true
    MyHungerGames:
      DisablePetsInGames: true
    BattleArena:
      DisablePetsInArena: true
    Vault:
      Economy: true
  Exp:
    DamageWeightedExperienceDistribution: false
    Passive:
      PercentPerMonster: 25
    Loss:
      Percent: 5
      Fixed: 0.0
      Drop: false
    Gain:
      MonsterSpawner: false
    Active:
      Cow:
        Min: 1.0
        Max: 3.0
      Slime:
        Min: 1.0
        Max: 4.0
      Enderman:
        Min: 7.0
        Max: 10.0
      Silverfish:
        Min: 5.0
        Max: 5.0
      VillagerGolem:
        Min: 0.0
        Max: 0.0
      Creeper:
        Min: 5.0
        Max: 7.0
      Wolf:
        Min: 1.0
        Max: 3.0
      Squid:
        Min: 1.0
        Max: 3.0
      PigZombie:
        Min: 5.0
        Max: 8.0
      Spider:
        Min: 5.0
        Max: 5.0
      MushroomCow:
        Min: 1.0
        Max: 3.0
      Blaze:
        Min: 7.0
        Max: 10.0
      EnderDragon:
        Min: 200.0
        Max: 300.0
      Ozelot:
        Min: 1.0
        Max: 3.0
      Villager:
        Min: 0.0
        Max: 0.0
      Skeleton:
        Min: 5.0
        Max: 5.0
      EnderCrystal:
        Min: 10.0
        Max: 10.0
      Witch:
        Min: 5.0
        Max: 7.0
      LavaSlime:
        Min: 1.0
        Max: 4.0
      Giant:
        Min: 25.0
        Max: 25.0
      Pig:
        Min: 1.0
        Max: 3.0
      CaveSpider:
        Min: 5.0
        Max: 5.0
      Zombie:
        Min: 5.0
        Max: 5.0
      SnowMan:
        Min: 0.0
        Max: 0.0
      Ghast:
        Min: 5.0
        Max: 5.0
      Sheep:
        Min: 1.0
        Max: 3.0
      Bat:
        Min: 1.0
        Max: 1.0
      Chicken:
        Min: 1.0
        Max: 3.0
      WitherBoss:
        Min: 150.0
        Max: 200.0
      Wither:
        Min: 15.0
        Max: 20.0
  Skill:
    Control:
      Item: 398
    Ride:
      Item: 329
    Inventory:
      Creative: false
      DropWhenOwnerDies: false
    Behavior:
      Aggro: false
      Farm: true
      Friendly: true
      Raid: true
      Duel: true
    Beacon:
      HungerDecreaseTime: 18
    Pickup:
      RangePerLvl: 1
    Poison:
      ChancePerLevel: 1
    HPregeneration:
      Time: 60
  Pets:
    Chicken:
      CanLayEggs: true
      GrowUpItem: 322
      HP: 0
      Speed: 0.4
      Food: 295,297,361,362
      LeashFlags: LowHp,CanBreed
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Cow:
      CanGiveMilk: true
      GrowUpItem: 322
      HP: 0
      Speed: 0.35
      Food: '296'
      LeashFlags: LowHp,CanBreed
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Sheep:
      CanBeSheared: true
      CanRegrowWool: true
      GrowUpItem: 322
      HP: 0
      Speed: 0.35
      Food: '296'
      LeashFlags: LowHp,CanBreed
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    IronGolem:
      CanThrowUp: true
      HP: 0
      Speed: 0.3
      Food: 1,265
      LeashFlags: UserCreated
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Snowman:
      FixSnowTrack: true
      HP: 0
      Speed: 0.3
      Food: 86,332,391
      LeashFlags: UserCreated
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Horse:
      GrowUpItem: 373
      HP: 0.0
      Speed: 0.45
      Food: 353,296,260,391
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Mooshroom:
      GrowUpItem: 322
      HP: 0
      Speed: 0.35
      Food: 39,40,296
      LeashFlags: LowHp,CanBreed
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Ocelot:
      GrowUpItem: 322
      HP: 0
      Speed: 0.4
      Food: '349'
      LeashFlags: Tamed,CanBreed
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Pig:
      GrowUpItem: 322
      HP: 0
      Speed: 0.35
      Food: '391'
      LeashFlags: LowHp,CanBreed
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Villager:
      GrowUpItem: 322
      HP: 0
      Speed: 0.35
      Food: 297,260,364,366,320,393,400,360,357,350
      LeashFlags: LowHp,CanBreed
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Wolf:
      GrowUpItem: 322
      HP: 0
      Speed: 0.4
      Food: 363,365,367,352,319
      LeashFlags: Tamed,CanBreed
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Zombie:
      GrowUpItem: 322
      HP: 0
      Speed: 0.3
      Food: 367,352
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Bat:
      HP: 0
      Speed: 0.4
      Food: 375,260,360
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Blaze:
      HP: 0
      Speed: 0.4
      Food: 289,331,263
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    CaveSpider:
      HP: 0
      Speed: 0.4
      Food: 367,260,360
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Creeper:
      HP: 0
      Speed: 0.35
      Food: 289,12
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Enderman:
      HP: 0
      Speed: 0.35
      Food: 88,368,86
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Ghast:
      HP: 0
      Speed: 0.35
      Food: '289'
      LeashFlags: Impossible
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Giant:
      HP: 0
      Speed: 0.4
      Food: '367'
      LeashFlags: Impossible
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    MagmaCube:
      HP: 0
      Speed: 0.3
      Food: 331,263
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    PigZombie:
      HP: 0
      Speed: 0.35
      Food: 367,371,319
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Silverfish:
      HP: 0
      Speed: 0.4
      Food: 353,339,39,40
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Skeleton:
      HP: 0
      Speed: 0.35
      Food: 352
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Slime:
      HP: 0
      Speed: 0.3
      Food: 353,341,39,40
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Spider:
      HP: 0
      Speed: 0.4
      Food: 367,260,360
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Squid:
      HP: 0
      Speed: 0.3
      Food: 349,295,361,362
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Witch:
      HP: 0
      Speed: 0.3
      Food: 282,348,375,260,372
      LeashFlags: LowHp
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
    Wither:
      HP: 0
      Speed: 0.4
      Food: '352'
      LeashFlags: Impossible
      CustomRespawnTimeFactor: 0
      CustomRespawnTimeFixed: 0
      LeashItem: 420
  Info:
    AdminOnly:
      PetName: false
      PetOwner: false
      PetHP: false
      PetDamage: false
      PetHunger: true
      PetLevel: true
      PetEXP: true
      PetSkilltree: true
    OverHead:
      Name: true
      Prefix: '%aqua%'
      Suffix: ''
  CheckForUpdates: true
  DebugLogger: true
  SendMetrics: true
  AutoSaveTime: 60
  DropPetInventoryAfterPlayerDeath: false
scomans commented 10 years ago

The problem is that the delemiter for all of the food nodes has changed from , to ;

If you haven't changed anything just delete the config and everything should work fine.

Koocachookies commented 10 years ago

Ok! It worked fine after I changed it. Thank you very much for your attention :+1: :)