gameServer/CommandHelp.hs
changeset 13727 69a913e064e3
parent 13704 54eb4c774ef5
child 13847 1738ae8c8e75
equal deleted inserted replaced
13726:247d1bcf3c5e 13727:69a913e064e3
    52 
    52 
    53 cmdHelpSharedAdmin :: [B.ByteString]
    53 cmdHelpSharedAdmin :: [B.ByteString]
    54 cmdHelpSharedAdmin = [
    54 cmdHelpSharedAdmin = [
    55     loc "/global <message>: Send global chat message which can be seen by everyone on the server",
    55     loc "/global <message>: Send global chat message which can be seen by everyone on the server",
    56     loc "/registered_only: Toggle 'registered only' state. If enabled, only registered players can join server",
    56     loc "/registered_only: Toggle 'registered only' state. If enabled, only registered players can join server",
    57     loc "/super_power: Activate your super power. With it you can enter any room and are protected from kicking. Expires when you leave server",
    57     loc "/super_power: Activate your super power. With it you can enter any room and are protected from kicking. Expires when you leave server"
    58     -- TODO: Add help for /save
       
    59     loc "/save <parameter>"
       
    60     -- TODO: Add /restart_server? This command seems broken at the moment
    58     -- TODO: Add /restart_server? This command seems broken at the moment
    61     ]
    59     ]
    62 
    60 
    63 cmdHelpLobbyOnlyAdmin :: [B.ByteString]
    61 cmdHelpLobbyOnlyAdmin :: [B.ByteString]
    64 cmdHelpLobbyOnlyAdmin = [
    62 cmdHelpLobbyOnlyAdmin = [
    68 cmdHelpRoomOnlyAdmin :: [B.ByteString]
    66 cmdHelpRoomOnlyAdmin :: [B.ByteString]
    69 cmdHelpRoomOnlyAdmin = [
    67 cmdHelpRoomOnlyAdmin = [
    70     loc "/force <yes/no>: Force vote result for active vote",
    68     loc "/force <yes/no>: Force vote result for active vote",
    71     loc "/fix: Force this room to stay open when it is empty",
    69     loc "/fix: Force this room to stay open when it is empty",
    72     loc "/unfix: Undo the /fix command",
    70     loc "/unfix: Undo the /fix command",
    73     loc "/saveroom <file name>: Save room configuration into a file",
    71     loc "/save <config ID> <config name>: Add current room configuration as votable choice for /callvote map",
    74     loc "/loadroom <file name>: Load room configuration from a file",
    72     loc "/delete <config ID>: Delete a votable room configuration",
    75     -- TODO: Add help for /delete
    73     loc "/saveroom <file name>: Save all votable room configurations (and the greeting) of this room into a file",
    76     loc "/delete <parameter>"
    74     loc "/loadroom <file name>: Load votable room configurations (and greeting) from a file"
    77     ]
    75     ]
    78 
    76 
    79 cmdHelpHeaderLobby :: [B.ByteString]
    77 cmdHelpHeaderLobby :: [B.ByteString]
    80 cmdHelpHeaderLobby = [ loc "List of lobby chat commands:" ]
    78 cmdHelpHeaderLobby = [ loc "List of lobby chat commands:" ]
    81 
    79