Config - "hide-jobs-without-permission: true/false" #654


  • New
  • Defect
Open
Assigned to _ForgeUser1255850
  • _ForgeUser19175640 created this issue Mar 5, 2015

    No error messages shows up on startup of the server. Jobs are loaded.

    jobConfig

    Jobs configuration.
    # 
    # Stores information about each job.
    # 
    # For example configurations, visit http://dev.bukkit.org/server-mods/jobs/.
    
    Jobs:
      Miner:
        fullname: Miner
        shortname: Mi
        description: Earns money mining minerals and ores.
        ChatColour: YELLOW
        chat-display: shortjob
        leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
        income-progression-equation: baseincome*((1.05)^(joblevel-1))
        experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
        Break:
          DIAMOND_ORE:
            income: 2.0
            experience: 2.0
          EMERALD_ORE:
            income: 3.0
            experience: 3.0
          IRON_ORE:
            income: 4.0
            experience: 4.0
          GOLD_ORE:
            income: 5.0
            experience: 5.0
      Blacksmith:
        fullname: Blacksmith
        shortname: Bl
        description: Earns money from crafting and repairing weapons.
        ChatColour: YELLOW
        chat-display: shortjob
        leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
        income-progression-equation: baseincome*((1.05)^(joblevel-1))
        experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
        Craft:
          DIAMOND_SHOVEL:
            income: 3.0
            experience: 3.0
          DIAMOND_PICKAXE:
            income: 3.0
            experience: 3.0
          DIAMOND_AXE:
            income: 3.0
            experience: 3.0
          DIAMOND_SWORD:
            income: 4.0
            experience: 4.0
          DIAMOND_HOE:
            income: 3.0
            experience: 3.0
          DIAMOND_CHESTPLATE:
            income: 3.0
            experience: 3.0
          DIAMOND_HELMET:
            income: 3.0
            experience: 3.0
          DIAMOND_LEGGINGS:
            income: 4.0
            experience: 4.0
          DIAMOND_BOOTS:
            income: 4.0
            experience: 4.0
    

    generalConfig

    #   The general configuration for the jobs plugin mostly includes how often the plugin
    # saves user data (when the user is in the game), the storage method, whether
    # to broadcast a message to the server when a user goes up a skill level.
    #   It also allows admins to set the maximum number of jobs a player can have at
    # any one time.
    
    # Default language.  Use your languages two digit ISO 639-1 code, and optionally followed by the ISO-3166-1 country code.
    # Example: en, en_US
    locale-language: en_us
    # storage method, can be MySQL, sqlite
    storage-method: sqlite
    # Requires Mysql.
    mysql-username: root
    mysql-password: ''
    mysql-hostname: localhost:3306
    mysql-database: minecraft
    mysql-table-prefix: jobs_
    # How often in minutes you want it to save.  This must be a non-zero number
    save-period: 10
    # Should player data be saved on disconnect?
    # Player data is always periodically auto-saved and autosaved during a clean shutdown.
    # Only enable this if you have a multi-server setup, or have a really good reason for enabling this.
    # Turning this on will decrease database performance.
    save-on-disconnect: false
    # Do all players get a message when somone goes up a skill level?
    broadcast-on-skill-up: false
    # Do all players get a message when somone goes up a level?
    broadcast-on-level-up: false
    # Maximum number of jobs a player can join.
    # Use 0 for no maximum
    max-jobs: 3
    # Hide jobs from player if they lack the permission to join the job
    hide-jobs-without-permission: true
    # option to allow payment to be made when killing mobs from a spawner
    enable-pay-near-spawner: false
    # option to allow payment to be made in creative mode
    enable-pay-creative: false
    # Adds the Jobs xp recieved to the player's Minecraft XP bar
    add-xp-player: false
    # Modifys chat to add chat titles.  If you're using a chat manager, you may add the tag {jobs} to your chat format and disable this.
    modify-chat: false
    # Changes how often, in seconds, players are paid out.  Default is 5 seconds.
    # Setting this too low may cause tick lag.  Increase this to improve economy performance (at the cost of delays in payment)
    economy-batch-delay: 5
    # Enable async economy calls.
    # Only enable if your economy plugin is thread safe, use with EXTREME caution.
    economy-async: false
    # Experimental mode!.
    # Enable blocks, like ore, protection.
    # Only enable if you want to protect block from beying moved by pistons.
    use-block-move-protection: false
    # Experimental mode!.
    # Enable blocks timer protection.
    # Only enable if you want to protect block from beying broken to fast.
    use-block-timer: false
    # Breeder finder.
    # If you are not using breeding payment, you can disable this to save little resources. Really little.
    use-breeder-finder: true
    

    --
    What is the expected output? What do you see instead? Feel free to attach a screenshot or any error logs.
    To hide jobs from a player who hasn't permission to join them.

    How can you reproduce the issue? Please be as descriptive as possible, including any commands or in-game actions.
    Even with the "hide-jobs-without-permission" set to "true", the player can still see all the jobs available. No permissions are given in the permission plugin (GroupManager)

    What version of Jobs plugin are you using? Do not enter "latest" or anything similar.
    Jobs 2.18.4

    What version of Bukkit are you using (/version)? Do not enter "latest" or anything similar.
    Spigot 1.8.1

    List of plugins installed (copy paste output of "plugins" or "/plugins" from command line with timestamp or attach screen shot of ingame. Do not type by hand)
    Plugins (21): GroupManager, WorldEdit, iConomy, BukkitSpeak, PluginManager, Vault, ClearLag, UltimateCore, Multiverse-Core, Questioner, LWC, WorldGuard, dynmap, HyperConomy, Jobs, WorldBorder, Towny, RegionForSale, NoItem, GriefPrevention, TownyChat

  • _ForgeUser19175640 added the tags New Defect Mar 5, 2015
  • _ForgeUser8839012 posted a comment Aug 25, 2015

    yep same issue even with out extra plugin (except for groupmanager) seems to be plugin related


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