コード例 #1
0
ファイル: RegionProtect.cs プロジェクト: bbf/TOSP
 private void PrintCommandUsage(Player player)
 {
     WisperPlayer(player, String.Format(" Version {0} by {1} - Help:", pluginVersion, pluginAuthor));
     //WisperPlayer(player, "* /region help - shows this help"); // Too Obvious?
     WisperPlayer(player, "* /region create - creates your protected region");
     WisperPlayer(player, "* /region cancel - cancel the region creation/inspection");
     WisperPlayer(player, "* /region delete - deletes your protected region");
     WisperPlayer(player, "* /region list - list members of your region");
     WisperPlayer(player, "* /region invite <name> - invites player to your region");
     WisperPlayer(player, "* /region ban <name> - bans player from your region");
     if (player.hasPermissions(PERMISSION_ADMIN))
     {
         // TODO:
         //WisperPlayer(player, "* /region inspect - inspect a region for owners (admin)");
         //WisperPlayer(player, "* /region screate <region name> - creates a server protected region (admin)");
         //WisperPlayer(player, "* /region sdelete <region name> - deletes a server protected region (admin)");
         //WisperPlayer(player, "* /region slist <region name> - list members of a server protected region (admin)");
         //WisperPlayer(player, "* /region sinvite <region name> <name> - invites players to a server protected region (admin)");
         //WisperPlayer(player, "* /region sban <name> - bans player from a server protected region (admin)");
     }
 }