MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / loadConfig

Method loadConfig

modules/cleanup/cleanup.go:72–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70}
71
72func (c *CleanupModule) loadConfig() {
73
74 if experienceValue, ok := c.plug.Config.Get("ExperienceValue").(int); ok {
75 c.DefaultTrashExperienceValue = experienceValue
76 }
77
78}
79
80func (c *CleanupModule) userTrashCommand(rest string, user *users.UserRecord, room *rooms.Room, flags events.EventFlag) (bool, error) {
81

Callers 1

userTrashCommandMethod · 0.95

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected