âī¸Config.json
Here you will learn everything about the Config.json file
Here you will have information on most of variables that are easy to understand
General configuration
Variable | Description | Default |
PREFIX | Prefix of most of messages | &fElytraRacing &c>> &f |
max_info_per_page | Maximum amount of information per page of chat commands | 10 |
ParticleRatio | Ratio of particle to draw shapes | 4 |
ER_SHOW_TRAIN | Is the command /er train is displayed in the /er help | true |
ER_SHOW_SHOW | Is the command /er play is displayed in the /er help | true |
ER_TRAIN_MAPS | List of maps available for training (["map1","map2"]) | [] |
ER_TRAIN_ENABLE | Is training is available | true |
SIGN_RELOAD_SEC | Interval between sign's refresh (seconds) | 3 |
TELEPORT_SOLVER | When you teleport to a location, you are teleported 0.5 above to avoid problems.false | false |
UNLOCK_DISTANCE | Maximum distance between you are the object that you locked before being unlocked | 100 |
ITEM_DEFAULT_PRECISION_LOC | Default precision for location mouvement | 0.25 |
ITEM_DEFAULT_PRECISION_DEGREE | Default precision for angle rotation | 2.5 |
SEPERATE_GAMES_HIDE_PLAYERS | Is the tab list are separated from other games and the server | true |
CUSTOM_AND_SEPARATED_CHAT | Separate chat between games and the server (The players send messages in the game but can see messages from the global server) | false |
PARTICLE_VIEW_DISTANCE | Maximum distance to show an object | 250 |
Holograms
Variable | Description | Default |
HOLOGRAMS_UPDATEINTERVAL | Interval between hologram's refresh | 60000 |
HOLOGRAMS_LINESPACE | Space between two lines | 0.29 |
HOLOGRAMS_RANK_LIMIT | Rank limit displayed by an hologram | 15 |
HOLOGRAMS_FAKE_LINES | Is the hologram complete the rank limit with fake lines | false |
HOLOGRAMS_PERSONAL_MAPS_MAX | Maximum amount of maps statistics displayed for personal hologram | 10 |
HOLOGRAMS_0_SHOW | Is the hologram display player' score equals to 0 | true |
HOLOGRAMS_RANK_DUPLICATION | Is hologram show duplicated ranks (as for example 2 players at the second place) | true |
Replay sytem (ended in 1.1.2) : Not enough stable and reliable
The replay system is not perfect but does the job
Variable | Description | Default |
REPLAYS | Is the replay system activated | true |
REPLAY_FORMAT_16MAXCHAR | Replay NPC's username | &7{MINUTES}m {SECONDS}.{MILLISECONDS}s |
REPLAYS_SHOWSKINS | Is Replay NPC have skins | true |
REPLAY_MAXSIZE_CHAR | Maximum size of saved text per replay | 1000000 |
MySQL configuration
Variable | Description | Default |
/database | Path location for SQLite | /database |
SQL_STATS_INTERVAL | Interval between every call to database for player' stats | 10000 |
SQL_USE_CUSTOM_SQL | Set to true if you want to use your MySQL server | false |
SQL_CUSTOM_SQL_HOST | Host of your database | |
SQL_CUSTOM_SQL_PORT | Port of your database | |
SQL_CUSTOM_SQL_DATABASE | Name of the database | |
SQL_CUSTOM_SQL_USER | User of your database | |
SQL_CUSTOM_SQL_PASSWORD | Password of your database | |
SQL_CUSTOM_SQL_TYPE | Database type only support MySQL | mysql |
SQL_SAVE_HOST_STATS | Is player' stats in hosted game is saved | true |
Pre-Game configuration
Variable | Description | Default |
TimerStart | Countdown of games | 30 |
TimerStartFull | Countdown of games if full | 15 |
Host configuration
Variable | Description | Default |
TimerStart_host | Countdown of host game | 15 |
Max_maps_per_games | Maximum number of maps possible | 4 |
Max_alert_host | Maximum number of alert possible | 3 |
Host configuration (Map testing)
Variable | Description | Default |
GUI_MAPTESTING_MAXPLAYER | Maximum number of player in a map testing host | 10 |
GUI_MAPTESTING_PERMISSION | Permission to join a map testing host as default | null |
Spectators configuration
Variable | Description | Default |
AutoTP_Spec_Distance | Distance from the nearest player before being teleported back to the map | 75 |
Game configuration
Variable | Description | Default |
TP_ON_HIT | Is a player is teleported back if he touches a block | true |
LineHelper | Is a line is drawn toward the next checkpoint to help the player | true |
NEXT_CHECKPOINT_PARTICLE | Particule used to draw LineHelper | END_ROD |
TimerRound | Countdown rounds | 15 |
MAP_DIFICULTY | Is difficulty of the map is displayed | true |
MAP_DIFFICULTY_DEFAULT | Default difficulty | 3 |
MAP_DIFFICULTY_MAX | Maximum difficulty | 5 |
DNF_POINT | Score that will be given when player DNF in grandprix (disable: -1) | -1 |
TABLIST_GRANDPRIX | Enable or disable the custom tab list in grandprix | true |
DNF_INSTANT_QUIT | When you DNF you instant quit your game is you are in racemode | false |
COMMANDS_WHITELIST | Enable or disable a command whitelist in a game | false |
SPECTATOR_ITEM | Give the player the object to become a spectator at the end of his run | true |
STATIC_ITEMS | Make items static | true |
End game
Variable | Description | Default |
RankingMaxPlayers | Amount of players shown in leader boards | 8 |
PODIUM_FIREWORKS | Enable or disable fireworks on podium | true |
PODIUM_FIREWORK_NUMBER | Number of fireworks fired from the podium | 10 |
END_TIME | Time before the game automatically close itself (seconds) | 30 |
Command execution (COMMAND_EXECUTION_PER_RANK_)
Commands are executed at the end of the game according to a player rank
"1": "[CONSOLE]/give {SELF_PLAYER} minecraft:cookie {SCORE} §%§[PLAYER]/tell {SELF_PLAYER} you executed a command"
This mean that the console will execute the command /give {SELF_PLAYER} minecraft:cookie {SCORE} and the player will execute the command /tell {SELF_PLAYER} you executed a command and replace {SELF_PLAYER} with the player's name and {SCORE} by the score the player had in a grandprix.
"1" Means that it will work for the player who won
"-999" Means that every players that don't have commands here will execute command
Note that "§%§" separate 2 commands
OneGame
More information here
Last updated