commands causing errors #162


  • New
  • Defect
Open
  • _ForgeUser6839868 created this issue Sep 8, 2013

    What steps will reproduce the problem?
    1. install the plugin
    2. allow people to create gods
    3. people are asked to be priests
    4. command causes error

    What is the expected output? What do you see instead?
    they would be priest.
    they are not

    What version of the product are you using?
    Gods 0.8.1 Beta

    Do you have an error log of what happened?
    yes

    Please provide any additional information below.
    2013-09-08 23:55:06 [INFO] benny3932 issued server command: /godaccept
    2013-09-08 23:55:06 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'godaccept' in plugin Gods v0.8.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:191)
    at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523)
    at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:962)
    at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:880)
    at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:837)
    at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49)
    at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296)
    at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116)
    at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
    at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30)
    at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590)
    at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
    at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
    at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
    at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
    Caused by: java.lang.NullPointerException
    at com.dogonfire.gods.GodManager.getLanguageFileForGod(GodManager.java:232)
    at com.dogonfire.gods.LanguageManager.getLanguageFileForGod(LanguageManager.java:236)
    at com.dogonfire.gods.LanguageManager.getLanguageString(LanguageManager.java:241)
    at com.dogonfire.gods.GodManager.GodSay(GodManager.java:2727)
    at com.dogonfire.gods.GodManager.believerAccept(GodManager.java:2244)
    at com.dogonfire.gods.Commands.onCommand(Commands.java:182)
    at com.dogonfire.gods.Gods.onCommand(Gods.java:835)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    ... 15 more

  • _ForgeUser6839868 added the tags New Defect Sep 8, 2013
  • _ForgeUser6839868 posted a comment Sep 8, 2013

    additional info. My players, although they have the permission - gods.altar.pray, they can't

    Here's the config:

    Settings:
      Worlds:
      - survival
      - survival_nether
      - survival_the_end
      - town
    
      Debug: false
      Language: english
      UseWhitelist: false
      UseBlacklist: false
      BroadcastNewGods: true
      MaxPriestPrayerTime: 72
      MaxBelieverPrayerTime: 144
      MinBelieverPrayerTime: 60
      MinBelieversForPriest: 3
      MaxPriestsPrGod: 1
      NumberOfBelieversPrPriest: 3
      GodVerbosity: 1.0
      ServerName: RemyPasServer
      PriestAssignCommand: ''
      PriestRemoveCommand: ''
      OnlyPriestCanSetHome: false
      LeaveReligionOnDeath: false
      AllowMultipleGodsPrDivinePower: false
      MoodFalloff: 0.03
    Altars:
      BlockTypes:
        FROST:
        - SMOOTH_BRICK
        - SNOW_BLOCK
        LOVE:
        - SMOOTH_BRICK
        - DIAMOND_BLOCK
        EVIL:
        - SMOOTH_BRICK
        - OBSIDIAN
        JUSTICE:
        - SMOOTH_BRICK
        - IRON_BLOCK
        HARVEST:
        - SMOOTH_BRICK
        - MELON
        SEA:
        - SMOOTH_BRICK
        - LAPIS_BLOCK
        MOON:
        - SMOOTH_BRICK
        - ENDER_STONE
        SUN:
        - SMOOTH_BRICK
        - SANDSTONE
        THUNDER:
        - SMOOTH_BRICK
        - QUARTZ_BLOCK
        PARTY:
        - SMOOTH_BRICK
        - EMERALD_BLOCK
        WAR:
        - SMOOTH_BRICK
        - NETHER_BRICK
        WEREWOLVES:
        - SMOOTH_BRICK
        CREATURES:
        - SMOOTH_BRICK
        - LOG
        WISDOM:
        - SMOOTH_BRICK
        - BOOKSHELF
    ItemBlessing:
      Enabled: true
      MinGodPowerItemBlessings: 3
      GodPowerForLevel1Items: 10
      MinItemBlessingTime: 10
      GodPowerForLevel2Items: 50
      GodPowerForLevel3Items: 100
    Blessing:
      Enabled: true
      Speed: true
      Heal: true
      Regeneration: true
      IncreaseDamage: true
      FastDigging: true
      MaxBlessingTime: 180
      MinBlessingTime: 600
    Cursing:
      Enabled: true
      LightningCurse: true
      MobCurse: true
      MaxCursingTime: 10
      MinCursingTime: 5
    Quests:
      Enabled: true
      Frequency: 1
      GlobalQuestsPercentChance: 1
      SlayQuests: true
      SacrificeQuests: true
      ConvertQuests: true
      GivebiblesQuests: true
    Sacrifices:
      Enabled: true
    Commandments:
      Enabled: true
      BroadcastFoodEaten: true
      BroadcastMobSlain: true
    HolyLand:
      Enabled: true
      MinRadius: 3
      MaxRadius: 250
      RadiusPrPower: 1.25
      DefaultPvP: false
      DefaultMobDamage: false
      Lightning: true
      BreakableBlockTypes:
      - SMOOTH_BRICK
    ChatFormatting:
      Enabled: false
    Bibles:
      Enabled: true
    Prophecies:
      Enabled: false
    HolyArtifacts:
      Enabled: true
    Marriage:
      Enabled: true
      WeddingFireworks: true
    

    Edited Sep 8, 2013
  • Forge_User_09714816 posted a comment Oct 17, 2013

    Which permission manage are you using?

    The exception seems to come from a missing language string in your language file. Please delete your /lang folder and let the plugin re-download the latest version.

  • Forge_User_09714816 posted a comment Nov 16, 2013

    @RemyPas: Go

    I would still like to know what permission manager you are using and whether players get any message when they attempt to pray.

  • _ForgeUser6839868 posted a comment Dec 31, 2013

    I'm terribly sorry to have left this. It was fixed back then. I didn't check back here to report the fix and why. I usually do this to clarify things and not leave unanswered questions open.

    FYI I use bPermissions


To post a comment, please login or register a new account.