Пример #1
0
        private void Hooks_OnPlayerConnected(Fougerite.Player player)
        {
            string vip, ch;

            vip = Vip.GetVip(player.SteamID);
            ch  = Vip.GetCH(vip);
            if (int.Parse(vip) > 0)
            {
                Fougerite.Server.GetServer().BroadcastNotice("剑客:" + player.Name + "苏醒" + "|剑级【" + ch + "】");
            }
            else
            {
                Fougerite.Server.GetServer().Broadcast("剑客:" + player.Name + "苏醒" + "|剑级【" + ch + "】");
            }
        }
Пример #2
0
        public static void vipyf(Fougerite.Player player)
        {
            string playervip = Vip.GetVip(player.SteamID);

            if (playervip == "0")
            {
                player.Message("您未充值VIP,隐身衣的领取下限为VIP4");
                return;
            }
            else if (playervip == "1")
            {
                player.Message("您的VIP权限不足,隐身衣的领取下限为VIP4");
                return;
            }
            else if (playervip == "2")
            {
                player.Message("您的VIP权限不足,隐身衣的领取下限为VIP4");
                return;
            }
            else if (playervip == "3")
            {
                player.Message("您的VIP权限不足,隐身衣的领取下限为VIP4");
                return;
            }
            else if (playervip == "4")
            {
                player.Inventory.AddItem("Invisible Boots", 1);
            }
            else if (playervip == "5")
            {
                player.Inventory.AddItem("Invisible Pants", 1);
            }
            else if (playervip == "6")
            {
                player.Inventory.AddItem("Invisible Vest", 1);
            }
            else if (playervip == "7")
            {
                player.Inventory.AddItem("Invisible Helmet", 1);
            }
            else if (playervip == "8")
            {
                player.Inventory.AddItem("Invisible Boots", 1);
                player.Inventory.AddItem("Invisible Helmet", 1);
            }
            else if (playervip == "9")
            {
                player.Inventory.AddItem("Invisible Pants", 1);
                player.Inventory.AddItem("Invisible Helmet", 1);
            }
            else if (playervip == "10")
            {
                player.Message("您的VIP权限不足,隐身衣的领取下限为VIP4");
                return;
            }
            else
            {
                player.Message("您未充值VIP,无法领取,欢迎您赞助服务器=-=!");
            }
            player.Message("领取成功");
        }
