增加GM命令
This commit is contained in:
parent
61b4fe2c4e
commit
db9fb4ad85
@ -406,6 +406,10 @@ func ReqGmCommand_(player *Player, Command string) error {
|
||||
},
|
||||
}, 2)
|
||||
player.PushClientRes(MailMod.BackData())
|
||||
case "resetNpc":
|
||||
FriendMod := player.PlayMod.getFriendMod()
|
||||
FriendMod.Npc = []int{}
|
||||
FriendListBackData(player)
|
||||
case "recoverUser":
|
||||
file, err := os.OpenFile(conf.Server.GameConfPath+"user.info", os.O_RDWR|os.O_CREATE, 0666)
|
||||
if err != nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user