Solved AutoSell - Internal Server Error

Discussion in 'Spigot Plugin Help' started by Tebl, May 16, 2016.

  1. https://www.spigotmc.org/resources/autosell.2157/

    Hey! I'm trying to change settings in the files for AutoSell, but when I /reload (I know this isn't highly recommended, but I tried it), /plugman reload AutoSell and /restart, nothing happens and everything I've changed gets deleted to the default configs! Now, when I try /asa reload, it says,

    "An internal server error has occurred while attempting to perform this command"

    There is an error in the console and you can see it for yourself, it just says, "ERROR: null" So; I have no idea what that is. Take a look for yourself.

    The version of Spigot is 1.8.8 and AutoSell's version is 1.6.4. I had a previous error to this plugin yesterday where I was in the wrong version (for 1.9) and downgrading worked, but now nothing even saves and that's pretty important... Thanks!
     
    #1 Tebl, May 16, 2016
    Last edited: May 16, 2016
  2. Were you trying to change the files as in the config.yml or were you trying to change the files as in decompiling the .class files?
     
  3. I was just trying to edit the config.yml, like even just changing the messages to my preference. And no types of reloading work and the own plugin's causes an internal error, so something is wrong with my server or this version of the plugin/compatibility. All types of reloading erases all work made.
     
  4. You might have to get a different plugin what do you want the plugin to do?
     
  5. I want all the features from AutoSell... Surely there's a fix for this. My personal opinion is AutoSell over any other selling plugin.
     
  6. Have you edited multipliers.yml or shopsigns.yml?
     
  7. No, not yet. I'm still getting familiar with this plugin and I just tried to edit the config, but even if I were to try the other ones, they most likely wouldn't load because /asa reload doesn't even work.
     
  8. Try restarting your server
     
  9. I have, and that also deletes all previous work made, same with the other reloading options.
     
  10. Can you post a server log, to pastebin then send a link.
     
  11. I have 3 errors, currently.

    AutoSell (this problem)
    The chat randomly and FULLY clears by itself with nobody doing so and no chat-clear plugin installed.
    And TitleBalance plugin doesn't work (thread already made; here) https://www.spigotmc.org/threads/titlebalance-plugin-loads-nothing-appears.148070/
    And InventoryFull tends to not work sometimes, I don't have it installed right now because it wasn't working, but I'll check it again.

    Perhaps these are conflicting each other?
     
    #11 Tebl, May 16, 2016
    Last edited: May 16, 2016
  12. Can u post a link to the pastebin of your config.yml
     
  13. Just got the latest version of InventoryFull and testing it out again... None of @clip's plugins seem to work properly for me for some reason... Something HAS to be wrong. I didn't even touch the InventoryFull config; not even the default chat message appears and reloading the config also deletes it when changes are made.
     
  14. - EZRanksPro by clip is working; now that I'm looking about. It just seems to be these two that I know of. I need these working.
     
  15. I can't see the problem sorry
     
  16. It's okay. I really do appreciate your asistance. Hopefully this can be solved soon.
     
  17. I think I've found the error... With a plain and default config, I CAN /asa reload. But, with this config, I CANNOT! Can you see any problems?

    Code (Text):
    # AutoSell version: 1.6.4 Main Configuration
    #
    # A fully customizable automatic toggleable shop/mining utility system where players can type /autosell to toggle
    # automatic selling while mining if in mines/regions that have shops associated with them.
    # If no mine/region integration is enabled, players will be able to autosell in any enabled worlds if they have permission to access a shop
    # playe.
    # You can create as many shop lists you want. Each shop must have a unique priority set
    # with 1 being the highest priority (if permissions are used). You can also configure if players can only get paid in certain
    # mines/regions!
    check_updates: true
    block_listener_priority: HIGHEST
    hooks:
      mine_reset_lite:
        enabled: true
      worldguard:
        enabled: false
      prisonmines:
        enabled: false
    tools_never_break: true
    multiplier_limit: 100.0
    autosell:
      allow_creative: false
      require_tools: true
      take_sold_items: true
      disabled_worlds:
      - someworld
      - someotherworld
      multipliers_enabled: true
      interval_announcements:
        enabled: true
        interval: 60
        has_multiplier_message:
      - '&f&l&m---------------------------------------------'
        - '&b&lAmount &f&l: &a&l$&f&l%amount%'
        - '&b&lMultiplier: &f&l%multiplier%'
      - '&f&l&m---------------------------------------------'
        no_multiplier_message:
      - '&f&l&m---------------------------------------------'
        - '&b&lAmount &f&l: &a&l$&f&l%amount%'
        - '&b&lMultiplier: &f&l%multiplier%'
      - '&f&l&m---------------------------------------------'
    signsell:
      per_shop_permissions: true
      has_multiplier_message:
      - '&f&l&m---------------------------------------------'
        - '&b&lAmount &f&l: &a&l$&f&l%amount%'
        - '&b&lMultiplier: &f&l%multiplier%'
      - '&f&l&m---------------------------------------------'
      no_multiplier_message:
      - '&f&l&m---------------------------------------------'
        - '&b&lAmount &f&l: &a&l$&f&l%amount%'
        - '&b&lMultiplier: &f&l%multiplier%'
      - '&f&l&m---------------------------------------------'
    sellall:
      enabled: true
      use_perm_shop_when_no_shop_is_at_location: true
      has_multiplier_message:
      - '&f&l&m---------------------------------------------'
        - '&b&lAmount &f&l: &a&l$&f&l%amount%'
        - '&b&lMultiplier: &f&l%multiplier%'
      - '&f&l&m---------------------------------------------'
      no_multiplier_message:
      - '&f&l&m---------------------------------------------'
        - '&b&lAmount &f&l: &a&l$&f&l%amount%'
        - '&b&lMultiplier: &f&l%multiplier%'
      - '&f&l&m---------------------------------------------'
    item_drops:
      drops2inv:
        enabled: true
        require_permission_node: false
        autosell_areas_only: false
        disabled_worlds:
        - someworld
        - someotherworld
        ignored_blocks:
        - SKULL_ITEM
        - SKULL
        allowed_instead_of_ignored: false
      silk_touch:
        enabled: true
      auto_smelt:
        enabled: true
        toggle_on_join: false
        disabled_worlds:
        - someworld
        - someotherworld
        smelt_list:
        - GOLD_ORE,GOLD_INGOT
        - IRON_ORE,IRON_INGOT
        - WOOL;3,WOOL;5
        - STONE,STONE
      fortune:
        enabled: true
        minimum_drops: 1
        maximum_drops: 1000
        multiplier: 1.2
        modifier: 1
        random_drop_amount: true
        disabled_worlds:
        - someworld
        - someotherworld
        fortune_blocks:
        - DIAMOND_ORE
        - EMERALD_ORE
        - GOLD_ORE
        - IRON_ORE
        - LAPIS_ORE
        - REDSTONE_ORE
        - QUARTZ_ORE
        - COAL_ORE
        - DIAMOND_BLOCK
        - EMERALD_BLOCK
        - GOLD_BLOCK
        - IRON_BLOCK
        - LAPIS_BLOCK
        - REDSTONE_BLOCK
        - QUARTZ_BLOCK
        - COAL_BLOCK
      ingot_to_block:
        enabled: true
        toggle_on_join: true
        auto_blocks_interval: 30
    shop_items_info:
      use_gui: true
      message:
      - '&8&m-----------------------------------------------------'
      - '&aShop: &f%shop%'
      - '%items%'
      - '&8&m-----------------------------------------------------'
      item_format: '&7%material%&f:&7%data% &f- &a$&f%price_1%'
    vkbackpack:
      bptoggle_on_join: true
    money:
      fix_money: true
      use_custom_format: false
      custom_format: '#,###.00'
      thousands_format: k
      millions_format: M
      billions_format: B
      trillions_format: T
      quadrillions_format: Q
    shops:
      Shop1:
        priority: 1
        shop_list:
        - STONE,0.50
        - COBBLESTONE,0.20
        - IRON_ORE,0.35
        - COAL_ORE,0.20
     
     
  18. Use an online yaml parser.