mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
* Make it more obvious that there is an enabled switch for chat in OpenSim.ini.example.
* Add default information for other chat settings
This commit is contained in:
@@ -170,7 +170,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
|
||||
case ChatSourceType.Agent:
|
||||
if (!(scene is Scene))
|
||||
{
|
||||
m_log.WarnFormat("[CHAT] scene {0} is not a Scene object, cannot obtain scene presence for {1}",
|
||||
m_log.WarnFormat("[CHAT]: scene {0} is not a Scene object, cannot obtain scene presence for {1}",
|
||||
scene.RegionInfo.RegionName, c.Sender.AgentId);
|
||||
return;
|
||||
}
|
||||
@@ -191,7 +191,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
|
||||
if (message.Length >= 1000) // libomv limit
|
||||
message = message.Substring(0, 1000);
|
||||
|
||||
// m_log.DebugFormat("[CHAT] DCTA: fromID {0} fromName {1}, cType {2}, sType {3}", fromID, fromName, c.Type, sourceType);
|
||||
// m_log.DebugFormat("[CHAT]: DCTA: fromID {0} fromName {1}, cType {2}, sType {3}", fromID, fromName, c.Type, sourceType);
|
||||
|
||||
foreach (Scene s in m_scenes)
|
||||
{
|
||||
|
||||
@@ -296,8 +296,16 @@ InterregionComms = "RESTComms"
|
||||
|
||||
|
||||
[Chat]
|
||||
; Controls whether the chat module is enabled. Default is true.
|
||||
enabled = true;
|
||||
|
||||
; Distance in meters that whispers should travel. Default is 10m
|
||||
whisper_distance = 10
|
||||
|
||||
; Distance in meters that ordinary chat should travel. Default is 30m
|
||||
say_distance = 30
|
||||
|
||||
; Distance in meters that shouts should travel. Default is 100m
|
||||
shout_distance = 100
|
||||
|
||||
|
||||
@@ -988,4 +996,4 @@ InterregionComms = "RESTComms"
|
||||
active_trees = false
|
||||
|
||||
; Density of tree population
|
||||
tree_density = 1000.0
|
||||
tree_density = 1000.0
|
||||
|
||||
Reference in New Issue
Block a user