MT-CTF / capturetheflag

Capture the Flag game using the Minetest Voxel Engine
https://ctf.rubenwardy.com
81 stars 88 forks source link

Adding a command that prints the current map: /map #1215

Closed Lucyucy closed 1 year ago

Lucyucy commented 1 year ago

Prints the current map name and map author

src4026 commented 1 year ago

How about also adding the map duration? I remember LandarVargan saying it would be nice to do so with a command like /map when I once had a go with it, but left it for later.

olliy1or commented 1 year ago

Also isn't there already a command named /map?

EDIT: nvm i think its /maps

LoneWolfHT commented 1 year ago

Someone can do a followup PR that moves the current map duration to the ctf_modebase/ctf_map table https://github.com/MT-CTF/capturetheflag/blob/d8da51378d505248061d3b1abfecf013112dd113/mods/ctf/ctf_modebase/summary.lua#L22