Intialize environment
This commit is contained in:
14
server/plugins/world_rpc/world_rpc.go
Normal file
14
server/plugins/world_rpc/world_rpc.go
Normal file
@ -0,0 +1,14 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"database/sql"
|
||||
|
||||
"github.com/heroiclabs/nakama-common/runtime"
|
||||
)
|
||||
|
||||
func InitModule(ctx context.Context, logger runtime.Logger, db *sql.DB, nk runtime.NakamaModule, initializer runtime.Initializer) error {
|
||||
logger.Info("Loaded World RPC plugin!")
|
||||
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user