Add: long name for motd
This commit is contained in:
parent
d8abcbb05b
commit
5c46eb1188
@ -189,7 +189,7 @@ factions.register_command({"description", "desc"}, {
|
|||||||
format = {"string"},
|
format = {"string"},
|
||||||
faction_permissions = {"description"},
|
faction_permissions = {"description"},
|
||||||
description = "Set your faction's description",
|
description = "Set your faction's description",
|
||||||
description_arg = " <desc, description>:",
|
description_arg = " <description>:",
|
||||||
global_privileges = def_global_privileges,
|
global_privileges = def_global_privileges,
|
||||||
ignore_param_limit = true,
|
ignore_param_limit = true,
|
||||||
on_success = function(player, faction, pos, parcelpos, args)
|
on_success = function(player, faction, pos, parcelpos, args)
|
||||||
@ -286,10 +286,10 @@ factions.register_command("privs", {
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
factions.register_command("motd", {
|
factions.register_command({"message_of_the_day", "motd"}, {
|
||||||
format = {"string"},
|
format = {"string"},
|
||||||
faction_permissions = {"motd"},
|
faction_permissions = {"motd"},
|
||||||
description = "Sets the message that shows up every time a faction member logs-in",
|
description = "Sets the message that shows up every time a faction member logs in.",
|
||||||
description_arg = " <message>:",
|
description_arg = " <message>:",
|
||||||
global_privileges = def_global_privileges,
|
global_privileges = def_global_privileges,
|
||||||
ignore_param_limit = true,
|
ignore_param_limit = true,
|
||||||
|
Loading…
Reference in New Issue
Block a user