Пример #3
0
        public static void vip(Fougerite.Player player)
        {
            temp = ds.Get("vip", player.SteamID);
            string playervip = Vip.GetVip(player.SteamID);

            if (playervip == "0")
            {
                player.Message("您未充值VIP,无法领取,欢迎您赞助服务器=-=!");
                return;
            }
            else if (Vip.VipSure(player.SteamID) == false)
            {
                player.Message("您VIP已经到期,无法领取,欢迎您续费,赞助服务器=-=!Tip:感谢您之前对服务器的支持!(比心心)");
                return;
            }
            else if (temp != null)
            {
                timeSpan = DateTime.Now - (DateTime)temp;
                if ((int)timeSpan.TotalSeconds <= vipcd)
                {
                    player.Message("您还需要" + (vipcd - (int)timeSpan.TotalSeconds) + "秒方可再次领取");
                    return;
                }
            }
            ds.Add("vip", player.SteamID, DateTime.Now);
            if (playervip == "1")
            {
                player.Inventory.AddItem("Raw Chicken Breast", 250);
                player.Inventory.AddItem("Metal Fragments", 250);
                player.Inventory.AddItem("Large Medkit", 5);
                player.Inventory.AddItem("Wood Planks", 100);
                player.Inventory.AddItem("Gunpowder", 50);
                player.Inventory.AddItem("Rad Suit Helmet", 1);
                player.Inventory.AddItem("Rad Suit Vest", 1);
                player.Inventory.AddItem("Rad Suit Pants", 1);
                player.Inventory.AddItem("Rad Suit Boots", 1);
                player.Inventory.AddItem("P250", 1);
                player.Inventory.AddItem("MP5A4", 1);
                player.Inventory.AddItem("9mm Ammo", 250);
                Money.AddMoney(player, 100);
            }
            else if (playervip == "2")
            {
                player.Inventory.AddItem("Raw Chicken Breast", 250);
                player.Inventory.AddItem("Metal Fragments", 500);
                player.Inventory.AddItem("Large Medkit", 10);
                player.Inventory.AddItem("Wood Planks", 600);
                player.Inventory.AddItem("Gunpowder", 100);
                player.Inventory.AddItem("Rad Suit Helmet", 1);
                player.Inventory.AddItem("Rad Suit Vest", 1);
                player.Inventory.AddItem("Rad Suit Pants", 1);
                player.Inventory.AddItem("Rad Suit Boots", 1);
                player.Inventory.AddItem("Shotgun", 1);
                player.Inventory.AddItem("P250", 1);
                player.Inventory.AddItem("MP5A4", 1);
                player.Inventory.AddItem("9mm Ammo", 250);
                player.Inventory.AddItem("Shotgun Shells", 100);
                player.Inventory.AddItem("Holo sight", 1);
                Money.AddMoney(player, 200);
            }
            else if (playervip == "3")
            {
                player.Inventory.AddItem("Low Quality Metal", 30);
                player.Inventory.AddItem("Large Medkit", 20);
                player.Inventory.AddItem("Wood Planks", 700);
                player.Inventory.AddItem("Metal Door", 3);
                player.Inventory.AddItem("Research Kit 1", 2);
                player.Inventory.AddItem("Gunpowder", 150);
                player.Inventory.AddItem("Rad Suit Helmet", 1);
                player.Inventory.AddItem("Rad Suit Vest", 1);
                player.Inventory.AddItem("Rad Suit Pants", 1);
                player.Inventory.AddItem("Rad Suit Boots", 1);
                player.Inventory.AddItem("F1 Grenade", 10);
                player.Inventory.AddItem("Shotgun", 1);
                player.Inventory.AddItem("M4", 1);
                player.Inventory.AddItem("P250", 1);
                player.Inventory.AddItem("MP5A4", 1);
                player.Inventory.AddItem("9mm Ammo", 250);
                player.Inventory.AddItem("556 Ammo", 250);
                player.Inventory.AddItem("Shotgun Shells", 100);
                player.Inventory.AddItem("Holo sight", 1);
                player.Inventory.AddItem("Laser Sight", 1);
                player.Inventory.AddItem("Silencer", 1);
                player.Inventory.AddItem("Flashlight Mod", 1);
                Money.AddMoney(player, 300);
            }
            else if (playervip == "4")
            {
                player.Inventory.AddItem("Low Quality Metal", 150);
                player.Inventory.AddItem("Large Medkit", 30);
                player.Inventory.AddItem("Wood Planks", 700);
                player.Inventory.AddItem("Metal Door", 5);
                player.Inventory.AddItem("Research Kit 1", 2);
                player.Inventory.AddItem("Gunpowder", 300);
                player.Inventory.AddItem("Leather Helmet", 1);
                player.Inventory.AddItem("Leather Vest", 1);
                player.Inventory.AddItem("Leather Pants", 1);
                player.Inventory.AddItem("Leather Boots", 1);
                player.Inventory.AddItem("F1 Grenade", 20);
                player.Inventory.AddItem("Shotgun", 1);
                player.Inventory.AddItem("M4", 1);
                player.Inventory.AddItem("P250", 1);
                player.Inventory.AddItem("MP5A4", 1);
                player.Inventory.AddItem("9mm Ammo", 400);
                player.Inventory.AddItem("556 Ammo", 400);
                player.Inventory.AddItem("Shotgun Shells", 200);
                player.Inventory.AddItem("Holo sight", 1);
                player.Inventory.AddItem("Laser Sight", 1);
                player.Inventory.AddItem("Silencer", 1);
                player.Inventory.AddItem("Flashlight Mod", 1);
                Money.AddMoney(player, 400);
            }
            else if (playervip == "5")
            {
                player.Inventory.AddItem("Low Quality Metal", 200);
                player.Inventory.AddItem("Large Medkit", 50);
                player.Inventory.AddItem("Wood Planks", 700);
                player.Inventory.AddItem("Metal Door", 10);
                player.Inventory.AddItem("Research Kit 1", 2);
                player.Inventory.AddItem("Gunpowder", 500);
                player.Inventory.AddItem("Kevlar Helmet", 1);
                player.Inventory.AddItem("Kevlar Vest", 1);
                player.Inventory.AddItem("Kevlar Pants", 1);
                player.Inventory.AddItem("Kevlar Boots", 1);
                player.Inventory.AddItem("F1 Grenade", 30);
                player.Inventory.AddItem("Shotgun", 1);
                player.Inventory.AddItem("M4", 1);
                player.Inventory.AddItem("Bolt Action Rifle", 1);
                player.Inventory.AddItem("P250", 1);
                player.Inventory.AddItem("MP5A4", 1);
                player.Inventory.AddItem("9mm Ammo", 400);
                player.Inventory.AddItem("556 Ammo", 400);
                player.Inventory.AddItem("Shotgun Shells", 200);
                player.Inventory.AddItem("Holo sight", 1);
                player.Inventory.AddItem("Laser Sight", 1);
                player.Inventory.AddItem("Silencer", 1);
                Money.AddMoney(player, 500);
            }
            else if (playervip == "6")
            {
                player.Inventory.AddItem("Low Quality Metal", 300);
                player.Inventory.AddItem("Large Medkit", 50);
                player.Inventory.AddItem("Wood Planks", 700);
                player.Inventory.AddItem("Metal Door", 20);
                player.Inventory.AddItem("Research Kit 1", 10);
                player.Inventory.AddItem("Gunpowder", 500);
                player.Inventory.AddItem("Kevlar Helmet", 1);
                player.Inventory.AddItem("Kevlar Vest", 1);
                player.Inventory.AddItem("Kevlar Pants", 1);
                player.Inventory.AddItem("Kevlar Boots", 1);
                player.Inventory.AddItem("F1 Grenade", 50);
                player.Inventory.AddItem("Shotgun", 1);
                player.Inventory.AddItem("M4", 1);
                player.Inventory.AddItem("Bolt Action Rifle", 1);
                player.Inventory.AddItem("P250", 1);
                player.Inventory.AddItem("MP5A4", 1);
                player.Inventory.AddItem("9mm Ammo", 500);
                player.Inventory.AddItem("556 Ammo", 500);
                player.Inventory.AddItem("Shotgun Shells", 300);
                player.Inventory.AddItem("Holo sight", 1);
                player.Inventory.AddItem("Laser Sight", 1);
                player.Inventory.AddItem("Silencer", 1);
                player.Inventory.AddItem("Explosive Charge", 1);
                Money.AddMoney(player, 600);
            }
            else if (playervip == "7")
            {
                player.Inventory.AddItem("Low Quality Metal", 400);
                player.Inventory.AddItem("Large Medkit", 100);
                player.Inventory.AddItem("Wood Planks", 750);
                player.Inventory.AddItem("Metal Door", 50);
                player.Inventory.AddItem("Research Kit 1", 3);
                player.Inventory.AddItem("Gunpowder", 500);
                player.Inventory.AddItem("Kevlar Helmet", 1);
                player.Inventory.AddItem("Kevlar Vest", 1);
                player.Inventory.AddItem("Kevlar Pants", 1);
                player.Inventory.AddItem("Kevlar Boots", 1);
                player.Inventory.AddItem("F1 Grenade", 80);
                player.Inventory.AddItem("Shotgun", 1);
                player.Inventory.AddItem("M4", 1);
                player.Inventory.AddItem("Bolt Action Rifle", 1);
                player.Inventory.AddItem("P250", 1);
                player.Inventory.AddItem("MP5A4", 1);
                player.Inventory.AddItem("9mm Ammo", 500);
                player.Inventory.AddItem("556 Ammo", 500);
                player.Inventory.AddItem("Shotgun Shells", 400);
                player.Inventory.AddItem("Holo sight", 1);
                player.Inventory.AddItem("Laser Sight", 1);
                player.Inventory.AddItem("Silencer", 1);
                player.Inventory.AddItem("Flashlight Mod", 1);
                player.Inventory.AddItem("Explosive Charge", 3);
                Money.AddMoney(player, 700);
            }
            else if (playervip == "8")
            {
                player.Inventory.AddItem("Low Quality Metal", 500);
                player.Inventory.AddItem("Large Medkit", 200);
                player.Inventory.AddItem("Wood Planks", 750);
                player.Inventory.AddItem("Metal Door", 100);
                player.Inventory.AddItem("Research Kit 1", 3);
                player.Inventory.AddItem("Gunpowder", 500);
                player.Inventory.AddItem("Kevlar Helmet", 1);
                player.Inventory.AddItem("Kevlar Vest", 1);
                player.Inventory.AddItem("Kevlar Pants", 1);
                player.Inventory.AddItem("Kevlar Boots", 1);
                player.Inventory.AddItem("F1 Grenade", 100);
                player.Inventory.AddItem("Shotgun", 1);
                player.Inventory.AddItem("M4", 1);
                player.Inventory.AddItem("Bolt Action Rifle", 1);
                player.Inventory.AddItem("P250", 1);
                player.Inventory.AddItem("MP5A4", 1);
                player.Inventory.AddItem("9mm Ammo", 500);
                player.Inventory.AddItem("556 Ammo", 500);
                player.Inventory.AddItem("Shotgun Shells", 500);
                player.Inventory.AddItem("Holo sight", 1);
                player.Inventory.AddItem("Laser Sight", 1);
                player.Inventory.AddItem("Silencer", 1);
                player.Inventory.AddItem("Flashlight Mod", 1);
                player.Inventory.AddItem("Explosive Charge", 5);
                Money.AddMoney(player, 800);
            }
            else if (playervip == "9")
            {
                player.Inventory.AddItem("Low Quality Metal", 700);
                player.Inventory.AddItem("Large Medkit", 250);
                player.Inventory.AddItem("Wood Planks", 750);
                player.Inventory.AddItem("Metal Door", 250);
                player.Inventory.AddItem("Research Kit 1", 4);
                player.Inventory.AddItem("Gunpowder", 500);
                player.Inventory.AddItem("Kevlar Helmet", 1);
                player.Inventory.AddItem("Kevlar Vest", 1);
                player.Inventory.AddItem("Kevlar Pants", 1);
                player.Inventory.AddItem("Kevlar Boots", 1);
                player.Inventory.AddItem("F1 Grenade", 250);
                player.Inventory.AddItem("Shotgun", 1);
                player.Inventory.AddItem("M4", 1);
                player.Inventory.AddItem("Bolt Action Rifle", 1);
                player.Inventory.AddItem("P250", 1);
                player.Inventory.AddItem("MP5A4", 1);
                player.Inventory.AddItem("9mm Ammo", 500);
                player.Inventory.AddItem("556 Ammo", 500);
                player.Inventory.AddItem("Shotgun Shells", 500);
                player.Inventory.AddItem("Holo sight", 1);
                player.Inventory.AddItem("Laser Sight", 1);
                player.Inventory.AddItem("Silencer", 1);
                player.Inventory.AddItem("Flashlight Mod", 1);
                player.Inventory.AddItem("Explosive Charge", 10);
                Money.AddMoney(player, 900);
            }
            else if (playervip == "10")
            {
                player.Inventory.AddItem("Raw Chicken Breast", 20);
                player.Inventory.AddItem("Metal Fragments", 500);
                player.Inventory.AddItem("Large Medkit", 10);
                player.Inventory.AddItem("Wood Planks", 600);
                player.Inventory.AddItem("Gunpowder", 100);
                player.Inventory.AddItem("Rad Suit Helmet", 1);
                player.Inventory.AddItem("Rad Suit Vest", 1);
                player.Inventory.AddItem("Rad Suit Pants", 1);
                player.Inventory.AddItem("Rad Suit Boots", 1);
                player.Inventory.AddItem("Shotgun", 1);
                player.Inventory.AddItem("P250", 1);
                player.Inventory.AddItem("MP5A4", 1);
                player.Inventory.AddItem("9mm Ammo", 250);
                player.Inventory.AddItem("Shotgun Shells", 100);
                player.Inventory.AddItem("Holo sight", 1);
                player.Inventory.AddItem("Laser Sight", 1);
                player.Inventory.AddItem("Silencer", 1);
                player.Inventory.AddItem("Flashlight Mod", 1);
                Money.AddMoney(player, 1000);
            }
            player.Message("工资领取成功");
            player.Message("服装领取成功");
            player.Message("武器领取成功");
            player.Message("物资领取成功");
        }
