Placeholders
To use with PlaceholderAPI.
- Your own placeholders
-
%staroneblock_tem_ilha%yes/nao
-
%staroneblock_id%the island number (1, 2, 3...)
-
%staroneblock_nome%the name of the island
-
%staroneblock_dono%the owner's nickname
-
%staroneblock_cargo%the player's role on the island
-
%staroneblock_nivel%the island level
-
%staroneblock_valor%the value of the island
-
%staroneblock_valor_curto%the abbreviated value (1.5K)
-
%staroneblock_banco%the balance of the island's bank
-
%staroneblock_banco_curto%the abbreviated balance
-
%staroneblock_blocos%blocks already broken in the core
-
%staroneblock_blocos_fase%broken blocks in this stage
-
%staroneblock_membros%how many people are on the island
-
%staroneblock_membros_max%How many vacancies does the island have?
-
%staroneblock_tamanho%the side of the protected square
-
%staroneblock_barreira%the written size, like 60x60 (for the hologram)
-
%staroneblock_aberta%yes/nao
-
%staroneblock_posicao%position in the ranking
-
%staroneblock_impulso%the active multiplier (or -)
-
%staroneblock_impulso_tempo%how much momentum is missing
-
%staroneblock_fase%the name of the phase, already colored
-
%staroneblock_fase_proxima%the next phase
-
%staroneblock_fase_id%the phase id
-
%staroneblock_fase_numero%the phase number
-
%staroneblock_fase_total%how many phases are there
-
%staroneblock_fase_meta%blocks to complete the level
-
%staroneblock_fase_porcento%progress in percent
- The progress bar
-
%staroneblock_barra%the bar ready, in the size of the config
-
%staroneblock_barra_20%the same bar with 20 spaces
- The number at the end chooses the length, so the same island fits on the scoreboard
- narrow and wide hologram without you having to choose a single size.
- As it comes, it leaves like this:
-
&8[&a██████&7████&8]The entire drawing is yours, in the "Progress bar" section of config.yml:
-
Prefixo'&8[' <- what comes before (leave '' to remove the frame)
-
Sufixo'&8]' <- what comes next
-
Cheio'█' <- change to | if you prefer the thin bar
-
Vazio'█'
-
Tamanho10 <- the standard of those who don't order a size
-
Cor cheia'&a'
-
Cor vazia'&7'
- PLACE's island, not the player's
- Put "aqui_" in front of anyone: %staroneblock_aqui_dono%,
-
%staroneblock_aqui_fase%, %staroneblock_aqui_barra%... Responde sobre a ilhawhere the person is stepping, what is used for a sign and a hologram.
- Ranking
-
%staroneblock_top_<campo>_<posicao>%, com campo em nome, dono, nivel, valor, -
blocos ou banco. Exemplo%staroneblock_top_name_1% and %staroneblock_top_value_1%.
- When the player does not have an island yet
- You choose what appears, at mensagens.yml:
-
Placeholder: -
Sem ilha'&cNo Info'
-
Sem ilha nos numeros'0'
-
São dois de propósitoon a scoreboard, "Level: 0" is right where
-
"NivelWithout Info" would be crooked. Leave '' (empty) in either of the two to
- the line comes out blank.
- Compatibility with those who are changing plugin
- StarOneBlock ALSO responds to placeholders in the format %oneblock_...%, the
- same names that others plugins from OneBlock use. The scoreboard, the tab and the
- boards you already have continue to work without a line rewrite.
-
%oneblock_island_id%the island number
-
%oneblock_island_name%the name of the island
-
%oneblock_island_owner%the owner of the island
-
%oneblock_island_level%the island level
-
%oneblock_island_value%the value of the island
-
%oneblock_island_balance%the island bank
-
%oneblock_island_blocks%broken blocks in total
-
%oneblock_island_current_blocks%broken blocks in this stage
-
%oneblock_island_phase%the current phase (already colored)
-
%oneblock_island_next_phase%the next phase
-
%oneblock_island_percent_phase%stage progress in percent
-
%oneblock_island_phase_bar%the progress bar
-
%oneblock_island_bar_20%the bar with the length you request
-
%oneblock_island_members%how many members were invited
-
%oneblock_island_visitors%how many people from abroad are on the island now
-
%oneblock_island_bans%how many are barred
-
%oneblock_island_open%true/false
-
%oneblock_island_rank%the position in the level ranking
-
%oneblock_island_rank_value%position in the value ranking
-
%oneblock_island_border%the written size, like 60x60
-
%oneblock_island_x% e %oneblock_island_z%where is the central block
-
%oneblock_player_fly%true/false
-
%oneblock_player_chat%true/false
-
%oneblock_top_<posicao>%the name of the island in that position
-
%oneblock_top_blocks_<posicao>%island blocks in that position
-
%oneblock_top_value_<posicao>%value of the island in that position
- Extras that only exist here: %oneblock_island_members_total%,
-
%oneblock_island_max_members%, %oneblock_island_size%, -
%oneblock_island_phase_id%, %oneblock_island_phase_number%, -
%oneblock_island_phase_total%, %oneblock_island_phase_blocks% e -
%oneblock_island_y%.If another plugin on the server already uses this prefix, it remains with whoever registered it
- first and the warning appears in the console — the %staroneblock_...% are still valid.
-
Para desligarCompatibility > Oneblock Placeholders, no config.yml.