Factions Chat Number Display

Discussion in 'Spigot Plugin Help' started by shania121, May 1, 2017.

  1. Hey guys I have download the plugin FactionsTop and I have enabled the Chat F top thing and it appear to be that when a player make a faction without claiming any land its just saying [#0] and if he claiming a land it will say hes actully number on /f top so I wonder if there is a way to disable the [#0] without any claim land and make it so only when people create a factions and actully claim a land so it will appear.

    I put a picture please take a look on it.
     

    Attached Files:

  2. Try to post the config
     
  3. # FactionsTop by Novucs.
    #
    # Configuration walkthrough:
    # - config-version: Should not be touched, determines config version.
    # - command-aliases: List of command to rebind to "/ftop".
    # - gui-settings: All settings related to GUIs.
    # - - line-count: Number of inventory lines.
    # - - inventory-name: Name used in inventory header.
    # - - layout: Fully configurable GUI layout.
    # - ignored-faction-ids: Faction IDs to not calculate for factions top.
    # - disable-chest-events: Disables chest events, improves performance.
    # - factions-per-page: Number of factions displayed per page in "/ftop".
    # - sign-update-ticks: Duration in ticks between sign updates.
    # - liquid-update-ticks: Duration in ticks between liquid economy updates.
    # - chunk-queue-size: Hard-limit maximum chunks to be queued for recalculation.
    # - chunk-recalculate-millis: Duration in millis between chunk recalculations.
    # - chat: Chat placeholder settings.
    # - - enabled: Are FactionsTop placeholders going to be used?
    # - - rank-placeholder: The text to replace in the original chat format.
    # - - rank-found: How the placeholder should look when a rank is found.
    # - - rank-not-found: How the placeholder should look when a rank is NOT found.
    # - placeholders: MVdWPlaceholderAPI settings.
    # - - faction-not-found: What to replace with when no faction is found.
    # - - enabled-ranks: The ranks to be loaded into the MVdWPlaceholderAPI.
    # - database: Various database settings, MySQL and H2 are supported.
    # - - persist-interval: Millis between database updates.
    # - - persist-factions: Saves factions in database for websites to parse.
    # - enabled: Toggles whether specific worth types should be recalculated.
    # - perform-recalculate: Toggles chunk recalculation for the listed reasons.
    # - bypass-recalculate-delay: Toggles which reason bypasses the delay.
    # - spawner-prices: Value for specific spawners.
    # - block-prices: Value for specific blocks.
    #
    # Layout types:
    # - button_back/button_next: When clicked, moves to relavent page.
    # - - enabled/disabled: Button looks, enabled when the page is available.
    # - - - text: Item name.
    # - - - lore: Item lore.
    # - - - material: Item material.
    # - - - data: Item data.
    # - faction_list: Adds a list of factions to the GUI.
    # - - faction-count: Number of factions to add to the GUI.
    # - - fill-empty: Leaves the remainder slots blank when true.
    # - - text: Item name.
    # - - lore: Item lore.
    #
    # Valid spawners (Case insensitive):
    # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
    #
    # Valid materials (Case insensitive):
    # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
    #
    # Valid worth types (Case insensitive):
    # - CHEST
    # - PLAYER_BALANCE
    # - FACTION_BALANCE
    # - SPAWNER
    # - BLOCK
    #
    # Valid recalculation reasons (Case insensitive):
    # - COMMAND
    # - UNLOAD
    # - CLAIM
    # - BREAK
    # - PLACE
    # - EXPLODE
    # - CHEST
    #
    # Placeholders:
    # Header/Footer only:
    # - {button:back} - Goes to previous page.
    # - {button:next} - Goes to next page.
    #
    # Header, footer and body:
    # - {page:back} - Previous page number.
    # - {page:this} - Current page number.
    # - {page:next} - Next page number.
    # - {page:last} - Last page number.
    #
    # Body only:
    # - {rank} - Faction rank.
    # - {relcolor} - Relation color of the faction listed to the viewer.
    # - {faction} - Faction name.
    # - {worth:total} - Total worth of faction listed.
    # - {count:total:spawner} - Total spawner count.
    # - {worth:<worth type>} - Value of a specific worth type.
    # - {count:spawner:<spawner>} - Count of a specific spawner type.
    # - {count:material:<material>} - Count of a specific material.
    #
    # MVdW Placeholders:
    # - {factionstop_name:*}
    # - - The faction name of a rank by replacing * with a number.
    # - - The faction name in last place by replacing * with "last".

    config-version: 7
    messages:
    count-format: '#,###'
    currency-format: $#,###.##
    button-back:
    enabled: '&b[<]'
    disabled: '&7[<]'
    tooltip:
    - '&dCommand: &b/f top {page:back}'
    button-next:
    enabled: '&b[>]'
    disabled: '&7[>]'
    tooltip:
    - '&dCommand: &b/f top {page:next}'
    header: '&m---------------&e Top Factions &f&m---------------'
    no-entries: '&eNo entries to be displayed.'
    body:
    text: ' &7&l* {relcolor}{faction} &7-&a {worth:total} &7(Hover To View)'
    tooltip:
    - '&aFaction Name: &d{faction}'
    - ''
    - '&dTotal Worth: &b{worth:total}'
    - ''
    - '&dSpawner Worth: &b{worth:spawner}'
    - ''
    footer: ''
    permission: '&cYou do not have permission.'
    recalculation-start: '&eAll faction totals are being resynchronized'
    recalculation-finish: '&eResynchronization of faction totals complete'
    recalculation-stop: '&eResynchronization of faction totals stopped'
    gui-settings:
    command-aliases:
    - f topgui
    line-count: 1
    inventory-name: '&lTop Factions | Page {page:this}'
    layout:
    - type: button_back
    enabled:
    text: '&bBack'
    lore: []
    material: wool
    data: 5
    disabled:
    text: '&7Back'
    lore: []
    material: wool
    data: 14
    - type: faction_list
    faction-count: 7
    fill-empty: true
    text: '&e{rank}. {relcolor}{faction} &b{worth:total}'
    lore:
    - '&aFaction Name: &d{faction}'
    - ''
    - '&dTotal Worth: &b{worth:total}'
    - ''
    - '&dChest Worth: &b{worth:chest}'
    - ''
    - '&dSpawner Worth: &b{worth:spawner}'
    - ''
    - type: button_next
    enabled:
    text: '&bNext'
    lore: []
    material: wool
    data: 5
    disabled:
    text: '&7Next'
    lore: []
    material: wool
    data: 14
    settings:
    command-aliases:
    - f top
    ignored-faction-ids:
    - none
    - safezone
    - warzone
    - '0'
    - '-1'
    - '-2'
    disable-chest-events: false
    factions-per-page: 10
    sign-update-ticks: 1
    liquid-update-ticks: 100
    chunk-queue-size: 200
    recalculate-chunks-per-tick: 50
    chunk-recalculate-millis: 120000
    chat:
    enabled: true
    rank-placeholder: '{factions_top_rank}'
    rank-found: '&8[&c#{rank}&8] '
    rank-not-found: ''
    placeholders:
    faction-not-found: ''
    enabled-ranks:
    - 1
    - 2
    - 3

    database:
    jdbc-url: jdbc:h2:./plugins/FactionsTop/database
    username: root
    password: pa$$w0rd
    maximum-pool-size: 10
    max-lifetime: 5000
    idle-timeout: 5000
    connection-timeout: 5000
    persist-interval: 60000
    persist-factions: false
    enabled:
    chest: true
    player_balance: false
    faction_balance: false
    spawner: true
    block: false
    perform-recalculate:
    command: true
    unload: true
    claim: true
    break: true
    place: true
    explode: true
    chest: true
    bypass-recalculate-delay:
    command: true
    unload: true
    claim: true
    break: false
    place: false
    explode: false
    chest: false
    spawner-prices:
    iron_golem: 1000000.0
    creeper: 750000.0
    blaze: 500000.0
    pig_zombie: 300000.0
    enderman: 300000.0
    skeleton: 50000.0
    zombie: 50000.0
    spider: 30000.0
    mushroom_cow: 25000.0
    cow: 25000.0
    pig: 10000
    block-prices:
     
  4. The only thing that you can do is.. contact the author. The solution are two: First you can call a dev to remake it or second, you must contact the author.

    My last suggestion (but i think it's useless), set the rank-not-fount with a color code Like &r and not blanl

    But i think that the problem don't is of the f top plugin while is the main plugin, Factions (or UUID). I think that until a faction claim a Land he don't have any nothing at the column claim, and for this the plugin detect a 0
     
    • Agree Agree x 1