Пример #4
0
        private void Hooks_OnCommand(Fougerite.Player player, string cmd, string[] args)
        {
            if (cmd == "who")
            {
                Who.opbjectWho(player);
            }
            else if (cmd == "cvip")
            {
                if (player.Admin)
                {
                    if (args.Length == 2)
                    {
                        Fougerite.Player player1 = Fougerite.Player.FindByName(args[0]);
                        if (player1 == null)
                        {
                            player.Message("查询无果,找不到此玩家");
                            return;
                        }
                        else
                        {
                            Vip.SetVip(args[1], player1.SteamID);
                            player.Message("充值成功");
                            player1.Message("恭喜您充值成功!非常感谢您对服务器的支持![比心心]");
                            string cmdText;
                            cmdText = string.Concat(new string[] {
                                "恭喜玩家",
                                player1.Name,
                                "成功充值VIP",
                                args[1],
                                "突破[",
                                Vip.GetCH(args[1]),
                                "]"
                            });
                            Fougerite.Server.GetServer().BroadcastNotice(cmdText);
                        }
                    }
                    else
                    {
                        player.Message("您输入有误[/cvip 玩家名 等级]");
                    }
                }
            }
            else if (cmd == "svip")
            {
                if (player.Admin)
                {
                    if (args.Length == 2)
                    {
                        Fougerite.Player player1 = Fougerite.Player.FindByName(args[0]);
                        if (player1 == null)
                        {
                            player.Message("查询无果,找不到此玩家");
                            return;
                        }
                        else
                        {
                            Vip.SetVip(args[1], player1.SteamID);
                            player.Message("设置成功");
                        }
                    }
                    else
                    {
                        player.Message("您输入有误[/cvip 玩家名 等级]");
                    }
                }
            }
            else if (cmd == "kit")
            {
                string kitlist = string.Concat(new string[] {
                    "starter[小礼包]❀",
                    "xklb[小康礼包]❀",
                    "vip[VIP大礼包]❀",
                    "vipyf[VIP隐身衣]"
                });
                if (args.Length == 0)
                {
                    player.Message(kitlist);
                }
                else if (args.Length == 1)
                {
                    if (args[0] == "starter")
                    {
                        Kit.starter(player);
                    }
                    else if (args[0] == "xklb")
                    {
                        Kit.xklb(player);
                    }
                    else if (args[0] == "vip")
                    {
                        Kit.vip(player);
                    }
                    else if (args[0] == "vipyf")
                    {
                        Kit.vipyf(player);
                    }
                }
            }
            else if (cmd == "vipsearch")
            {
                if (args.Length == 0)
                {
                    Vip.Vipsearch(player);
                }
                if (args.Length == 1)
                {
                    Vip.Vipsearch(Fougerite.Player.FindByName(args[0]));
                }
            }
            else if (cmd == "remove")
            {
                if (args.Length == 0)
                {
                    Kit.remove(player, player.Name);
                }
                if (args.Length == 1)
                {
                    Kit.remove(player, args[0]);
                }
            }
            else if (cmd == "fps")
            {
                NetUser Sender = NetUser.FindByUserID(player.UID);
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "gfx.ssaa false");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "gfx.ssao false");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "gfx.bloom false");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "gfx.grain false");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "gfx.shafts false");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "gfx.tonemap false");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "grass.on false");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "grass.forceredraw false");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "grass.displacement false");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "grass.shadowcast false");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "grass.shadowreceive false");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "render.level 0");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "render.vsync false");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "water.level -1");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "water.reflection false");
                player.Notice("优化完毕");
            }
            else if (cmd == "quality")
            {
                NetUser Sender = NetUser.FindByUserID(player.UID);
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "gfx.ssaa true");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "gfx.ssao true");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "gfx.bloom true");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "gfx.grain true");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "gfx.shafts true");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "gfx.tonemap true");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "grass.on true");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "grass.forceredraw true");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "grass.displacement true");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "grass.shadowcast true");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "grass.shadowreceive true");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "render.level 1");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "render.vsync true");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "water.level 1");
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "water.reflection true");
                player.Notice("成功开启最高特效");
            }
            else if (cmd == "suicide")
            {
                NetUser Sender = NetUser.FindByUserID(player.UID);
                ConsoleNetworker.SendClientCommand(Sender.networkPlayer, "suicide");
            }
            else if (cmd == "dvip")
            {
                if (args.Length == 1)
                {
                    if (args[0] == "1")
                    {
                        if (Money.HasMoney(player, 1000))
                        {
                            Money.RemoveMoney(player, 1000);
                            Vip.SetVip(args[0], player.SteamID);
                            player.Message("恭喜您充值成功!非常感谢您对服务器的支持![比心心]");
                            string cmdText;
                            cmdText = string.Concat(new string[] {
                                "恭喜玩家",
                                player.Name,
                                "成功充值VIP",
                                args[0],
                                "突破[",
                                Vip.GetCH(args[0]),
                                "]"
                            });
                            Fougerite.Server.GetServer().BroadcastNotice(cmdText);
                        }
                        else
                        {
                            player.Message("抱歉,您的斩仙币不足");
                        }
                    }
                    else if (args[0] == "2")
                    {
                        if (Money.HasMoney(player, 2000))
                        {
                            Money.RemoveMoney(player, 2000);
                            Vip.SetVip(args[0], player.SteamID);
                            player.Message("恭喜您充值成功!非常感谢您对服务器的支持![比心心]");
                            string cmdText;
                            cmdText = string.Concat(new string[] {
                                "恭喜玩家",
                                player.Name,
                                "成功充值VIP",
                                args[0],
                                "突破[",
                                Vip.GetCH(args[0]),
                                "]"
                            });
                            Fougerite.Server.GetServer().BroadcastNotice(cmdText);
                        }
                        else
                        {
                            player.Message("抱歉,您的斩仙币不足");
                        }
                    }
                    else if (args[0] == "3")
                    {
                        if (Money.HasMoney(player, 3000))
                        {
                            Money.RemoveMoney(player, 3000);
                            Vip.SetVip(args[0], player.SteamID);
                            player.Message("恭喜您充值成功!非常感谢您对服务器的支持![比心心]");
                            string cmdText;
                            cmdText = string.Concat(new string[] {
                                "恭喜玩家",
                                player.Name,
                                "成功充值VIP",
                                args[0],
                                "突破[",
                                Vip.GetCH(args[0]),
                                "]"
                            });
                            Fougerite.Server.GetServer().BroadcastNotice(cmdText);
                        }
                        else
                        {
                            player.Message("抱歉,您的斩仙币不足");
                        }
                    }
                }
                else
                {
                    player.Message("输入/dvip+空格+等级即可兑换(目前最高为3级)");
                    player.Message("VIP1-1000斩仙币");
                    player.Message("VIP2-2000斩仙币");
                    player.Message("VIP3-3000斩仙币");
                }
            }

            /*else if (cmd == "changeowner")
             * {
             *   if (player.Admin)
             *   {
             *       if (args.Length == 2)
             *       {
             *           Fougerite.Player player1 = Fougerite.Player.FindBySteamID(args[0]);
             *           if (player1 != null)
             *           {
             *               foreach (Fougerite.Entity ob in Fougerite.World.GetWorld().Entities)
             *               {
             *                   if (ob.OwnerID == args[1]) ob.ChangeOwner(player1);
             *               }
             *               player.Message("更改成功");
             *           }
             *           else player.Message("找不到玩家");
             *       }
             *       else player.Message("您输入有误");
             *   }
             * }  */
        }