Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Open Simulator Technical Help
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
OpenSimulator Internals/Code Map/ROBUST/LoginService
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Constructor and Config Loading === LLLoginService(IConfigSource config, ISimulationService simService, ILibraryService libraryService) [LoginService] section is required -- throws if absent. Services loaded from [LoginService]: {| class="wikitable" ! Key !! Interface !! Required |- | UserAccountService || IUserAccountService || Yes -- throws if empty |- | AuthenticationService || IAuthenticationService || Yes -- throws if empty |- | GridUserService || IGridUserService || No |- | UserAgentService || IUserAgentService || No |- | InventoryService || IInventoryService || No |- | GridService || IGridService || No |- | PresenceService || IPresenceService || No |- | AvatarService || IAvatarService || No |- | FriendsService || IFriendsService || No |- | SimulationService || ISimulationService || No -- remote connector |- | LibraryService || ILibraryService || No |- | HGInventoryServicePlugin || IInventoryService || No -- HG suitcase only |} AuthenticationService receives (config, IUserAccountService) as constructor args -- the only service that gets a second argument. simService and libraryService may be passed directly as arguments (used by standalone mode); if null, the service loads them from config. Additional config read: {| class="wikitable" ! Section !! Key !! Default !! Notes |- | [LoginService] || WelcomeMessage || "Welcome to OpenSim!" || Overridden by MessageUrl if fetch succeeds |- | [LoginService] || MessageUrl || (none) || URL to fetch welcome message from at startup |- | [LoginService] || RequireInventory || true || Fail login if inventory unavailable |- | [LoginService] || AllowRemoteSetLoginLevel || false || Allow SetLevel via HTTP |- | [LoginService] || MinLoginLevel || 0 || Minimum UserLevel to permit login |- | [LoginService] || GatekeeperURI || (none) || Also checked in [Startup] and [Hypergrid] |- | [LoginService] || MapTileURL || (none) || |- | [LoginService] || ProfileServerURL || (none) || |- | [LoginService] || OpenIDServerURL || (none) || |- | [LoginService] || SearchURL || (none) || |- | [LoginService] || Currency || (none) || |- | [LoginService] || ClassifiedFee || (none) || |- | [LoginService] || DestinationGuide || (none) || |- | [LoginService] || AvatarPicker || (none) || |- | [LoginService] || AllowLoginFallbackToAnyRegion || true || Legacy: try any online region if no default/fallback found |- | [LoginService] || DSTZone || "America/Los_Angeles;Pacific Standard Time" || |- | [AccessControl] or [LoginService] || AllowedClients || (none) || Regex matched against viewer string |- | [AccessControl] or [LoginService] || DeniedClients || (none) || Regex matched against viewer string |- | [AccessControl] or [LoginService] || DeniedMacs || (none) || Substring-matched against MAC |- | [AccessControl] or [LoginService] || DeniedID0s || (none) || Substring-matched against id0 |- | [Groups] || MaxAgentGroups || Constants.MaxAgentGroups || Max groups per avatar |- | [PresenceService] || AllowDuplicatePresences || false || If false, kick existing session on duplicate login |- | [Messaging] || MessageKey || (none) || Auth key for InstantMessage service |} WelcomeMessage priority: MessageUrl fetch (if configured and succeeds) overrides WelcomeMessage. If MessageUrl is configured but fetch fails, falls back to WelcomeMessage. "\n" in the message is replaced with a real newline. SRV_ keys in [LoginService] override service URLs in AgentCircuitData and update the UserAccount record in the database if the value has changed. Console commands registered once (static Initialized flag): * login level <n> -- sets MinLoginLevel * login reset -- resets MinLoginLevel to config value * login text <text> -- sets welcome message ----
Summary:
Please note that all contributions to Open Simulator Technical Help may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Open Simulator Technical Help:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
OpenSimulator Internals/Code Map/ROBUST/LoginService
(section)
Add topic