capturetheflag/docs/doc_settings.md

60 lines
5.2 KiB
Markdown

# ctf
| name | default value | description |
| -------------------------- | ------------- | ---------------------------------------------------------------- |
| allocate_mode | 0 | 0=off, 1=firstnonfullteam, 2=RandomOfSmallestTwo, 3=SmallestTeam |
| autoalloc_on_joinplayer | true | Trigger auto alloc on join player |
| default_diplo_state | "war" | "war", "alliance" or "peace" |
| diplomacy | true | Is diplomacy enabled |
| friendly_fire | true | True if players can't hit other players on their team |
| maximum_in_team | -1 | Player cap |
| players_can_change_team | true | |
| hud | true | Enable HUD |
| gui | true | Enable GUI |
| gui.team | true | Whether to show team gui (/team) |
| gui.team.initial | "news" | Initial tab |
| gui.tab.diplo | true | Show diplo tab |
| gui.tab.news | true | Show news tab |
| gui.tab.settings | true | Show settings tab |
| spawn_offset | {x=0, y=0, z=0} | Offset of static spawn-point from team-base |
# ctf_chat
| name | default value | description |
| -------------------------- | ------------- | ---------------------------------------------------------------- |
| chat.default | "global" | "global" or "team" |
| chat.global_channel | true | |
| chat.team_channel | true | |
# ctf_colors
| name | default value | description |
| -------------------------- | ------------- | ---------------------------------------------------------------- |
| colors.nametag | true | Whether to colour the name tagColour nametag |
| colors.nametag.tcolor | false | Base nametag colour on team colour |
| colors.skins | false | Team skins are coloured |
# ctf_flag
| name | default value | description |
| -------------------------- | ------------- | ---------------------------------------------------------------- |
| flag.alerts | true | Prompts like "X has captured your flag" |
| flag.alerts.neutral_alert | true | Show prompt in neutral state, ie: "attack and defend!" |
| flag.allow_multiple | true | Teams can have multiple flags |
| flag.capture_take | false | Whether a player needs to return flag to base to capture |
| flag.drop_time | 420 | Time in seconds before a player drops the flag they're holding |
| flag.drop_warn_time | 60 | Warning time before drop |
| flag.nobuild_radius | 3 | Area around flag where you can't build |
| flag.names | true | Enable naming flags |
| flag.protect_distance | 25 | Area protection distance |
| flag.waypoints | true | Enable waypoints to flags |
| flag.crafting | false | Enable the crafting of flags |
| gui.tab.flags | true | Show flags tab |
| gui.team.teleport_to_flag | true | Enable teleport to flag button in flags tab |
| gui.team.teleport_to_spawn | false | Enable teleport to spawn button in flags tab |
# ctf_protect
| name | default value | description |
| -------------------------- | ------------- | ---------------------------------------------------------------- |
| node_ownership | true | Whether node protection per team is enabled |