1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Merge pull request #622 from Refactorio/enable_server_search_command

Update redmew_commands.lua
This commit is contained in:
Lynn 2019-01-03 18:10:22 +01:00 committed by GitHub
commit 30829b20eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,7 +199,7 @@ Command.add(
description = 'Will kill you.',
arguments = {'player'},
default_values = {player = false},
allowed_by_server = true
allowed_by_server = true,
},
kill
)
@ -208,7 +208,7 @@ Command.add(
'afk',
{
description = 'Shows how long players have been afk.',
allowed_by_server = true
allowed_by_server = true,
},
afk
)
@ -217,7 +217,7 @@ Command.add(
'zoom',
{
description = 'Sets your zoom.',
arguments = {'zoom'}
arguments = {'zoom'},
},
zoom
)
@ -226,7 +226,7 @@ Command.add(
'find',
{
description = 'shows an alert on the map where the player is located',
arguments = {'player'}
arguments = {'player'},
},
find_player
)
@ -234,7 +234,7 @@ Command.add(
Command.add(
'show-rail-block',
{
description = 'Toggles rail block visualisation.'
description = 'Toggles rail block visualisation.',
},
show_rail_block
)
@ -243,7 +243,7 @@ Command.add(
'server-time',
{
description = "Prints the server's time.",
allowed_by_server = true
allowed_by_server = true,
},
server_time
)
@ -253,7 +253,8 @@ Command.add(
{
description = 'Search for commands matching the keyword in name or description',
arguments = {'keyword', 'page'},
default_values = {page = 1}
default_values = {page = 1},
allowed_by_server = true,
},
search_command
)
@ -265,7 +266,7 @@ Command.add(
{
description = 'Reports a user to admins',
arguments = {'player', 'message'},
capture_excess_arguments = true
capture_excess_arguments = true,
},
Report.report_command
)
@ -274,7 +275,7 @@ Command.add(
'regulars',
{
description = 'Prints a list of game regulars.',
allowed_by_server = true
allowed_by_server = true,
},
UserGroups.print_regulars
)