Go to file
Erik Kundiman 971f131ba7
Discord without auth & "Hidden Region" instead of blank (#4496)
* Rich Presence w/o requiring access to friends list

Thank you Signal Linden for the pointer from https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#af0a85e30f2b3d8a0b502fd23744ee58e
"Note: On Desktop, rich presence can be set before calling Client::Connect, but it will be cleared if the Client connects. When Client is not connected, this sets the rich presence in the current user's Discord client when available."
This lead me to setting the Application ID here https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ad452335c06b28be0406dab824acccc49 in place of setting it on
https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1AuthorizationArgs.html which would lead Authorize, GetToken, UpdateToken, Connect, and so on.
This means we don't even need the SecAPI saveCredential, loadCredential and deleteCredential parts now.

* Discord integration is enabled by default per spec

now that we don't need the user to authorise Discord SDK to have
any access to the user's friends list, etc. (which are Discord
Relationships related, and not needed just for Rich Presence).

* "Hidden Region" if Discord location sharing is off

instead of blank. The coords are hidden too, but the Party numbers
are still shown, for consistency with TPVs' implementations.

* Remove toggleDiscordIntegration declaration

The definition had already been removed, I had forgotten to remove
this one.
2025-08-08 10:45:26 -07:00
.github Merge release/2025.05 into develop 2025-08-06 14:17:18 +03:00
doc Update test plan to match current functionality per suggested/requested change in #4406 2025-07-26 14:02:22 +03:00
etc fixup tabs 2024-03-11 14:41:12 -07:00
indra Discord without auth & "Hidden Region" instead of blank (#4496) 2025-08-08 10:45:26 -07:00
scripts Add file pattern and recursive directory processing fix_xml_indentations.py 2025-04-01 20:10:26 +03:00
.clang-format More changes to Clang-Format to match the current coding standard (#2375) 2024-08-21 19:46:49 +03:00
.editorconfig Add editorconfig 2024-05-01 08:23:35 -07:00
.git-blame-ignore-revs add some more whitespace commits to .git-blame-ignore-revs 2024-09-18 20:04:24 -07:00
.gitattributes Protect NSIS scripts from eol-style translations. (#1556) 2024-05-23 11:23:50 -07:00
.gitignore Merge branch 'main' into DRTVWR-489 2023-12-15 07:06:15 +02:00
.pre-commit-config.yaml Update pre-commit hook to v5.0.0 (#4093) 2025-05-16 20:46:18 +03:00
CONTRIBUTING.md Add "what to work on" to CONTRIBUTING.md (#4422) 2025-07-26 11:29:24 -07:00
LICENSE Renamed LICENSE.txt to follow naming scheme of other repos 2022-11-18 17:10:03 -05:00
README.md Add a basic CONTRIBUTING.md 2024-01-26 23:58:47 -08:00
autobuild.xml #4470 Temporarily disable Discord SDK 2025-08-06 14:39:11 +03:00
build.sh remove dead code in build.sh 2024-09-19 12:02:57 -07:00
buildscripts_support_functions SL-18837: Get buildscripts_support_functions from sling-buildscripts 2023-06-28 16:58:32 -04:00

README.md

Second Life Logo

Second Life is a free 3D virtual world where users can create, connect and chat with others from around the world. This repository contains the source code for the official client.

Open Source

Second Life provides a huge variety of tools for expression, content creation, socialization and play. Its vibrancy is only possible because of input and contributions from its residents. The client codebase has been open source since 2007 and is available under the LGPL license. The Open Source Portal contains additional information about Linden Lab's open source history and projects.

Download

Most people use a pre-built viewer release to access Second Life. Windows and macOS builds are published on the official website. More experimental viewers, such as release candidates and project viewers, are detailed on the Alternate Viewers page.

Third Party Viewers

Third party maintained forks, which include Linux compatible builds, are indexed in the Third Party Viewer Directory.

Build Instructions

Windows

Mac

Linux

Contribute

Help make Second Life better! You can get involved with improvements by filing bugs, suggesting enhancements, submitting pull requests and more. See the CONTRIBUTING and the open source portal for details.