-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📝 add config documentation to README
- Loading branch information
Showing
4 changed files
with
107 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
|
||
# C O N F I G • D E S C R I P T I O N S | ||
|
||
- `game`: | ||
- `durations`: | ||
- `game`: how long does the game last | ||
- `gameLoop`: refresh interval of the info actionbar | ||
- `refill`: how fast the snowballs will refill | ||
- `respawn`: time from death until respawn | ||
- `shot`: how fast a player can shoot | ||
- `kill`: cooldown until a player can kill again after a kill | ||
- `timer`: how long the timer should count down until start | ||
- `restart`: time to wait after a game until automatic restart | ||
- `noReplace`: blocks that shouldn't be replaced | ||
- `autostart`: should the game start automatically when enough players joined | ||
- `minimumPlayers`: minimum players to start automatically | ||
- `teams`: list of teams | ||
- `material`: material used to replace blocks (`RED`|`BLUE`), only one team per material | ||
- `displayName`: name used for the team | ||
- `spawn`: set ingame with `/paintball teamspawn •••` | ||
- `x`: x-pos | ||
- `y`: y-pos | ||
- `z`: z-pos | ||
- `yaw`: yaw (rotation left-right) | ||
- `pitch`: pitch (rotation up-down) | ||
- `colorRadius`: radius of the color | ||
- `arenaWorldName`: name of the base world to copy for an arena | ||
- `theme`: | ||
- `default`: default text color | ||
- `highlight`: highlight text color | ||
- `secondary`: secondary text color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# C O N F I G (see README → https://github.com/crightgames/Paintball) | ||
# config should only be edited when the server is stopped, since | ||
# otherwise changes will be overwritten | ||
|
||
game: | ||
==: de.crightgames.blxckoxymoron.paintball.game.config.GameConfig | ||
durations: | ||
game: | ||
==: de.crightgames.blxckoxymoron.paintball.game.config.ConfigDuration | ||
duration: 2 | ||
unit: MINUTES | ||
gameLoop: | ||
==: de.crightgames.blxckoxymoron.paintball.game.config.ConfigDuration | ||
duration: 500 | ||
unit: MILLISECONDS | ||
refill: | ||
==: de.crightgames.blxckoxymoron.paintball.game.config.ConfigDuration | ||
duration: 750 | ||
unit: MILLISECONDS | ||
respawn: | ||
==: de.crightgames.blxckoxymoron.paintball.game.config.ConfigDuration | ||
duration: 10 | ||
unit: SECONDS | ||
shot: | ||
==: de.crightgames.blxckoxymoron.paintball.game.config.ConfigDuration | ||
duration: 100 | ||
unit: MILLISECONDS | ||
kill: | ||
==: de.crightgames.blxckoxymoron.paintball.game.config.ConfigDuration | ||
duration: 15 | ||
unit: SECONDS | ||
timer: | ||
==: de.crightgames.blxckoxymoron.paintball.game.config.ConfigDuration | ||
duration: 10 | ||
unit: SECONDS | ||
restart: | ||
==: de.crightgames.blxckoxymoron.paintball.game.config.ConfigDuration | ||
duration: 30 | ||
unit: SECONDS | ||
noReplace: | ||
- REDSTONE_LAMP | ||
- GLOWSTONE | ||
- BARREL | ||
- BEACON | ||
- BEDROCK | ||
autostart: true | ||
minimumPlayers: 4 | ||
teams: | ||
- ==: de.crightgames.blxckoxymoron.paintball.game.config.ConfigTeam | ||
material: BLUE | ||
displayName: §3Blau§r | ||
spawn: null | ||
- ==: de.crightgames.blxckoxymoron.paintball.game.config.ConfigTeam | ||
material: RED | ||
displayName: §4Rot§r | ||
spawn: null | ||
colorRadius: 3 | ||
arenaWorldName: arena | ||
theme: | ||
==: de.crightgames.blxckoxymoron.paintball.game.config.ThemeConfig | ||
default: RESET | ||
highlight: AQUA | ||
secondary: GRAY |