Need Help With Objectives,PlaceholderAPI, and scoreboardstats.

Discussion in 'Bukkit Help' started by Raidenmineo1, Aug 5, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    Raidenmineo1

    Code:
    # Main configuration
    
    # Compatible mode for other plugins like HealthBar, ColoredTags, GhostPlayer, McCombatLevel, etc. ......
    # or the vanilla scoreboard
    # In case you miss the log message: this option requires the plugin called ProtocolLib
    # This option will work around the Bukkit API and will send raw packets
    compatibilityMode: true
    
    # Should be the node disabled-worlds handled as whitelist or blacklist
    disabled-worlds-whitelist: false
    
    disabled-worlds:
      - city
    
    Scoreboard:
      Title: '&6&lStats'
      # seconds
      # For instant updates you can or 1 and it will update every second
      Update-delay: 1
      Items:
      # The Title must have under 48 characters
      # Title: Type
      '&9Online': '%online%'
      '&AMoney': '%money%'
      '&9Ping': '%ping%'
      '&CHealth': '%player_health%'
      '&CLevel': '%player_level%'
      # Your can choose your custom score here
      '&1MagePoints': '%objective_score_MagePoints_Dummy%'
    
    # Let ScoreboardStats track stats (kills, deaths, mobkills, killstreak) You need no plugin for this
    enable-pvpstats: true
    Temp-Scoreboard-enabled: false
    
    Temp-Scoreboard:
      Title: '&a&lTop Kills'
      # %mob% | %kills% | %deaths% | %killstreak% | %kdr%
      Type: '%kills%'
      Color: '&9'
      # How many Players would be displayed
      Items: 5
      Intervall-show: 300
      Intervall-disappear: 300
    

    -----------------------------------------------------------------------------------------------------------------------

    So that is the config for my Scoreboard-Statistics. Every title works fine until I put in " '&1MagePoints': '%objective_score_MagePoints_Dummy%' ". Then everything using placeholderAPI breaks, giving me a value of -1. I'm trying to link my ingame dummy objective named "MagePoints" to scoreboardstats sidebar. Any tips?
     
    Last edited by a moderator: Aug 5, 2019
Thread Status:
Not open for further replies.

Share This Page