📖
SteveSus
  • Introduction
  • Configuration
    • config.yml
  • Hooks
    • PlaceholderAPI
  • Development
    • Getting Started
    • Maven Repo
Powered by GitBook
On this page
  • Common Placeholders
  • MiniGame-Side Placeholders
  • Connector-Side Placeholders

Was this helpful?

  1. Hooks

PlaceholderAPI

Additional placeholders that you can use in other plugins.

You can use someone else's placeholders provided by PlaceholdersAPI almos everywhere in SteveSus and SteveSus-Connector.

Common Placeholders

Common placeholders are provided both by the mini-game plugin and proxy-connector plugin.

Placeholder

Description

%stevesus_global_player_count%

Fetch players number (in-game) from all arenas.

%stevesus_global_spectator_count%

Fetch spectators number from all arenas.

%stevesus_global_user_count%

Fetch total players and spectators number from all arenas.

%stevesus_global_arena_count%

Fetch amount of active games.

%stevesus_game_count_template_NAME%

Fetch amount of active games from the given template. NAME must be replaced with a template name.

%stevesus_game_player_count_TAG%

Fetch amount of players from the given arena. TAG must be replaced with a game identifier. Usually numbers. On connector-side tag is composed by server:id.

%stevesus_game_spectator_count_TAG%

Fetch amount of spectators from the given arena. TAG must be replaced with a game identifier. Usually numbers. On connector-side tag is composed by server:id.

%stevesus_game_user_count_TAG%

Fetch amount of players and spectators from the given arena. TAG must be replaced with a game identifier. Usually numbers. On connector-side tag is composed by server:id.

%stevesus_game_state_TAG%

Fetch game state in requester's language. TAG must be replaced with a game identifier. Usually numbers. On connector-side tag is composed by server:id.

%stevesus_stats_first_play%

Get first play date. Formatted using requester's language.

%stevesus_stats_last_play%

Get last play date. Formatted using requester's language.

%stevesus_stats_games_played%

Get games played.

%stevesus_stats_games_won%

Games won.

%stevesus_stats_games_lost%

Games lost.

%stevesus_stats_games_abandoned%

Games abandoned. Useful for a hall of shame.

%stevesus_stats_kills%

Kills made as an impostor.

%stevesus_stats_sabotages%

Sabotages made as an impostor.

%stevesus_stats_sabotages_fixed%

Amount of fixed sabotages.

%stevesus_stats_tasks%

Tasks done.

MiniGame-Side Placeholders

These placeholders can be used only on a mini-game server.

Placeholder

Description

%stevesus_game_user_count_current%

Get amount of players and spectators on current game.

%stevesus_game_player_count_current%

Get amount of players on current game.

%stevesus_game_spectator_count_current%

Get amount of spectators on current game.

%stevesus_game_state_current%

Get current game state translated in requester's language.

%stevesus_game_is_spectator%

Returns true/ false if requesters is spectating.

%stevesus_game_is_player%

Returns true/ false if requesters is playing.

%stevesus_game_kills%

Player kills in current game.

%stevesus_game_sabotages%

How many sabotages a player activated in current game.

%stevesus_game_sabotages_fixed%

How many sabotages a player fixed in current game.

%stevesus_game_tasks%

Finished tasks in current game.

Connector-Side Placeholders

These placeholders can be used with connector plugin only.

Placeholder

Description

%stevesus_game_count_node_NAME%

Get amount of active games on the given node/ slave. NAME must be replaced with a slave identifier.

Previousconfig.ymlNextGetting Started

Last updated 4 years ago

Was this helpful?