This directory contains example applications demonstrating various features of the LibreMetaverse library.
Perfect for learning the basics:
A simple bot that responds to instant messages and can perform basic avatar actions.
Features:
- Instant message handling
- Avatar actions (sit, stand, dance, fly, jump)
- Chat responses
- Command system
Learn: Event handling, avatar control, async patterns
Inspect primitive objects in the world and view their properties.
Features:
- Object discovery
- Detailed primitive properties
- Search by name
- Distance-based filtering
Learn: Object system, Primitive class, property inspection
Explore, search, and export inventory data.
Features:
- Inventory navigation
- Search and filtering
- Statistics
- Export to text file
Learn: Inventory system, asset types, tree traversal
Logs all network packets received from the simulator.
Learn: Low-level network protocol, packet handling
Bridges Second Life chat with IRC channels.
Learn: Multi-protocol integration, chat systems
A comprehensive command-line client with many features.
Learn: Complete client implementation, advanced features
All examples target .NET 8.0 and .NET 9.0 and can be built with:
# Build a specific example
dotnet build PrimInspector/PrimInspector.csproj
# Or build all examples at once from solution root
dotnet buildAfter building, navigate to the output directory:
cd PrimInspector/bin/Release/net8.0/
dotnet PrimInspector.dll [arguments]Or run directly from the project directory:
cd PrimInspector
dotnet run -- [arguments]All examples demonstrate:
- ? Async/await login
- ? Event-driven architecture
- ? Proper error handling
- ? Clean resource disposal
- ? Timeout handling
?? Never hardcode credentials in your applications. All examples accept credentials as command-line arguments for demonstration purposes only. In production:
- Use secure credential storage
- Consider OAuth or token-based auth where available
- Never commit credentials to source control
Want to add an example? Great! Please ensure:
- Clear README explaining the example
- Well-commented code
- Targets .NET 8.0/9.0
- Follows existing patterns
- Demonstrates one or two concepts clearly
- Check individual example READMEs
- Review the main documentation
- Visit the GitHub repository
- Ask in the LibreMetaverse community
Looking to contribute? Here are some example ideas:
- Group chat manager
- Teleport utility
- Friend list manager
- Estate management tool
- Texture downloader
- Script compiler
- Voice chat demo
- Region monitoring tool