Jump to content
  • 0

Scoreboard error


_U4R1A_

Question

So im making a gen server, and I want it to show the gens placed/gen cap on the scoreboard

Using "Scoreboard" plugin by HelloItsRien

only thing is, when I put in the gens placed and gen cap thing, it says "An internal error occured while trying to execute this command" when I reload the scoreboard. The gens placed thing is %{gens::%player's uuid%}% and the gen cap thing is %{gencap::%player's uuid%}%

(look near the bottom of the skript)

#  ____  ____  ____  ____  _____ ____  ____  ____  ____  ____
# / ___\/   _\/  _ \/  __\/  __//  _ \/  _ \/  _ \/  __\/  _ \
# |    \|  /  | / \||  \/||  \  | | //| / \|| / \||  \/|| | \|
# \___ ||  \_ | \_/||    /|  /_ | |_\\| \_/|| |-|||    /| |_/|
# \____/\____/\____/\_/\_\\____\\____/\____/\_/ \|\_/\_\\____/
#
# Scoreboard-r by Rien Bijl
# rep: github : RienBijl/Scoreboard-revision
# v: 1.4.2 RELEASE

settings:
  # Safe-mode determines if scoreboard is synchronized with the server (true) or asynchronized (false)
  # Synchronized (safe-mode: true) is more stable and robust
  # Asynchronized (safe-mode: false) is more faster but can cause strange problems in some cases
  safe-mode: false
  # If the server version is 1.13 or higher, enable longline.
  # true: you can use 128 characters per line (1.13 and up)
  # false: you can use 32 characters per line (1.12 and down)
  longline: true

# In what worlds should we disable scoreboard?
disabled-worlds:
  - 'non_existant_world'

board:
  title:
    interval: 5
    liner:
      - '&eV&6alkryGens'
      - '&eV&6alkryGens'
      - '&eV&6alkryGens'
      - '&eV&6alkryGens'
      - '&eV&6alkryGens'
      - '&eV&6alkryGens'
      - '&6V&ea&6lkryGens'
      - '&6Va&el&6kryGens'
      - '&6Val&ek&6ryGens'
      - '&6Valk&er&6yGens'
      - '&6Valkr&ey&6Gens'
      - '&6Valkry&eG&6ens'
      - '&6ValkryG&ee&6ns'
      - '&6ValkryGe&en&6s'
      - '&6ValkryGen&es'
      - '&6ValkryGen&es'
      - '&6ValkryGen&es'
      - '&6ValkryGe&en&6s'
      - '&6ValkryG&ee&6ns'
      - '&6Valkry&eG&6ens'
      - '&6Valkr&ey&6Gens'
      - '&6Valk&er&6yGens'
      - '&6Val&ek&6ryGens'
      - '&6Va&el&6kryGens'
      - '&6V&ea&6lkryGens'

  rows:
    1:
      interval: 5
      liner:
      - '&6------------------------'
      - '&e------------------------'
    2:
      interval: 80
      liner:
      - '&6Player:'
    3:
      interval: 80
      liner:
      - '&e%player_name%'
    4:
      interval: 80
      liner:
      - ''
    5:
      interval: 80
      liner:
      - '&6Ping:'
    6:
      interval: 5
      liner:
      - '&e%player_ping% ms'
    7:
      interval: 80
      liner:
      - ''
    '8':
      interval: 80
      liner:
      - '&6Players Online:'
    '9':
      interval: 20
      liner:
      - "&e%playerlist_online,normal,yes,amount%"
    10:
      interval: 80
      liner:
      - ''
    11:
      interval: 80
      liner:
      - '&6Gens Placed:'
    12:
      interval: 80
      liner:
      - '&e%{gens::%player's uuid%}%&e/%{gencap::%player's uuid%}%'
    50:
      interval: 5
      liner:
      - '&6------------------------'
      - '&e------------------------'

Error code found in logs:

expected <block end>, but found '<scalar>'
 in 'string', line 104, column 28:
          - '&e%{gens::%player's uuid%}%&e/%{gencap::%player's  ... 
                               ^

 

Edited by _U4R1A_
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...